{"repo":"Rithik149/HyperSpeed","free":true,"listed":false,"github":"https://github.com/Rithik149/HyperSpeed","clone":"git clone https://github.com/Rithik149/HyperSpeed.git","description":"HyperSpeed — Temporary File Sharing with Expiring Access Codes","language":"CSS","stars":37,"topics":["expressjs","postgresql","psql-database","reactjs","nodejs","filesystem"],"license":null,"category":"databases-storage","readme_excerpt":"HyperSpeed ⚡ Temporary File Sharing with Expiring Access Codes HyperSpeed is a SendAnywhere-style file sharing platform that allows users to upload files and share them using a short-lived access code. Files automatically expire and are removed from both disk and database, ensuring privacy and minimal storage usage. This project focuses on backend correctness, persistence, and lifecycle management rather than simple in-memory state. --- 🚀 Features - Upload files and generate a unique 6-digit access code - Download files using the access code (one-time access) - PostgreSQL-backed persistence (survives server restarts) - Automatic expiration of files using timestamps - Background cleanup job for expired files (DB + filesystem) - No page reloads during upload or download --- 🧠 System Design Overview Upload Flow 1. File is uploaded and stored on disk 2. Metadata is stored in PostgreSQL 3. A unique access code is generated (DB-enforced uniqueness) 4. An absolute expiry timestamp is assigned Download Flow 1. Access code is validated against PostgreSQL 2. Expiry is checked server-side 3. File is streamed to the client 4. File and DB entry are deleted after successful download Cleanup Flow - A background job periodically: - Finds expired entries - Deletes files from disk - Removes corresponding database rows --- 🛠 Tech Stack - Frontend: React, Vite - Backend: Node.js, Express - Database: PostgreSQL - Storage: Local filesystem - Other: Multer (uploads) --- 📚 What I Learned - Repla","default_branch":null,"files":null,"tree":[],"storefront":"/r/Rithik149","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Rithik149/HyperSpeed/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}