{"id":18674174,"url":"https://github.com/mnthomson/ctfr","last_synced_at":"2025-11-07T01:30:38.022Z","repository":{"id":207081877,"uuid":"718390218","full_name":"MNThomson/CTFr","owner":"MNThomson","description":"Optimized CTFd written with Rust \u0026 HTMX","archived":false,"fork":false,"pushed_at":"2024-02-14T01:18:10.000Z","size":226,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-27T20:48:03.988Z","etag":null,"topics":["ctf","ctfd","htmx","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MNThomson.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-11-14T01:15:52.000Z","updated_at":"2024-06-20T15:58:20.000Z","dependencies_parsed_at":"2023-11-24T08:30:54.558Z","dependency_job_id":"da35dcb7-9d34-43eb-a0c1-14655478ee43","html_url":"https://github.com/MNThomson/CTFr","commit_stats":null,"previous_names":["mnthomson/ctfr"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MNThomson%2FCTFr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MNThomson%2FCTFr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MNThomson%2FCTFr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MNThomson%2FCTFr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MNThomson","download_url":"https://codeload.github.com/MNThomson/CTFr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239515487,"owners_count":19651754,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ctf","ctfd","htmx","rust"],"created_at":"2024-11-07T09:17:51.496Z","updated_at":"2025-11-07T01:30:37.986Z","avatar_url":"https://github.com/MNThomson.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CTFr\n\n[\u003cimg alt=\"github\" src=\"https://img.shields.io/badge/github-MNThomson/CTFr-bc3f48?style=for-the-badge\u0026labelColor=555555\u0026logo=github\" height=\"20\"\u003e](https://github.com/MNThomson/CTFr)\n[\u003cimg alt=\"crates.io\" src=\"https://img.shields.io/crates/v/CTFr.svg?style=for-the-badge\u0026color=fc8d62\u0026logo=rust\" height=\"20\"\u003e](https://crates.io/crates/CTFr)\n[\u003cimg alt=\"build status\" src=\"https://img.shields.io/github/actions/workflow/status/MNThomson/CTFr/ci.yml?branch=master\u0026style=for-the-badge\u0026logo=githubactions\u0026logoColor=white\" height=\"20\"\u003e](https://github.com/MNThomson/CTFr/actions?query=branch%3Amaster)\n\n## Introduction\n\nCTFR is an optimized complete rewrite of [`CTFd`](https://github.com/CTFd/CTFd) written with Rust \u0026 HTMX. I've personally stuggled to run CTFd performantly, and often had CTFs I've competed in come to a stand still or `5xx` when they start.\n\nA CTF platform frontend is extremely simplistic (mostly just static HTML), so let's use [`HTMX`](https://htmx.org/)! Of course for the backend, we need performance...so let's use [`Rust`](https://www.rust-lang.org/) (in the spirit of Meme-Driven-Development)!\n\n## Development\n\nCTFr can be run locally for either further development or customization.\n\n\u003e [!NOTE]\n\u003e **BEFORE** you run the following steps make sure:\n\u003e - You have (a recent version of) Rust installed locally on you machine ```rustup update \u0026\u0026 rustup install nightly```\n\u003e - You have `docker` \u0026 `docker-compose` installed and running\n\n```shell\n# 1. Clone the repository\ngit clone https://github.com/MNThomson/CTFr.git \u0026\u0026 cd CTFr\n\n# 2. In another terminal, run the required postgres docker container\ndocker-compose up\n\n# 3.1 To start developing, run CTFr\ncargo run\n\n# 3.2 Or auto rebuild/run on file save (requires the mold linker \u0026 cranelift backend)\ncargo r\n```\n\nThe development environment is now running and accesible at https://localhost:4321/\n\n#### License\n\n\u003csup\u003e\nLicensed under \u003ca href=\"LICENSE\"\u003eGPLv3\u003c/a\u003e\n\u003c/sup\u003e\n\u003cbr\u003e\n\u003csub\u003e\nUnless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you shall be licensed as above, without any additional terms or conditions\n\u003c/sub\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmnthomson%2Fctfr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmnthomson%2Fctfr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmnthomson%2Fctfr/lists"}