No description
  • Vue 66.8%
  • TypeScript 32.3%
  • CSS 0.5%
  • Dockerfile 0.2%
  • JavaScript 0.1%
  • Other 0.1%
Find a file
2026-11-15 20:10:30 +01:00
.agents/skills/full-code-review docs: update the review skill for single repo 2026-11-15 19:02:02 +01:00
.husky initial commit 2026-10-13 16:20:00 +02:00
.vscode initial commit 2026-10-13 16:20:00 +02:00
app feat(library): sort books by date added, rating, reviews or title 2026-11-15 20:10:30 +01:00
docs docs: describe the author page search, filters and sorting 2026-11-15 19:49:12 +01:00
public feat(brand): replace the template identity with chrisp books 2026-10-13 22:25:03 +02:00
scripts ops: enable dockiy --hook-args 2026-10-25 17:42:59 +01:00
server feat(authors)!: replace grouped sections with one filterable book grid 2026-11-15 19:42:09 +01:00
shared/utils feat(authors)!: replace grouped sections with one filterable book grid 2026-11-15 19:42:09 +01:00
.dockerignore initial commit 2026-10-13 16:20:00 +02:00
.editorconfig initial commit 2026-10-13 16:20:00 +02:00
.enc.local.env ops: add local dotenv 2026-10-13 18:18:48 +02:00
.enc.staging.env ops: add staging openlibrary contact 2026-10-14 17:38:05 +02:00
.env.example feat(brand): replace the template identity with chrisp books 2026-10-13 22:25:03 +02:00
.gitignore chore: add ignored artifacts directory 2026-10-13 18:52:49 +02:00
.sops.yaml initial commit 2026-10-13 16:20:00 +02:00
AGENTS.md docs: agent instructions for the docs 2026-11-15 19:51:32 +01:00
components.json initial commit 2026-10-13 16:20:00 +02:00
docker-compose.dockiy.yml ops: prepare dockiy host & nuxter config 2026-10-13 16:25:34 +02:00
docker-compose.yml initial commit 2026-10-13 16:20:00 +02:00
Dockerfile ops: try pnpm docker image 2026-10-14 15:14:01 +02:00
dockiy.config.yml ops: add nuxter default server for dockiy 2026-10-13 16:26:33 +02:00
dockiy.yml ops: prepare dockiy host & nuxter config 2026-10-13 16:25:34 +02:00
drizzle.config.ts initial commit 2026-10-13 16:20:00 +02:00
eslint.config.mjs initial commit 2026-10-13 16:20:00 +02:00
nuxt.config.ts feat: purge stale Open Library cache entries daily 2026-11-14 19:30:15 +01:00
package.json feat(authors): add a local fuzzy search over the author's books 2026-11-15 19:46:34 +01:00
pnpm-lock.yaml feat(authors): add a local fuzzy search over the author's books 2026-11-15 19:46:34 +01:00
pnpm-workspace.yaml initial commit 2026-10-13 16:20:00 +02:00
README.md docs: simpler readme 2026-11-15 19:58:38 +01:00
tsconfig.json initial commit 2026-10-13 16:20:00 +02:00

Chrisp Books logo

Chrisp Books

A self-hosted alternative to Goodreads for a handful of users. Search books, keep private reading lists, browse authors and series, and import your existing library. Book data comes from Open Library, no API key needed.

Built with Nuxt, Better Auth and PostgreSQL. Everything runs in two containers: the app and the database.

Requirements

Local development

cp .env.example .env
# Edit .env (see Configuration), then:
docker compose up -d
pnpm install --frozen-lockfile
pnpm db:migrate
pnpm dev

The app runs on http://localhost:3000. pgAdmin is available on http://localhost:82 (login admin@m.com / admin, database host db:5432).

Configuration

Variable Description
POSTGRES_DB, POSTGRES_USER, POSTGRES_PASSWORD Database credentials
POSTGRES_DOCKER_PORT Database port exposed on the host
NUXT_DATABASE_URL postgresql://USER:PASSWORD@HOST:5432/DATABASE (URL-encode credentials). Inside containers the host is db and the port is always 5432
NUXT_BETTER_AUTH_SECRET Output of openssl rand -base64 32, one per environment
NUXT_BETTER_AUTH_URL Public origin of the app, e.g. http://localhost:3000
NUXT_BREVO_API_KEY, NUXT_BREVO_SENDER_EMAIL, NUXT_BREVO_SENDER_NAME Brevo credentials and verified sender
NUXT_GOOGLE_CLIENT_ID, NUXT_GOOGLE_CLIENT_SECRET Optional, enables Google sign-in
NUXT_OPEN_LIBRARY_CONTACT Optional contact email sent to Open Library to identify your instance

Google sign-in (optional)

  1. In Google Cloud Console, configure Google Auth Platform → Branding / Audience.
  2. Under Clients, create a Web application OAuth client with <your origin>/api/auth/callback/google as an authorized redirect URI.
  3. Set NUXT_GOOGLE_CLIENT_ID and NUXT_GOOGLE_CLIENT_SECRET. NUXT_BETTER_AUTH_URL must match the origin exactly.

Deploying with DockIY

The project is deployable with DockIY. Set your app name and hosts in dockiy.yml, create .enc.staging.env / .enc.production.env with sops edit, then:

dockiy app deploy staging
dockiy app deploy production --version v1.0.0

Migrations are applied automatically on deploy.