Skip to content
zapstorePublic

About

No description, website, or topics provided.

Resources

Stars

6 stars

Watchers

1 watching

Forks

Repository files navigation

webapp

The zapstore.dev site, built with WebJs on Bun. It serves the public catalog pages, help, and the staff dashboard. It reads the relay's data directory read-only, and changes the relay only through signed commands on relay.sock.

Develop

bun install
cp .env.example .env
bun --bun run dev     # http://localhost:8080
bun run test
bun run check

CATALOG_PUBKEY is required. Boot fails when it is missing or invalid.

Build

make build
make linux-amd64

The release is the directory .dist/webapp-<os>-<arch>, with the CSS already built and a Bun binary inside, so the server installs nothing. make help lists every target.

Configuration

Every variable and its default are in .env.example. Sign-in is off unless SESSION_SECRET is set. The admin pages need SESSION_SECRET and ADMIN_PUBKEYS.

About

No description, website, or topics provided.

Resources

Stars

6 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages