Built tmpdrop — a tiny self-hosted ephemeral file drop
The article introduces tmpdrop, a self-hosted ephemeral file drop solution. It allows users to upload files with unguessable URLs that automatically delete after a specified time. The project emphasizes user control over data and security, distinguishing itself from public file hosting services.
- ▪tmpdrop is a self-hosted ephemeral file drop solution.
- ▪Files uploaded to tmpdrop have unguessable URLs and auto-delete after 1 hour or 24 hours.
- ▪The project is built with a focus on user data control and security, using a strict MIME allowlist and CSP sandbox.
Opening excerpt (first ~120 words) tap to expand
try { if(localStorage) { let currentUser = localStorage.getItem('current_user'); if (currentUser) { currentUser = JSON.parse(currentUser); if (currentUser.id === 3950932) { document.getElementById('article-show-container').classList.add('current-user-is-article-author'); } } } } catch (e) { console.error(e); } Kin Pan Ho Posted on May 25 Built tmpdrop — a tiny self-hosted ephemeral file drop #opensource #node #ai Drag-drop upload, unguessable URLs (72 bits entropy), auto-deletes after 1h/24h, strict MIME allowlist + CSP sandbox. One docker compose up. MIT. 🔗 https://github.com/rogerhokp/tmpdrop 🌐 https://tmpdrop.solardev.online Why another one: public file hosts retain your data on infra you don't control + predictable URLs get scraped.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at DEV.to (Top).