ld bb86950632 feat(server): add file route integration tests with ownership
enforcement

- test: cover authenticated register, login, upload, list, and download
  flow
- test: verify file API routes reject test identity header injection
- test: verify file API routes reject invalid, expired, and malformed
  tokens
- test: verify cross-user ownership isolation for all file CRUD
  operations
- refactor: rename test-only header constant to clarify it is not used
  in production
2026-07-15 23:48:20 +08:00
2026-04-29 11:51:20 +08:00

MyGO

MyGO is a WebDisk (cloud drive) server, written in Go.

Current status: pre-alpha — basic JWT authentication and file transfer flows are available while their APIs and large-file behavior continue to evolve.


Roadmap

v0

  • CLI configuration management (mygo config)
  • User authentication (JWT)
  • Basic file upload / download / management (HTTP API)
  • Admin endpoints
  • WebDAV support

Future

  • Image server
  • Pastebin & code snippet editing in sharing
  • S3 storage backend
  • Nextcloud-compatible API

CLI

mygo is the backend entrypoint with these subcommands:

Command Description
mygo serve Start the backend server
mygo config Manage instance configuration
mygo status Show server status

Frontend

The frontend uses React + TypeScript and communicates with the backend via HTTP API. Its first milestone supports login, a root file list, single-file upload, and authenticated download. Frontend source is maintained in web/; see web/README.md for development, testing, and browser-debugging instructions.


Development

See docs/README.md for the server and Web documentation index. See AGENTS.md for behavioral conventions.

S
Description
MyGO: a webdisk written in Go. This is the server (backend) application.
Readme 691 KiB
Languages
Go 98.9%
TypeScript 0.9%
HTML 0.1%