Skip to content

DiscoLink

Your Discord content, anywhere you need it. Sync forums and channels to build FAQs, knowledge bases, blogs, and more.

Everything You Need

REST API

Full REST API for integrating Discord content into any application, service, or workflow.

Full-Text Search

FTS5-powered search indexes all your Discord content for instant full-text search.

Real-Time Sync

Discord bot syncs new messages instantly. No manual exports needed.

Static Export

Export to static HTML with our CLI. No server required for simple use cases.

Privacy First

Consent-based syncing respects user privacy. Only sync what users agree to share.

Self-Hosted

Your data stays on your server. No third-party services, full control.

How It Works

Discord Forum Channel → Bot syncs content → SQLite/Turso DB → REST API → Your App
  1. Add the Bot - Invite the DiscoLink bot to your server and select which channels to sync
  2. Sync Content - The bot automatically syncs forum threads and messages to your database
  3. Use It Your Way - Query via REST API, export static HTML, or use our templates

Quick Start

Terminal window
# Clone and install
git clone https://github.com/KevinTrinh1227/discolink.git
cd discolink && pnpm install
# Configure and run
cp .env.example .env
pnpm db:push && pnpm dev

API Example

Terminal window
# Fetch resolved threads
curl http://localhost:3000/api/threads?serverId=123456789&status=resolved
{
"threads": [
{
"id": "111222333",
"title": "How do I implement OAuth?",
"status": "resolved",
"messageCount": 8,
"author": { "username": "helpful_user" }
}
]
}

Use Cases

Live Demos

See DiscoLink templates in action:

Documentation

SectionDescription
Getting StartedInstallation, setup, and your first API call
GuidesDatabase setup, syncing, webhooks, templates
API ReferenceFull REST API documentation
DeploymentDeploy to Vercel, Railway, Docker, or VPS
ContributingHelp improve DiscoLink

Built by Kevin Trinh | GitHub | Free and open source under MIT license