Backend for the Vicinae extension store.
Currently hosted by @aurelleb on a hetzner VPS.
The architecture of this service is very simple on purpose.
- Hono to serve web requests
- Prisma + sqlite to maintain the list of available extensions in database
- Assets and extension code stored on the local filesystem (could be easily moved to an actual object storage service if needed)
The Vicinae extension store command makes requests to this backend service to retrieve extension-related content.
Vicinae does not contact the service outside of this command.
Install dependencies:
bun installSet up environment variables:
cp .env.example .env
# Edit .env and set your API_SECRET and other configurationSet up database:
# Generate Prisma client
bun prisma generate
# Run migrations
bun prisma migrate devRun development server:
bun run dev