1
0
Fork
You've already forked justdrop
0
A simple, very lightweight file sharing service in Rust. Just drop your file and send the link. Inspired by 0x0.st.
  • Rust 100%
2025年10月23日 11:45:59 +02:00
src Adding the automatic clean up of old files 2025年10月23日 11:44:08 +02:00
.gitignore Creating the first working version (no clean up or fancy style now) 2025年10月22日 11:33:14 +02:00
Cargo.lock Renaming the project from dropzone to justdrop 2025年10月22日 12:33:33 +02:00
Cargo.toml Renaming the project from dropzone to justdrop 2025年10月22日 12:33:33 +02:00
README.md Adding idea to prevent spam on the platform 2025年10月23日 11:45:59 +02:00

Justdrop

A very simple temporary file sharing service made for easy self-hosting. Inspired by the amazing 0x0.st.

Challenges/technologies

  • Web framework: axum with tokio
  • File storage: Just simple local file storage with tokio::fs
  • Automatic cleaning: Same formula as for 0x0.st running regularly in a different thread that iterates over the files and apply the forumula to check if it has expired
  • Configuration: dotenvy
  • Styling: Just plain CSS since it's just two pages
  • File serving: tower-http
  • Templating: maud
  • Random identifier generation: rand and base32

Features

  • File upload
  • File download
  • Specific message for curl users
  • Automatic cleaning of the files based on file size and upload date
  • Enable the use of token to only let allowed users upload things on the instance and prevent spam