Initial project scaffold: Open Brain self-hosted knowledge infrastructure
Node.js/TypeScript server with MCP endpoint for AI assistant integration, Discord bot for thought capture and slash commands, PostgreSQL + pgvector for semantic search, and OpenRouter for embeddings/metadata extraction. Dockerized for deployment behind Caddy. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
15
.env.example
Normal file
15
.env.example
Normal file
@@ -0,0 +1,15 @@
|
||||
# Database (host.docker.internal = host machine from inside Docker)
|
||||
DATABASE_URL=postgresql://brain_user:password@host.docker.internal:5432/brain
|
||||
|
||||
# OpenRouter (AI gateway for embeddings + metadata extraction)
|
||||
OPENROUTER_API_KEY=sk-or-...
|
||||
|
||||
# Discord bot
|
||||
DISCORD_BOT_TOKEN=
|
||||
DISCORD_CAPTURE_CHANNEL_ID=
|
||||
|
||||
# MCP endpoint authentication (generate with: openssl rand -hex 32)
|
||||
MCP_ACCESS_KEY=
|
||||
|
||||
# Server port
|
||||
PORT=3100
|
||||
Reference in New Issue
Block a user