Deploy Affine with AI Copilot
Railway

Deploy Affine with AI Copilot

One-click template for AFFiNE with optional AI (NVIDIA NIM/Google Gemini)

Deploy Affine with AI Copilot

affine

Just deployed

/var/lib/postgresql/data

Just deployed

/root/.affine

Just deployed

Deploy and Host Affine with AI Copilot on Railway

AFFiNE is an open-source alternative to Notion and Miro that combines documents, whiteboards, and databases in one workspace. This template deploys AFFiNE with optional AI Copilot powered by NVIDIA NIM or Google Gemini for chat, writing assistance, summarization, and code generation.

About Hosting Affine with AI Copilot

AI Copilot is enabled by simply providing an NVIDIA NIM or Google Gemini API key — the template auto-generates AFFiNE's config.json at startup to route all AI tasks through your chosen provider. No AI key is required for basic functionality.

Common Use Cases

  • Self-hosted knowledge base and wiki with AI-powered writing, summarization, and search
  • Collaborative workspace with real-time editing, whiteboards, and databases — fully under your control
  • Private AI-assisted document creation using NVIDIA NIM or Google Gemini instead of cloud-hosted alternatives

Dependencies for Affine with AI Copilot Hosting

  • PostgreSQL 16 with pgvector extension (included in template)
  • Redis (included in template)

Deployment Dependencies

Why Deploy Affine with AI Copilot on Railway?

Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying Affine with AI Copilot on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.


Template Content

More templates in this category

View Template
caring-vibrancy
Deploy and Host caring-vibrancy with Railway

baleocho
View Template
Flask WebSocket Chat
Single file, realtime multi-user websocket chat using flask-socketio

Clement Ochieng
View Template
all-star-fashion-template
Deploy and Host all-star-fashion-template with Railway

Mai Thành Duy An