You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
uwuifyy/README.md

162 lines
5.5 KiB
Markdown

3 years ago
# uwuifyy
3 years ago
[![build](https://github.com/sgoudham/uwuifyy/actions/workflows/build.yml/badge.svg)](https://github.com/sgoudham/uwuifyy/actions/workflows/build.yml)
[![crate.io](https://img.shields.io/crates/v/uwuifyy)](https://crates.io/crates/uwuifyy)
[![downloads](https://img.shields.io/crates/d/uwuifyy)](https://crates.io/crates/uwuifyy)
[![license](https://img.shields.io/github/license/sgoudham/uwuifyy)](LICENSE)
> A robust, customizable, efficient and easy-to-use command line application to uwu'ify your text!
>
3 years ago
![](logo/UwUifyy-Transparent-Small.png)
3 years ago
>
3 years ago
> Logo Credits: Jade Nelson
3 years ago
## Table Of Contents
- [uwuifyy](#uwuifyy)
* [About](#about)
* [Features](#features)
* [Installation](#installation)
3 years ago
* [Usage](#usage)
3 years ago
+ [Text Input to Text Output](#text-input-to-text-output)
+ [Text Input to File Output](#text-input-to-file-output)
+ [File Input to File Output](#file-input-to-file-output)
3 years ago
* [Benchmarks](#benchmarks)
3 years ago
+ [The Complete Works of William Shakespeare](#the-complete-works-of-william-shakespeare)
+ [300k+ Tokyo 2020/21 Olympics Tweets](#300k+-tokyo-2020/21-olympics-tweets)
+ [3.5M Tiktok Google Play Reviews](#35m-tiktok-google-play-reviews)
+ [3.6M Amazon Reviews And Ratings](#36m-amazon-reviews-and-ratings)
* [License](#license)
* [Acknowledgement](#acknowledgement)
## About
Have you ever wanted to uwu'ify text and large files at blazing fast speeds? Well! You came to the right
place! `uwuifyy`
allows you to _uwu'ify_ text and files from within your own terminal in an _extremely_ fast manner!
## Features
- [x] Seeded by default to allow for reproducible results
3 years ago
- [x] Excludes URL's & Emails
3 years ago
- [x] UwU'ify files available locally on disk
- [x] Completely customisable modifiers
3 years ago
## Installation
3 years ago
3 years ago
**Binaries will be available soonâ„¢**
3 years ago
3 years ago
If using Rust's package manager, `Cargo`, all that is needed is
3 years ago
```commandline
cargo install uwuifyy
```
3 years ago
If you do not have `Cargo` available on your machine, you can download it as part of
3 years ago
Rust [here](https://www.rust-lang.org/tools/install)
3 years ago
3 years ago
## Usage
3 years ago
3 years ago
```commandline
USAGE:
uwuifyy.exe [OPTIONS] <--text <TEXT>|--infile <FILE>>
OPTIONS:
-t, --text <TEXT> Text to uwu'ify
-i, --infile <FILE> The file to uwu'ify
-o, --outfile <FILE> The file to output uwu'ified text
-w, --words <VALUE> The modifier to determine how many words to be uwu'ified [default: 1]
-f, --faces <VALUE> The modifier for uwu faces e.g hello -> hewwo [default: 0.05]
-a, --actions <VALUE> The modifier for actions e.g *shuffles over* [default: 0.125]
-s, --stutters <VALUE> The modifier for stutters e.g b-baka! [default: 0.225]
-r, --random Flag to enable/disable random uwu'ifying
-h, --help Print help information
-V, --version Print version information
```
3 years ago
3 years ago
### Text Input to Text Output
3 years ago
```commandline
C:\Your\Path\Here> uwuifyy --text "According to all known laws of aviation, there is no way a bee should be able to fly."
> Accowding to aww knyown waws of aviation, thewe xDD is nyo way :3 a bee shouwd be abwe to *screams* fwy.
```
### Text Input to File Output
```commandline
C:\Your\Path\Here> uwuifyy --text "According to all known laws of aviation, there is no way a bee should be able to fly." --outfile your/path/here/outfile.txt
[00:00:00] [############################################################] 104B/104B (0s) UwU'ifying Complete!
```
```text
your/path/here/outfile.txt
-------------------------------------
Accowding to aww knyown waws of aviation, thewe xDD is nyo way :3 a bee shouwd be abwe to *screams* fwy.
```
### File Input to File Output
```text
your/path/here/infile.txt
-------------------------------------
According to all known laws of aviation, there is no way a bee should be able to fly.
```
```commandline
PS D:\Programming\Personal\uwuifyy> uwuifyy --infile your/path/here/infile.txt --outfile your/path/here/outfile.txt
[00:00:00] [############################################################] 85B/85B (0s) UwU'ifying Complete!
```
```text
your/path/here/outfile.txt
-------------------------------------
Accowding to aww knyown waws of aviation, thewe xDD is nyo way :3 a bee shouwd be abwe to *screams* fwy.
```
3 years ago
## Benchmarks
3 years ago
3 years ago
- Benchmarks/Tests carried out on a `Dell XPS 15`
3 years ago
- CPU: `11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz`
- SSD: `NVMe Micron 2300 1TB`
### The Complete Works of William Shakespeare
- [Dataset](https://www.kaggle.com/kewagbln/shakespeareonline)
- Size: `5.46 MiB`
- Time Taken: `1s`
![](examples/gifs/william-shakespeare.gif)
### 300k+ Tokyo 2020/21 Olympics Tweets
- [Dataset](https://www.kaggle.com/amritpal333/tokyo-olympics-2021-tweets)
- Size: `98.54 MiB`
- Time Taken: `8s`
![](examples/gifs/tokyo-2020-olympics-tweets.gif)
### 3.5M Tiktok Google Play Reviews
- [Dataset](https://www.kaggle.com/shivamb/35-million-tiktok-mobile-app-reviews)
- Size: `543.02 MiB`
- TIme Taken: `38s`
![](examples/gifs/tiktok_app_reviews.gif)
### 3.6M Amazon Reviews And Ratings
- [Dataset](https://www.kaggle.com/bittlingmayer/amazonreviews?select=train.ft.txt.bz2)
- Size: `1.6 GiB`
- Time Taken: `2:16m`
- **DISCLAIMER:** The input is a 1.6GB file and the output is a 2GB file. They are not included in the repo.
![](examples/gifs/amazon-ratings-reviews.gif)
## License
[MIT License](LICENSE)
## Acknowledgement
This project is inspired from one of many existing normal to uwu converters:
[Uwuifier](https://github.com/Schotsl/Uwuifier-node)