Each uploaded file is stored in the "container", which is just a fancy way of saying a folder.
curl -d "FILE OR @DATA" -H "Token: YOUR_TOKEN" -X POST http://"YOUR IP/DOMAIN":1024
- Add support for ratelimiting API requests.
- Add Pushover support.
- Clone this repository to any folder on your computer.
- Run
chmod +x firstrun.sh && ./firstrun.sh
- Edit config.json using this wiki as a guide.
- Edit the template cURL command on
www/index.html
to reflect your instance settings. - Launch both of the Python files with sudo privileges. The page can be accessed at the servers IP on the specified web port. If your SSL key requires a password, you will be prompted to input it when you start each program.
Precompiled Linux binaries available from the dist directory.
- text/plain
- image/png
- image/jpeg
- image/gif
- audio/webm
If for some reason, you'd like to disable SSL support, follow these instructions:
- Comment out line 23 in
sfc_www.py
. - Comment out line 156 in
sfc_api.py
. - Change
WWW_PORT
from 443 to 80 inconfig.json
.
Make sure your SSL keys are configured properly, and that you're visiting the correct site, which should be https://127.0.0.1:443
, replacing 127.0.0.1 with the IP of your server.
Sure! Just make a pull request and describe what you're adding and I will take a look.