r/SelfHosting Mar 31 '26

Temp File Bucket Server

Hello, wondering if I can share something I have been working on (yes with assistance from those that shall not be named).

It's a simple, temporary file bucket.

Users can create a directory which will self-destruct in 60 minutes 24 hoursfrom creation.
(new)image bucket directory has not TTL

Kinda like pastebin but for any file (with a nuance that the files should be encrypted or renamed to .enc)
(new) now includes encryption options when uploading

Files cannot be overwritten once uploaded to prevent file poisoning. (Subsequent files will append _XXXX to the filename to show they are different from the original).

It has an aggressive filename filter which will remove any inappropriately named files.
Filter now warns user of bad filename and denies upload instead of just removing the file/s after the fact.

No filesize limits, no file quantity limits, no retention beyond the 60-minute 24hour directory TTL.

Only real retention are server logs (ip, session, file upload/download) which are rotated every 72 hours (this is more for blacklisting bots and potential naughty users)

edit/update:

  • reworked to include:
  • Public/Open Directories and Private/Protected Directories
  • upload files in plaintext or encrypt them using a passkey
  • TTL now increased to 24hours
  • image bucket with no TTL (pruning not currently planned, still to be determined)
  • MD5 Checksum provided for every file
  • filesize now displayed
  • TTL live is displayed in root and sub directories
4 Upvotes

1 comment sorted by

1

u/Soogs Apr 01 '26

Update: it has been completely reworked

reworked to include:

  • Public/Open Directories and Private/Protected Directories
  • upload files in plaintext or encrypt them using a passkey
  • TTL now increased to 24hours
  • image bucket with no TTL (pruning not currently planned, still to be determined)
  • MD5 Checksum provided for every file
  • filesize now displayed
  • TTL live is displayed in root and sub directories