No description
https://api.reseam.app
- TypeScript 99.6%
- Dockerfile 0.4%
| .github | ||
| docs | ||
| src | ||
| test | ||
| .gitignore | ||
| bun.lock | ||
| docker-compose.yml | ||
| Dockerfile | ||
| drizzle.config.ts | ||
| LICENSE | ||
| NOTICE | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
Reseam API
The server behind api.reseam.app. It tells Reseam Manager and reseam.app which releases exist, where to download them, and which announcements to show. It also holds patch requests, their votes and comments.
- Release indexes. Fetches one
patches.jsonand onemanager.json, caches them, and serves them as they are. - Download links.
/patches/<tag>/<file>and/manager/<tag>/<file>redirect to where the files are hosted. - Announcements. Stored in SQLite. Anyone can read them; writing needs the admin token.
- Requests. Anyone posts, votes and comments without an account, after a Turnstile check. New requests and comments are screened by a decision model on OpenRouter.
It never opens a bundle or checks a signature. Reseam Manager does that. One instance serves one patch bundle.
Setup, configuration, and every endpoint are in the API docs (source: docs/). OpenAPI docs are served at /openapi.
Develop
Needs Bun.
bun install
bun run dev # server on port 4000, restarts on changes
bun test
bun run typecheck
bun run db:generate # migration after a schema change
Run
docker compose up -d
This keeps the database in the reseam-data volume. Set ADMIN_TOKEN to turn on announcement writes. The other settings are in Configuration.
Built with Bun, Elysia, and Drizzle on SQLite.
License
AGPL-3.0-or-later, with additional terms under section 7 in NOTICE.