Personal projectFull-stack product2026Live

Filenest

A cloud drive with live uploads, previews for almost any file, and public links you control.

automated security checks
74automated security checks
per file, straight to storage
1 GBper file, straight to storage
search across every file and folder
⌘Ksearch across every file and folder
01Overview

Upload files with live progress, organise them in nested folders, preview images, video, PDFs, CSV, JSON and Markdown in the browser, and share view-only or downloadable links with an expiry you can change or revoke.

OriginFilenest 2.0 is a full redesign and hardening of a basic course project (“Drivea”). Version 2.1 moved uploads straight to storage.

02Why I built it

A file drive looks simple until you upload a 900 MB video through your own API and watch it fall over. The course version faked its progress bar. I wanted uploads that are honest, fast and safe, and sharing that the owner fully controls.

Questions I had to answer
  • Q1

    Why should big files pass through my server at all?

  • Q2

    How do I show real progress, cancel and retry for many files at once?

  • Q3

    What can a stranger with a public link see, and for how long?

03Before → after
  • UploadsBeforeOne request with a simulated progress barAfterReal per-file progress, three at a time, cancel and retry; 2.1 uploads straight to the bucket with presigned URLs
  • Finding thingsBeforeSearch box for the current folderAfter⌘K search across all files and folders, Recent and Starred
  • PreviewBeforeModal for image, video, audio, PDFAfterFull-screen viewer with swipe; text, CSV tables, JSON and rendered Markdown
  • SharingBeforeA link that could only be revokedAfterView-only or downloadable links, expiry, open counts, browsable shared folders
  • SecurityBeforeOwner checks on most queriesAfterNo leaked owner email, no raw DB errors, atomic quota, rate limits, helmet, 74 automated checks
04Key decisions
  1. Presigned uploads straight to S3-compatible storage

    The API only signs and verifies. No 100 MB cap, faster large files, and storage itself refuses a file bigger than announced.

  2. Any S3-compatible bucket

    Cloudflare R2 or AWS S3 in production, RustFS in Docker locally; one command starts Postgres and storage for development.

  3. Links with rules

    View-only or downloadable, expiry of 1, 7 or 30 days or never, open counts, and revoke at any time.

  4. Security as tests, not hope

    74 automated checks run against the API, so a regression shows up as a failing test, not a leak.

05Screens
My Files with folders and image thumbnails
Full-screen image preview with details
⌘K search palette
Share dialog with expiry and download options
Folder upload with per-file progress
Multi-select actions
What a visitor sees on a public link
Storage insights in settings
My Files in dark mode
Drive on a phone
Preview on a phone
06Features
Files
  • Nested folders, grid or list view, six sort orders
  • Drag and drop files or whole folders anywhere
  • Multi-select with Shift-click, download as ZIP, move, star, trash with Undo
Preview & share
  • Full-screen viewer for images, video, audio, PDF, text, CSV, JSON, Markdown
  • Public links with expiry and download control
  • Shared links page
Account
  • Recent and Starred
  • Settings: profile, password, theme, storage insights with a 14-day upload chart
  • One-click demo account
07Under the hood
01
Direct-to-storage uploads

Presigned URLs; the API never carries the bytes.

02
Atomic quota

Storage quota per account (1 GB by default) can't be raced past by parallel uploads.

03
Session security

JWT in an httpOnly cookie, helmet and rate limits on the Express 5 API.

04
74 automated checks

Security tests run against the real API.

08Tech stack
React 19ViteExpress 5Neon PostgresS3 / Cloudflare R2Presigned URLsTailwind CSS v4
09Looking back
The hard part

Folder uploads and ZIP downloads. Dropping a folder recreates the whole tree before files land in it, and downloading any selection streams a ZIP straight from storage.

What I learned

Move bytes where they belong. Once the server stopped carrying files, uploads got faster and the limits got simpler.