<commit_before># Uguupload
Uguupload is a program that allows you to upload files to http://uguu.se using the CLI.

It is possible to upload several files at once. See usage section.

Bug reports are very welcome. Same with suggestions.

If you don't want to compile the program, you can download binaries here: https://github.com/dongmaster/uguupload/releases
(Windows 64-bit and Linux 64-bit only available at the moment)

uguu~

![uguu]
(http://i.imgur.com/LRhtsze.jpg)

## Usage
(This help message may or may not be up-to-date.)
(To get the absolutely latest help message: ```./uguupload --help```)

```
Usage: ./uguupload [options] [FILE]

[FILE] is the path to the file you want to upload.

OPTIONS
    -f, --filenames
        Allows you to specify filenames for files.
        See Example 2.
    
    -r, --random
        Gives you random filenames.
        See Example 3.
        
    -R, --recursive
        Uploads everything in a directory.
        See Example 4.

EXAMPLES
    Example 1:
        ./uguupload [FILE]
        ./uguupload foo.txt
        
        You can also upload several files.
        ./uguupload foo.txt bar.txt foobar.txt

    Example 2:
        ./uguupload -f [FILENAME] [FILE]
        ./uguupload -f foo.txt foo.txt bar.txt foo.txt foobar.txt foo.txt
        
        The first argument, foo.txt is the filename and the second argument, foo.txt, is the file and so on.
        bar.txt is the filename and foo.txt is the file. Same for foobar.txt and foo.txt
        
    Example 3:
        ./uguupload -r [FILE]
        ./uguupload -r foo.txt
        
        This will return http://a.uguu.se/asdfghjkl.ext where .ext is the file extension/type
        
    Example 4:
        ./uguupload -R [DIRECTORY]
        This will upload everything in a specified directory. You can add several directories
```

## Dependencies
You need to have [curl](http://curl.haxx.se) installed to use uguupload.

Your package manager (99% sure) has curl. I recommend installing it that way :>.

## Compiling
You need to have [Rust](http://rust-lang.org) installed to compile this. I assume you have cargo installed as well (If you don't, you should just be able to do ```rustc main.rs``` and it should compile).

```
git clone https://github.com/dongmaster/uguupload && cd uguupload && cargo build
```

## Supported platforms
If you can install curl and rust on your system, you can use this.
This has been tested on:
* Windows 7 64-bit
* Linux 64-bit

## Todo and what can be improved
Can the --help message be improved?

Maybe show a progress bar for uploads? Not sure how to do that though.

Stop sending unnecessary requests to uguu (if you try to upload a file that doesn't exist, a request will still be sent).


<commit_msg>Removed a line from the TODO section<commit_after># Uguupload
Uguupload is a program that allows you to upload files to http://uguu.se using the CLI.

It is possible to upload several files at once. See usage section.

Bug reports are very welcome. Same with suggestions.

If you don't want to compile the program, you can download binaries here: https://github.com/dongmaster/uguupload/releases
(Windows 64-bit and Linux 64-bit only available at the moment)

uguu~

![uguu]
(http://i.imgur.com/LRhtsze.jpg)

## Usage
(This help message may or may not be up-to-date.)
(To get the absolutely latest help message: ```./uguupload --help```)

```
Usage: ./uguupload [options] [FILE]

[FILE] is the path to the file you want to upload.

OPTIONS
    -f, --filenames
        Allows you to specify filenames for files.
        See Example 2.
    
    -r, --random
        Gives you random filenames.
        See Example 3.
        
    -R, --recursive
        Uploads everything in a directory.
        See Example 4.

EXAMPLES
    Example 1:
        ./uguupload [FILE]
        ./uguupload foo.txt
        
        You can also upload several files.
        ./uguupload foo.txt bar.txt foobar.txt

    Example 2:
        ./uguupload -f [FILENAME] [FILE]
        ./uguupload -f foo.txt foo.txt bar.txt foo.txt foobar.txt foo.txt
        
        The first argument, foo.txt is the filename and the second argument, foo.txt, is the file and so on.
        bar.txt is the filename and foo.txt is the file. Same for foobar.txt and foo.txt
        
    Example 3:
        ./uguupload -r [FILE]
        ./uguupload -r foo.txt
        
        This will return http://a.uguu.se/asdfghjkl.ext where .ext is the file extension/type
        
    Example 4:
        ./uguupload -R [DIRECTORY]
        This will upload everything in a specified directory. You can add several directories
```

## Dependencies
You need to have [curl](http://curl.haxx.se) installed to use uguupload.

Your package manager (99% sure) has curl. I recommend installing it that way :>.

## Compiling
You need to have [Rust](http://rust-lang.org) installed to compile this. I assume you have cargo installed as well (If you don't, you should just be able to do ```rustc main.rs``` and it should compile).

```
git clone https://github.com/dongmaster/uguupload && cd uguupload && cargo build
```

## Supported platforms
If you can install curl and rust on your system, you can use this.
This has been tested on:
* Windows 7 64-bit
* Linux 64-bit

## Todo and what can be improved
Maybe show a progress bar for uploads? Not sure how to do that though.

Stop sending unnecessary requests to uguu (if you try to upload a file that doesn't exist, a request will still be sent).



{'fraction_non_alphanumeric': 0.0878057685286601, 'fraction_numerical': 0.0065717415115005475, 'mean_word_length': 2.59043250327654, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1581085', 'n_tokens_mistral': 1672, 'n_tokens_neox': 1604, 'n_words': 734}