A public Discord bot for calmer, better-run hackathons.
Website | Add to Discord | Discord setup | Deployment
PipHackLup is a hackathon operations Discord bot for 100-500 person events. It helps organizers make Discord feel less chaotic by guiding newcomers, assigning roles, managing mentor queues, forming teams, tracking moderation cases, and giving staff a dashboard for event day.
Brand assets live in assets/:
- Discord/app icon:
assets/piphacklup-discord-avatar.png - Web favicon/app icon:
assets/piphacklup-avatar.png - Discord banner:
assets/piphacklup-banner.png - Website hero:
assets/piphacklup-site-hero.png - GitHub social preview:
assets/piphacklup-social-preview.png
- Website: https://piphacklup.vercel.app
- Public repo: https://github.com/rupayon123/PipHackLup
- Add to Discord: https://discord.com/oauth2/authorize?client_id=1512918151313231983&scope=bot+applications.commands&permissions=1117094267958
- Support and bugs: https://github.com/rupayon123/PipHackLup/issues
- Guided server setup with roles, channels, queues, moderation logs, and onboarding mode.
- Staff-trained hackathon Q&A so participants can ask event questions and get instant answers.
- Discord-linked website training where organizers sign in, pick a managed server, add FAQs, import event details, and preview answers.
- Human escalation for uncertain, mentor-needed, safety, conduct, judging, and staff-needed questions.
- Newcomer onboarding for nicknames, roles, hacker profiles, team finding, and help queues.
- Mentor, tech help, staff follow-up, and judging queues with claim, escalation, close, and transcripts.
- Team formation with solo profiles, recruiting teams, join requests, matching, and team channels.
- Moderation reports, staff actions, case history, audit logs, and Discord AutoMod setup guidance.
- Organizer dashboard for setup, Q&A training, queues, teams, moderation, settings, and CSV import/export.
/ask: ask PipHackLup a staff-trained question about the hackathon./train: staff-only training for event details, FAQs, escalation rules, roles, and help channels./setup: guided server setup for roles, channels, queues, moderation logs, and onboarding./onboard: newcomer checklist for nickname, roles, profile, team, and help./queue: mentor, tech help, staff follow-up, and judging/demo queues./team: solo profiles, recruiting teams, join requests, matching, and team channels./mod: reports, warns, timeouts, case history, and audit logs.
apps/bot Discord gateway bot and slash command handlers
apps/web Next.js organizer dashboard and Discord-linked Q&A trainer
packages/core Product logic shared by bot, dashboard, and tests
packages/db Drizzle schema, lazy database client, and shared knowledge storage
packages/ui Small shared UI helpers
docs Setup and deployment documentation
assets Public mascot/profile assets
corepack enable
pnpm install
cp .env.example .env.local
pnpm test
pnpm dev:webTo run the bot locally, create a Discord app in the Developer Portal, add the bot token/client ID to .env.local, then run:
pnpm dev:botRegister slash commands:
pnpm --filter @piphacklup/bot deploy:commandsStaff can train PipHackLup from /training on the website. Discord OAuth links the dashboard to the organizer account, shows servers where that account has Manage Server, and saves Q&A entries/settings for the selected server.
Live training needs these server-side env vars:
DISCORD_CLIENT_ID=
DISCORD_CLIENT_SECRET=
NEXTAUTH_URL=https://piphacklup.vercel.app
NEXTAUTH_SECRET=
DATABASE_URL=When DATABASE_URL is configured, website training and /train slash-command training use the same Postgres-backed knowledge source. Without the database, the page stays in preview mode so organizers can test the workflow safely.
Required scopes: bot, applications.commands.
Recommended permissions: View Channels, Send Messages, Embed Links, Attach Files, Read Message History, Manage Roles, Manage Nicknames, Manage Channels, Manage Threads, Moderate Members, Manage Guild, and optional Kick/Ban.
Enable the Guild Members intent. Keep Message Content intent disabled unless you intentionally enable ambient mention Q&A with PIPHACKLUP_AMBIENT_QA_ENABLED=true.
PipHackLup is built for public hackathon servers, so the codebase includes organizer RBAC, API and bot rate limiting, prompt-injection filtering for staff-trained Q&A, signed Discord dashboard sessions, Dependabot, and a CI secret-pattern scan.
See docs/security-baseline.md and SECURITY.md before adding new public endpoints, bot commands, or AI-assisted workflows.
PipHackLup is in public alpha. The website, repo, slash commands, and install link are live; the next major milestone is a hosted always-on bot process plus production database-backed dashboard flows.
