No description
Find a file
2026-08-10 22:59:08 -05:00
assets/css More styling 2026-08-10 20:45:35 -05:00
components Removed dedicated login page 2026-08-10 22:59:08 -05:00
layouts Update masonry layout 2026-08-10 20:56:31 -05:00
middleware Initial Commit 2026-08-09 20:41:16 -05:00
pages Removed dedicated login page 2026-08-10 22:59:08 -05:00
server Add button to save items 2026-08-10 22:49:43 -05:00
tests Add button to save items 2026-08-10 22:49:43 -05:00
types Add button to save items 2026-08-10 22:49:43 -05:00
utils Refactor 2026-08-10 21:52:35 -05:00
.dockerignore Initial Commit 2026-08-09 20:41:16 -05:00
.gitignore Initial Commit 2026-08-09 20:41:16 -05:00
.prettierignore Initial Commit 2026-08-09 20:41:16 -05:00
.prettierrc.json Initial Commit 2026-08-09 20:41:16 -05:00
app.config.ts Update style 2026-08-09 22:42:37 -05:00
app.vue Initial Commit 2026-08-09 20:41:16 -05:00
docker-entrypoint.sh Auto run migrations and document docker container env vars 2026-08-09 20:46:02 -05:00
Dockerfile Auto run migrations and document docker container env vars 2026-08-09 20:46:02 -05:00
drizzle.config.ts Initial Commit 2026-08-09 20:41:16 -05:00
nuxt.config.ts add webhook callback for marking ites read 2026-08-10 19:50:31 -05:00
package-lock.json Initial Commit 2026-08-09 20:41:16 -05:00
package.json Initial Commit 2026-08-09 20:41:16 -05:00
README.md add webhook callback for marking ites read 2026-08-10 19:50:31 -05:00
tsconfig.json Initial Commit 2026-08-09 20:41:16 -05:00

Campfire Core

Nuxt application and API for the Campfire dashboard.

Development

npm ci
npm run dev

The application expects PostgreSQL with the vector extension (for example, the pgvector/pgvector image). Configure the connection with NUXT_PG_CONNECTION_STRING. NUXT_OPENWEBUI_URL, NUXT_SETUP_TOKEN, and NUXT_N8N_ENGAGEMENT_WEBHOOK_URL can also be set for embeddings, protected account setup, and read/dismiss notifications.

Run the checked-in migrations with:

npm run db:migrate

Verification

npm run lint
npm test
npm run typecheck
npm run build
npx drizzle-kit check

Container

The Dockerfile builds a production Node server, runs database migrations on startup, and exposes port 3000. A Compose service can use this repository directly as its build context:

services:
  campfire:
    build: https://code.incremental.social/thepaperpilot/campfire-core.git
    ports:
      - '3000:3000'
    environment:
      NUXT_PG_CONNECTION_STRING: postgres://n8n:changeme@postgres:5432/n8n
      NUXT_OPENWEBUI_URL: http://openwebui:8080
      NUXT_EMBED_MODEL: nomic-embed-text
      NUXT_EMBED_DIMENSIONS: '768'
      NUXT_EMBED_BATCH_SIZE: '32'
      NUXT_SETUP_TOKEN: ${CAMPFIRE_SETUP_TOKEN:-}

Provide the runtime variables through Compose. The container waits for the database connection and runs pending migrations before serving traffic.