Google Drive

Cloud file storage with sync clients, sharing links, and the Google Docs suite bolted on.

NOT REALLY · consider alternatives
price $1.99/mosubscription / year $23.88estimated build time a weekendreplaced by 0 people

You can absolutely build a file upload page with folders, search, and share links in an afternoon. What you cannot build is durable multi-region storage that has not lost a byte in fifteen years, a sync daemon that survives sleep, flaky wifi, and two machines editing the same folder, and native apps on every platform your family owns. The cost side is brutal too: two terabytes of redundant storage plus egress will run you more than the consumer plan, before you have written a line of code. Add that half the value is not storage at all, it is that everyone you share with already has an account and Docs opens in one click. This is infrastructure wearing a UI, and infrastructure is the part you are paying for.

Build verification: not recorded. How we judge buildability

What you give up

  • Real sync clients on macOS, Windows, iOS, and Android, including offline files and conflict resolution
  • Google Docs, Sheets, and Slides opening inline with live multiplayer editing
  • Durability and availability engineering you will never match, plus versioning and trash that actually works
  • Sharing with people who already have accounts, plus granular permissions and audit trails
  • OCR and content search inside PDFs and images, and the mobile scanner

Why people still pay

Because storage is a promise, not a feature. Paying a few dollars a month means you are not the person on call when a disk dies, a sync loop eats a folder, or your share links stop resolving during a family emergency. On top of that, most people's Drive is load bearing for other people: shared folders, Docs links pasted into email threads years ago, phone backups. Replacing the upload form is easy, replacing the promise and the graph of links pointing at it is not.

Your build guide

The stack, security requirements, and agent rules for a focused replacement.

Before you start

  • A VPS or always-on home machine with disk you actually trust
  • S3-compatible object storage or a RAID array plus a real offsite backup
  • A domain and TLS cert for share links
  • Willingness to test your own restore path before you need it
01
Build a self-hosted personal file locker called "Vault". Single Node.js service, no framework soup.
02
Content addressed storage: hash on upload, dedupe identical bytes, keep every version of a path.
03
Interface for this file sync and sharing workflow: a focused file sync and sharing input, review, and export interface.
engineering roadmap

Implementation plan

1

Phase 1, architecture and data

Build a self-hosted personal file locker called "Vault". Single Node.js service, no framework soup. Content addressed storage: hash on upload, dedupe identical bytes, keep every version of a path.

2

Phase 2, implement

Share links: random 22 char token, optional expiry, optional download limit, optional password, served from a read only route that streams with correct Content-Type and range support.

3

Phase 3, implement

A self-hosted file locker: upload, browse folders, full text search on filenames, and generate expiring public share links from a single box you control.

4

Phase 4, review and output

Cloud file storage with sync clients, sharing links, and the Google Docs suite bolted on. Share links: random 22 char token, optional expiry, optional download limit, optional password, served from a read only route that streams with correct Content-Type and range support.

5

Phase 5, recovery and acceptance

Multi user accounts, sharing between accounts, permissions matrices. Verify this invariant with a saved fixture: An invalid input or interrupted operation must retain the source and show a recoverable state; exported records must reload with the same IDs. State the practical limit: Real sync clients on macOS, Windows, iOS, and Android, including offline files and conflict resolution.

the pro prompt
Build a self-hosted personal file locker called "Vault". Single Node.js service, no framework soup.

Stack, non negotiable:
- Node 20 with Fastify and TypeScript
- SQLite via better-sqlite3 for metadata
- Files stored on local disk under DATA_DIR, sharded by the first two chars of a content hash
- Server rendered HTML with Nunjucks plus a little vanilla JS, no React
- Single admin user, password hash in .env, cookie session

In scope:
- Upload via drag and drop, chunked, resumable, files up to 5 GB, using tus protocol or a simple range based chunk endpoint you write
- Content addressed storage: hash on upload, dedupe identical bytes, keep every version of a path
- Folder tree browsing, rename, move, soft delete with a 30 day trash table and a purge command
- Search on filename, extension, size range, and date, all from SQLite
- Share links: random 22 char token, optional expiry, optional download limit, optional password, served from a read only route that streams with correct Content-Type and range support
- Thumbnails for images and PDF first pages using sharp and pdftoppm if present, skipped gracefully if not
- A "vault backup" CLI command that rsyncs DATA_DIR and dumps the SQLite file, plus a "vault verify" that rehashes everything and reports drift

Out of scope, do not attempt:
- Desktop or mobile sync clients
- Multi user accounts, sharing between accounts, permissions matrices
- Document editing or previews beyond thumbnails
- Any cloud service, telemetry, or analytics

Requirements:
- All config in .env: PORT, DATA_DIR, ADMIN_PASSWORD_HASH, SESSION_SECRET, PUBLIC_BASE_URL
- docker-compose.yml with one service and one named volume
- Integration tests covering chunked upload, resume after interrupt, dedupe, share link expiry, and trash purge
- README that states plainly: this is one disk, it is not a backup, here is the restore drill, run it once a quarter

$ open in your agent (prompt prefilled, you press enter), copy the prompt or copy AGENTS.md · generated from this app's build plan

prior art · use these instead of building, if you'd rather

No prior-art project is listed yet. Compare the scoped build with the paid product before choosing.

share on X ↗

Questions about Google Drive

Can you build your own Google Drive with AI?

A full replacement is not the recommended project. You can absolutely build a file upload page with folders, search, and share links in an afternoon. What you cannot build is durable multi-region storage that has not lost a byte in fifteen years, a sync daemon that survives sleep, flaky wifi, and two machines editing the same folder, and native apps on every platform your family owns. The cost side is brutal too: two terabytes of redundant storage plus egress will run you more than the consumer plan, before you have written a line of code. Add that half the value is not storage at all, it is that everyone you share with already has an account and Docs opens in one click. This is infrastructure wearing a UI, and infrastructure is the part you are paying for.

What does the Google Drive build prompt cover?

The prompt starts with this scope: A self-hosted file locker: upload, browse folders, full text search on filenames, and generate expiring public share links from a single box you control. Full-product capabilities excluded from the comparison include: Real sync clients on macOS, Windows, iOS, and Android, including offline files and conflict resolution; Google Docs, Sheets, and Slides opening inline with live multiplayer editing; Durability and availability engineering you will never match, plus versioning and trash that actually works. Follow the implementation plan and its prerequisites before expanding the build.

How do I use the prompt, AGENTS.md and agent skills?

Start with the Google Drive prerequisites and stack, then copy the prompt into your coding agent. Save the project rules as AGENTS.md in the project root. Linked skills are optional packages or source instructions for specific tasks; review their current contents and install only those matching the chosen stack. A skill does not supply API credentials or verify the finished app.

How long will this Google Drive project take?

The catalogue estimate is a weekend for the limited scope. Setup, integration approvals, debugging, deployment and ongoing maintenance can add time. This is an estimate, not a delivery guarantee.

What would I give up by replacing Google Drive?

Real sync clients on macOS, Windows, iOS, and Android, including offline files and conflict resolution; Google Docs, Sheets, and Slides opening inline with live multiplayer editing; Durability and availability engineering you will never match, plus versioning and trash that actually works; Sharing with people who already have accounts, plus granular permissions and audit trails; OCR and content search inside PDFs and images, and the mobile scanner. Because storage is a promise, not a feature. Paying a few dollars a month means you are not the person on call when a disk dies, a sync loop eats a folder, or your share links stop resolving during a family emergency. On top of that, most people's Drive is load bearing for other people: shared folders, Docs links pasted into email threads years ago, phone backups. Replacing the upload form is easy, replacing the promise and the graph of links pointing at it is not.

What price is this guide comparing against?

The recorded Google One Basic 100 GB plan is $1.99/mo (monthly, individual (storage shared across Drive/Gmail/Photos)), checked 2026-08-18. Check the linked pricing source before buying. Building your own also has hosting, API and maintenance costs; the recorded amount is not a guaranteed saving.

What can I use instead of building Google Drive?

No alternative is listed in this entry yet. That is a gap in this catalogue, not proof that no suitable product exists. Compare the paid product and the proposed scope before committing to a build.

Every week, more subscriptions die.

New verdicts, new prompts, the week's most-doomed apps.
One email. Unsubscribe in one click.

last week:100 Questions · KINDA1of10 · KINDA1Password · KINDA+1090 more

free forever · no scanner spam · the prompt stays on the site, the deaths come to you

$weekly: what got a verdict, what died.