Skip to content
personal

Share Me

Lightweight no-signup file and text sharing using a 4-digit code with automatic expiry via MongoDB TTL indexes — share-to-retrieve in under 3 seconds.

Problem

Sharing files and text snippets between devices usually requires an account, a login, or a heavy upload process. For quick one-off transfers — sending a note from phone to laptop, sharing a config file with a teammate — frictionless sharing without signup is the goal.

Approach

Built a minimal platform with no authentication required. Generate a 4-digit code, share it, and the recipient retrieves the content. MongoDB TTL indexes automatically delete data after expiry or single retrieval.

Architecture
  • Frontend: Next.js, Tailwind CSS
  • Backend: Node.js, MongoDB
  • Encoding: Base64 for file and text content
  • Expiry: MongoDB TTL indexes for automatic cleanup
  • Security: Single-access deletion, encrypted in transit
Challenge

Balancing convenience with security. No-signup means no identity verification, but the data must still be protected. Enforced single-access deletion — after the recipient retrieves the content once, it is permanently deleted. Combined with HTTPS and short-lived TTLs, the risk window is minimal.

Metric
  • Upload-to-share speed: under 3 seconds
  • Automatic data deletion after single retrieval or TTL expiry
  • No account creation required — zero onboarding friction
  • Base64 encoding handles any file type up to 10 MB

Lessons Learned

Every project comes with tradeoffs. If I were to rebuild this today, I would invest more time in automated testing early in the cycle — catching edge cases in payment webhooks and encryption boundaries before they reach production. The architecture decisions held up well, but the test coverage should have matched the complexity from day one.

Live Project

Was this project helpful?

Comments

Be the first to comment

Be the first to share your thoughts.

Interested in working together?

I'm always open to discussing new projects and product ideas.