Date: 2024-02-20
The Summary
I built a system years ago that helps me share files. I find it disappointing
that it's 2024, and we as an industry still haven't found a reliable way to
for users to share files with each other. So, I built my own!
Yes, I can just send a file via email, but I've found it helpful to share
files that don't work well with email: Large files, temporary files, etc. It
also cleans up after me, and I have a helper script to drop files into place.
tmp.thekyel.com
You can see what I am currently sharing here. It's just a set of open
apache dirs that I drop files into.
Each subdirectory is roughly how long files hang around for.
Examples: Every day, I clean out files older than 24 hours in the 'day' directory.
Every hour, I clean out files older than 60 minutes in the 'hour' directory. Etc
I use a cron to clean it out:
https://code.thekyel.com/tmp_cleanup.cron
And I use the below script to drop files into place. I have the script output a
link to the file, and send me an email so that I have it ready to go out. I
also have an option to automatically send the newly created link to my special
someone, as I send her a lot of links and documents |;)
https://code.thekyel.com/send.to.tmp.sh
I like this setup a lot, and I use it all the time. It's nice to trivialy throw
something online that I need to share, and not have to worry about cleaning
up after myself.