Self-host CTFd
3.8.9Open-source Capture The Flag competition platform
docker run -p 8000:8000 -it ctfd/ctfd- Stars
- 6 902
- CPU
- dual core CPU
- RAM
- 1 GB
- Port
- 8000 (CTFd web application)
ctfd/ctfdWhat is CTFd?
CTFd is a web platform for running Capture The Flag competitions and cybersecurity training events, aimed at organizers, schools, and companies. Its admin panel lets you build challenges, categories, hints, and flags, with dynamic scoring, unlockable and hidden challenges, static or regex flag checking, attempt limits, and automatic brute-force protection. Events can be played solo or by teams, and the scoreboard offers automatic tie resolution, score freezing, public score hiding, and top-10 progress graphs. Other capabilities include SMTP email with confirmation and password resets, filesystem or S3-compatible file uploads, scheduled event start/end times, team management, an import/export system for archiving competitions, and deep customization through plugins and themes. You can try it on the public demo, or self-host it with the ctfd/ctfd Docker image, the bundled Docker Compose stack (nginx + MariaDB + Redis), Vagrant, or any WSGI server such as gunicorn; a SQLite database is created automatically when none is configured, and Redis caching falls back to the filesystem. Webhooks and Slack/Discord notification integrations are limited to hosted and enterprise tiers, while the open-source core stays free.
CTFd alternatives
pwnflowPwnflow is a self-hosted, open-source mind-mapping platform for cybersecurity professionals to visualize and track security testing methodologies with AI assistance.Comparepwnflow with CTFd
CodeVerdictA self-hosted platform for running programming tests with live rankings, penalty scoring, and instant code execution. Gives educators full control over assessments.CompareCodeVerdict with CTFd
rhombusRhombus is a self-hosted, open-source CTF platform in Rust with ticket system, Discord integration, CTFtime feeds, health checks, and plugin system.Comparerhombus with CTFd
juice-shopA self-hosted, open-source vulnerable web app with OWASP Top Ten flaws and hacking challenges tracked on a score board, run via Docker, npm or packaged builds.Comparejuice-shop with CTFd
TRAWLA self-hosted, open-source scraping engine that bypasses JavaScript challenges and CAPTCHAs using an adaptive tier engine with HTTP-first approach and MCP support.CompareTRAWL with CTFd
TriviaForgeSelf-hosted trivia game with live presenter quizzes, solo mode, and spectator displays for 50+ players. Features persistent sessions, 2FA, and PDF exports.CompareTriviaForge with CTFd
HackTricksSelf-hosted cybersecurity knowledge base for pentesting, red team, cloud security. Open-source educational resource by carlospolop with multi-language support.CompareHackTricks with CTFd
folderhostA self-hosted, open-source cloud platform offering file sharing, real-time collaboration, and user management in a ~19MB binary as a lightweight Nextcloud alternativeComparefolderhost with CTFd
Should you self-host CTFd?
CTFd scores 70/100 on selfhost.directory (how scoring works) and ranks #1 of 31 in Education. It has 6 902 GitHub stars, +37 in the last 30 days.
It shipped 8 stable releases in the past year. The latest, 3.8.9, came out on 22 October 2026. New versions land roughly every 4 weeks.
Setup is easy: most people get it running in one sitting. An official Docker image is available. It is Apache-2.0-licensed and written mostly in Python.
Its closest alternative on selfhost.directory is learnhouse (65/100, 2 459 stars). CTFd scores higher overall. See CTFd vs learnhouse side by side.
Features
- Admin interface for challenges, flags and hints
- Attempt limiting and hidden challenges
- Brute-force Protection
- Dynamic scoring
- Email notifications
- File upload challenges
- Import/export of CTF data
- Individual and team play
- Plugins and Themes
- REST API
- Scheduled competition start and end
- Scoreboard with freezing and tie resolution
- Score graphs
- Static and regex flags
- Unlockable challenges
CTFd README
More in Education
DerbyNetSelf-hosted Pinewood Derby race manager with real-time check-in, scheduling, live displays, instant replay, and awards. Runs on Docker, Windows, Mac, Linux, or Pi.
Didacta CommunitySelf-hosted fair-code LMS with modular architecture, Fundae/RGPD/WCAG compliance, AI tutor, Zoom, Stripe, SCORM — a modern Moodle alternative.
DigiboardSelf-hosted, open-source collaborative whiteboard for classes and remote teams, with drawing tools, colored labels, pinned comments, multi-page boards and PNG export.
DigibunchSelf-hosted, open-source link-hub written in PHP for curating collections of web links with categories, grid/list views, embed codes, QR sharing and backups.
DigibuzzerOpen-source, self-hosted buzz-in quiz app: a host runs a live game room where players buzz with on-screen buttons, earn points, and results export to CSV.
Digicardself-hosted, open-source web app for composing simple graphics and virtual cards: text, images, shapes, Pixabay backgrounds and image export, with no account needed.
DigiflashcardsSelf-hosted open-source flashcard app for making multimedia card sets with auto-generated quiz, writing and matching exercises, exportable as a standalone HTML page.
DigipadSelf-hosted, open-source collaborative multimedia wall: pads of cards with files, audio and links for classes or remote teams. Node and Redis, Docker Compose deploy.
DigiquizOpen-source, self-hosted web interface that plays H5P interactive content and quizzes via H5P Standalone, built on PHP 8+ with SQLite or MySQL storage.
DigirecordAudio recording and sharing app for education, self-hosted on PHP 8.4+ with SQLite or MySQL database support and S3 object storage.
DigiscreenSelf-hosted open-source classroom background from La Digitale: combine QR codes, drawing, YouTube, timers, word clouds, TTS and exercises into .dgs boards.
DigislidesDigislides is a self-hostable web application for creating multimedia presentations quickly and easily, with support for local or S3 storage, Pixabay integration, and multilingual interfaces.



0 comments