CodePilot is a local-first CI/CD dashboard inspired by GitHub Actions and powered by nektos/act.
Status:
In DevelopmentThe product is actively evolving. Expect fast iteration, UI improvements, and backend feature updates.
- GitHub OAuth login with repo-layer permissions
- Sync and manage repositories from your GitHub account
- Discover workflow files from
.github/workflows/*.yml - Trigger local pipeline runs via
act - Live queue + run updates through WebSockets
- Stream run logs in near real time
- Save encrypted workflow environment profiles in MongoDB
- Optional Redis cache with memory fallback
- Frontend: React + Vite + TypeScript (
src/) - Backend: Express + TypeScript (
backend/src/) - Database: MongoDB
- Cache: Redis (optional)
- Runner:
nektos/act(binary or Docker Compose mode) - Live transport: WebSocket (
/live)
- Node.js 20+
- npm 10+
- Git
- Docker Desktop (recommended for
actrunner mode) - MongoDB instance (local or hosted)
- Redis (optional)
git clone https://github.com/aiyu-ayaan/Code-Poilet
cd code-pilot
npm installCopy .env.example to .env and set values:
NODE_ENV=development
PORT=8090
APP_ORIGIN=http://localhost:5173
VITE_API_PROXY_TARGET=http://localhost:8090
MONGODB_URI=mongodb://localhost:27017/acthub
REDIS_URL=redis://localhost:6379
JWT_SECRET=replace-with-a-very-long-random-string-min-32-chars
ENV_ENCRYPTION_KEY=replace-with-another-long-random-string-min-32-chars
GITHUB_CLIENT_ID=your-github-oauth-client-id
GITHUB_CLIENT_SECRET=your-github-oauth-client-secret
GITHUB_CALLBACK_URL=http://localhost:8090/api/auth/github/callback
REPOS_ROOT=./runtime/repos
ACT_RUNNER_MODE=compose
ACT_BINARY=act
ACT_DOCKER_BINARY=docker
ACT_DOCKER_HOST=native
ACT_COMPOSE_FILE=docker-compose.local.yml
ACT_COMPOSE_SERVICE=act-runner
ACT_CONTAINER_REPOS_ROOT=/workspace/runtime/repos
ACT_REUSE_CONTAINERS=true
ACT_OFFLINE_MODE=true
MAX_CONCURRENT_RUNS=2
WORKER_POLL_INTERVAL_MS=2500
SESSION_TTL_HOURS=24In GitHub Developer Settings:
- Set
Homepage URLtohttp://localhost:5173 - Set
Authorization callback URLtohttp://localhost:8090/api/auth/github/callback - Copy client ID and client secret into
.env
Run the Dockerized act runner:
docker compose -f docker-compose.local.yml up -d --build act-runnerStart backend:
npm run dev:backendStart frontend:
npm run devOpen app:
http://localhost:5173
If Docker is only available inside WSL, set:
ACT_DOCKER_HOST=wslOtherwise keep:
ACT_DOCKER_HOST=nativedocker-compose.yml includes app services with MongoDB for a full stack deployment:
docker compose up --build -dnpm run dev- frontend (Vite)npm run dev:backend- backend in watch modenpm run dev:full- frontend + backend togethernpm run build- frontend production buildnpm run build:backend- backend TypeScript buildnpm run start:backend- run built backendnpm run lint- lint codebase
GET /api/auth/github/startGET /api/auth/github/callbackGET /api/auth/mePOST /api/auth/logoutPOST /api/repos/syncGET /api/reposGET /api/repos/:owner/:name/workflowsGET /api/repos/:owner/:name/workflows/:file/contentGET /api/repos/:owner/:name/env-profilePOST /api/repos/:owner/:name/env-profilePOST /api/runs/trigger/:owner/:nameGET /api/runs/historyGET /api/runs/:runIdGET /api/runs/status/queue
- Background queue worker with concurrency control
- Run dedupe (same repo + workflow + branch)
- Repo permission check before run trigger
- WebSocket-based live updates for queue + runs
- Encrypted env profile storage per workflow
- Redis caching with in-memory fallback
MIT License
Copyright (c) 2026 Ayaan
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.


