Update README.md

This commit is contained in:
2026-06-07 11:54:21 +01:00
parent d29a6d2ef5
commit 25d5636313

View File

@@ -2,17 +2,35 @@
## Description ## Description
Litterbox.catbox.moe is a publicaly accessbile temporary file host Litterbox.catbox.moe is a publicly accessible temporary file host
This script interacts with the API to upload a specified file for a specified amount of time This script interacts with the API to upload a specified file for a specified amount of time
## Setup
Place the script somewhere within your path, you can find this by running:
``` bash
echo "$PATH"
```
After this make the script executable:
``` bash
chmod u+x
```
## Usage ## Usage
Place the script in your path, make it executable and type catboxuploader then the name of the file after Type catboxuploader then the name of the file after, for example:
After this input the amount of hours you want the file to be uploaded for (1, 12, 24 or 72) ``` bash
catboxuploader 123.png
```
Finally once the file has uploaded a shareable link to your file will be returned After this you will be prompted to input the amount of hours you want the file to be uploaded for, (1, 12, 24 or 72)
Finally once the file has uploaded a shareable link will be returned in the terminal
``` bash ``` bash
#!/bin/bash #!/bin/bash