No description
Find a file
Elijah 077cf7601a
Some checks failed
CI / Backend (push) Failing after 4s
CI / Frontend (push) Successful in 11s
CI / Contracts and repository policy (push) Failing after 5s
CI / Container (push) Has been skipped
Initial phase 1 baseline implementation
2026-07-16 19:14:01 -07:00
.forgejo/workflows Initial phase 1 baseline implementation 2026-07-16 19:14:01 -07:00
api Initial phase 1 baseline implementation 2026-07-16 19:14:01 -07:00
cmd/drive Initial phase 1 baseline implementation 2026-07-16 19:14:01 -07:00
db Initial phase 1 baseline implementation 2026-07-16 19:14:01 -07:00
docs Initial phase 1 baseline implementation 2026-07-16 19:14:01 -07:00
internal Initial phase 1 baseline implementation 2026-07-16 19:14:01 -07:00
scripts Initial phase 1 baseline implementation 2026-07-16 19:14:01 -07:00
web Initial phase 1 baseline implementation 2026-07-16 19:14:01 -07:00
.dockerignore Harden CI and switch release builds to tagged immutable images 2026-07-15 19:21:07 -07:00
.editorconfig Harden CI and switch release builds to tagged immutable images 2026-07-15 19:21:07 -07:00
.env.example Harden CI and switch release builds to tagged immutable images 2026-07-15 19:21:07 -07:00
.gitattributes Harden CI and switch release builds to tagged immutable images 2026-07-15 19:21:07 -07:00
.gitignore Harden CI and switch release builds to tagged immutable images 2026-07-15 19:21:07 -07:00
AGENTS.md Update architecture baseline for sync, sharing, and gateways 2026-07-16 18:40:12 -07:00
CODEOWNERS Harden CI and switch release builds to tagged immutable images 2026-07-15 19:21:07 -07:00
compose.yaml Harden CI and switch release builds to tagged immutable images 2026-07-15 19:21:07 -07:00
CONTRIBUTING.md Harden CI and switch release builds to tagged immutable images 2026-07-15 19:21:07 -07:00
Dockerfile Initial phase 1 baseline implementation 2026-07-16 19:14:01 -07:00
Drive_v2_final_plan.md Update architecture baseline for sync, sharing, and gateways 2026-07-16 18:40:12 -07:00
go.mod Initial phase 1 baseline implementation 2026-07-16 19:14:01 -07:00
go.sum Initial phase 1 baseline implementation 2026-07-16 19:14:01 -07:00
README.md Initial phase 1 baseline implementation 2026-07-16 19:14:01 -07:00
redocly.yaml Harden CI and switch release builds to tagged immutable images 2026-07-15 19:21:07 -07:00
SECURITY.md Harden CI and switch release builds to tagged immutable images 2026-07-15 19:21:07 -07:00
sqlc.yaml Harden CI and switch release builds to tagged immutable images 2026-07-15 19:21:07 -07:00

Drive v2

Drive v2 is a private, single-owner, self-hosted file suite for Unraid. Stable v1 will provide file management, sharing, OnlyOffice integration, core previews, an installable PWA, a bulk importer, and a durable API suitable for a future desktop sync client.

The approved product and architecture baseline is Drive_v2_final_plan.md. Implementation decisions that refine it are recorded in docs/adr/.

Repository status

Phase 0 established the repository, module boundaries, contracts, development environment, and CI. Phase 1 is underway with embedded forward-only migrations, the core persistence schema, generated PostgreSQL queries, database-backed readiness, and persistent setup status. Product endpoints are not implemented yet.

Prerequisites

  • Docker Engine with Compose v2
  • Go 1.26.x for native backend development
  • Node.js 24 LTS and npm for native frontend development

Docker is the canonical environment when local toolchains are unavailable.

Quick start

  1. Copy .env.example to .env and replace the development passwords.
  2. Run docker compose up --build.
  3. Open http://localhost:8080.
  4. Check http://localhost:8080/health/live and http://localhost:8080/health/ready.

Do not expose an uninitialized production instance through Nginx Proxy Manager. The approved open setup flow must be completed first.

Development

  • go test ./cmd/... ./internal/... runs backend tests.
  • npm --prefix web install installs frontend dependencies.
  • npm --prefix web run dev starts the frontend development server.
  • npm --prefix web run check runs frontend lint, type checking, and tests.
  • docker compose run --rm verify runs the repository checks in the pinned container environment.

See docs/development.md for structure, generated contracts, and workflow details. The approved baseline packages and update rules are in docs/dependencies.md.

Licensing

This is currently a private personal project. No license is granted for redistribution or reuse.