1
0
Fork 0
mirror of synced 2026-12-06 18:12:25 +00:00
No description
  • Python 94%
  • Dockerfile 6%
Find a file
2021-06-11 16:51:11 -04:00
.github Initial Commit 2021-06-11 15:16:27 -04:00
resources oh no 2021-06-11 16:51:11 -04:00
.gitignore Initial Commit 2021-06-11 15:16:27 -04:00
docker-compose.yml Initial Commit 2021-06-11 15:16:27 -04:00
Dockerfile Update Dockerfile 2021-06-11 16:23:29 -04:00
main.py *oops* 2021-06-11 16:38:15 -04:00
README.md thing 2021-06-11 16:22:17 -04:00
requirements.txt Initial Commit 2021-06-11 15:16:27 -04:00

ShitpostStorageSystem

Allows you to store shitposts and recall them later. Very simple.

No configuration. Just visit the webserver.

Docker environment variables:

  • SSS_PORT: Configures the webserver port. Default is 8082.
  • SSS_HOST: Configures the webserver host. Default is 0.0.0.0.
  • SSS_STORAGE: Relative (or absolute) path of the file cache. Default is downloads/

Routes

GET /shitposts

Download a random shitpost from the archive. Content-Type header will signal what type the media is.

Possibilities include:

  • video/mp4
  • image/gif
  • image/png

POST /shitposts

Upload a shitpost to the archive.

Form data:

  • Media: The shitpost. Must have either a content-type header or a file extension.

GET /list

Return a list of all shitposts currently stored.