Skip to content

API-first Discord forum/FAQ/blog engine that syncs Discord server content to a database and exposes it via REST API

License

Notifications You must be signed in to change notification settings

KevinTrinh1227/DiscoLink

Repository files navigation

Stars
Stars Release Documentation License

Quick Start - API Reference - Live Demo - Contributing


What is DiscoLink?

DiscoLink syncs your Discord forums and channels to a database you control. Build FAQ pages, knowledge bases, changelogs, or blogs from your Discord content.

Discord --> Bot syncs content --> Database --> REST API / Static Export --> Your Website

Use it for:

  • FAQ Pages - Turn resolved help threads into searchable FAQs
  • Knowledge Base - Organize forum content into documentation
  • Changelog - Auto-publish release notes from announcements
  • Blog - Transform discussions into blog posts
Why I built this

I'm working on a project called CoogCasa where I wanted to integrate heavily with Discord - but in a specific way. I needed certain threads and content from Discord to be pulled and displayed on a custom app I was building, fully SEO optimized.

I couldn't find an existing tool that did exactly what I needed. Most solutions were either too rigid, didn't offer the level of control I wanted, or weren't designed for custom integrations. So I decided to build my own.

While there are other amazing tools out there that sync Discord content, DiscoLink was built differently:

  • You own your data - Self-hosted with your own database
  • Flexible output - REST API, static export, or webhooks - your choice
  • Privacy focused - Consent-based syncing with full user control
  • Developer first - Built for integration into custom apps, not just standalone sites

Features

  • Real-Time Sync - Discord bot syncs forum posts, text channels, and announcements instantly
  • Full-Text Search - FTS5-powered search with typo-tolerant queries
  • REST API - Full API with endpoints for servers, channels, threads, messages, and users
  • Static Export - Export to static HTML with the CLI, deploy anywhere
  • Official Templates - Ready-to-use Astro templates for FAQ, KB, Changelog, and Blog
  • Webhooks - Real-time event delivery with HMAC signing, retries, and dead letter queues
  • Polls & Events - Sync Discord polls, scheduled events, and Nitro boost data
  • Edge Deployment - Deploy to Cloudflare Workers with Turso, or self-host with SQLite
  • Privacy Controls - Consent-based syncing, self-hosted, no tracking

Three Ways to Use - All Free

  • REST API - Build custom apps, dashboards, and integrations with full API access
  • Static Export - Export to static HTML and host anywhere, no server needed
  • Templates - Get started in minutes with pre-built FAQ, KB, Changelog, or Blog templates

Quick Start

# Clone and install
git clone https://github.com/KevinTrinh1227/discolink.git
cd discolink && pnpm install

# Configure
cp .env.example .env
# Add your Discord bot token and credentials

# Run
pnpm db:push && pnpm dev

Full Setup Guide


Documentation & Links


Star History

Star History Chart

Built by Kevin Trinh | MIT License