Work in progress file uploader using Crystal. Ready to use but unknown bugs may appear.
Find a file
2024-08-04 15:33:49 -04:00
public 0.5.1: return a proper error message if the file doesn't exist. Return proper HTTP error codes. 2024-08-04 15:13:45 -04:00
spec 0.3.0: Added DB + Deletion support 2024-08-01 03:10:27 -04:00
src 0.5.2: Change retrieve_file error code to 403 because 404 doesn't work for some reason lol 2024-08-04 15:33:49 -04:00
.gitignore 0.1.0 2024-07-03 01:41:18 -04:00
LICENSE 0.2.0 2024-07-31 18:25:30 -04:00
README.md 0.5.2: Change retrieve_file error code to 403 because 404 doesn't work for some reason lol 2024-08-04 15:33:49 -04:00
shard.lock 0.1.0 2024-07-03 01:41:18 -04:00
shard.yml 0.1.0 2024-07-03 01:41:18 -04:00

file-uploader

Simple file uploader made on Crystal. I'm making this to replace my current File uploader hosted on https://ayaya.beauty which uses https://github.com/nokonoko/uguu

Features

  • Temporary file file uploader like Uguu
  • File deletion link (not available in frontend for now)
  • Chatterino and ShareX support
  • Low memory usage: Between 6MB at idle and 25MB if a file is being uploaded of retrieved. I will depend of your traffic.

TODO

  • Add file size limit ADDED
  • Fix error when accessing http://127.0.0.1:8080 with an empty DB.
  • Better frontend...
  • Disable file deletion if delete_files_after_check_seconds or delete_files_after is set to 0
  • Disable delete key if delete_key_lenght is 0
  • Exit if filename_lenght is 0
  • Disable file limit if size_limit is 0