FluffBoost

Run it locally

Get the FluffBoost bot running on your machine with Bun and Docker Compose.

Prerequisites

  • Bun (the project runs TypeScript directly — no build step)
  • PostgreSQL 16 and Redis 7 (or just use the bundled Docker Compose)
  • A Discord application with a bot token

Setup

Clone and install

Install once at the workspace root — Bun resolves every app in the monorepo.

git clone https://github.com/MrDemonWolf/fluffboost.git
cd fluffboost
bun install

Start local infrastructure

docker compose up -d

This brings up PostgreSQL and Redis on localhost with the defaults the bot expects.

Configure the bot

cp apps/discord/.env.example apps/discord/.env

Fill in your Discord credentials and IDs. See Configuration for every variable.

Run in watch mode

bun run dev:discord

Handy workspace scripts

Run these from the repo root — they fan out through Turborepo:

ScriptWhat it does
bun run dev:discordBot with hot reload
bun run dev:docsThis docs/marketing site
bun run testTest suites across the workspace
bun run typecheckTypeScript checks
bun run lint:checkESLint (no fixes)
bun run db:pushPush schema changes to the dev database
bun run db:seedLoad the starter quote library (safe to re-run)
bun run db:studioOpen Drizzle Studio

The bot uses Discord's ShardingManager: apps/discord/src/app.ts is the supervisor process that spawns shard processes running apps/discord/src/bot.ts.

On this page