Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Melyns authored Sep 1, 2023
1 parent 8f5c616 commit c8d9907
Showing 1 changed file with 37 additions and 1 deletion.
38 changes: 37 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,38 @@
# reddit-link-generator
A simple script that generates purely random reddit short URLs.
A simple script that generates purely random reddit short URLs. (Yes most of them redirect to a real post.)

# Usage:
```
reddit-link-generator.exe N
```
Where N represents the number of links you want to generate.

# Modes:
Currently the program has four modes which can be called with a flag `-m` followed by mode number.

- Mode 1: string with lower case charachters only. `-m1`
- Mode 2: string with one number at the beggining and rest is lower case charachters. `-m2`
- Mode 3: string with 10 or 11 at the beggining and rest is lower case charachters. `-m3`
- Mode 4: string with numbers only. `-m4`

By default, mode 1 is selected if the user doesn't explicitly use the `-m` flag.

# Outputs:

```
reddit-link-generator.exe 5
https://reddit.com/cexhlg
https://reddit.com/xmsdbl
https://reddit.com/bknbaj
https://reddit.com/iwkxfp
https://reddit.com/edwmlb
```

```
reddit-link-generator.exe 5 -m3
https://reddit.com/10pxrv
https://reddit.com/11koah
https://reddit.com/10uwie
https://reddit.com/11bbhs
https://reddit.com/11vjaa
```

0 comments on commit c8d9907

Please sign in to comment.