CH
ch1kim0n1/HackForge
MindCore's open source hackathon oriented software. All in one hackathon bootstrap aka "hackathon starter" tool.
MindCore Forge v2
MindCore Forge is an all-in-one hackathon starter generator.
Beginner flow (recommended)
- Clone and install dependencies.
- Run
./runner.sh. - Select template preferences in the guided terminal window.
- HackForge generates the project outside the HackForge folder (in its parent directory).
- HackForge schedules self-deletion after successful generation.
Start here
- Fastest onboarding:
QUICKSTART.md - Full startup and safety notes:
STARTUP.md - Command reference:
USAGE.md - Migration details:
MIGRATION.md
Install
git clone https://github.com/ch1kim0n1/HackForge.git
cd HackForge
npm installRun with guided runner
./runner.shDependency behavior:
- JS projects install with
npm installautomatically when install is enabled. - Non-JS toolchains (Python/Go/Rust/Flutter) are scaffolded and manual commands are printed after generation.
By default, runner mode deletes the HackForge folder after a successful generation.
Deletion runs only if strict safety checks pass:
- target path matches current repo realpath
- folder name is exactly
HackForge - marker + package identity checks pass
To disable self-deletion (for development/testing):
HACKFORGE_SKIP_SELF_DESTRUCT=1 ./runner.shAdvanced CLI (optional)
# Interactive
node bin/forge.js
# Non-interactive
node bin/forge.js --name my-app --stack react-express --description "Realtime dashboard"
# Output somewhere else
node bin/forge.js --name my-app --stack react-express --output-dir ../Web API contract
Generated web templates follow:
GET /api/healthGET /api/itemsPOST /api/itemsPUT /api/items/:idDELETE /api/items/:id
Optional feature implementations
auth: backend auth routes + frontend auth servicedatabase: SQLite init/migration scripts + DB env wiringapi-docs: OpenAPI spec + docs endpoint wiringtesting: executable frontend/backend contract testscicd: CI workflow with lint/test/security auditenv: generated.env.examplefiles with required keys
Production baseline included
- security middleware and auth secret wiring
- readiness + metrics endpoints (
/api/ready,/metrics) - Docker healthchecks and restart policies
- CI lint/test/security audit stages
Testing
npm test