Lightweight automated build & deployment management platform with multi-environment support, version rollback, real-time log monitoring, and container/Kubernetes orchestration presets. Single Go binary, zero external database dependencies.
- Project & Environment Management: Multi-project architecture, automatic numbering, project grouping, and independent pipelines for SIT, UAT, and PROD environments.
- Git Integration: Full SSH & HTTPS support, automatic fetching of branches and tags, and deployment from specific Git commits.
- Real-Time Logs & Deployment Visualizer: SSE streaming of build logs, real-time node-by-node deployment status indicators and progress fractions, and instant job cancellation.
- One-Click Version Rollback: Historical builds are archived, enabling instantaneous redeployment without re-triggering builds.
- Rich Command Presets (Docker / K8s / Language Toolchains):
- Built-in one-click command templates accessible right beside command editors.
- Docker Commands: Image build & push, BuildKit cache optimization, Docker Compose rolling update, container restart, and dangling image cleanup.
- Kubernetes (K8s) Commands:
kubectl set imagerolling updates,kubectl apply & restartdeclarative deployments,kubectl rollout undoinstant rollback, and ConfigMap reloads. - Traditional Toolchains: Java Maven, Node.js frontend builds, Go static compilation, Systemd service reload, and PM2 process management.
- Custom command templates can be saved directly from the UI.
- Version & Update Alerts:
- Topbar and footer dynamically display current version and official GitHub repository link.
- Automatic Update Detection: Checks GitHub Releases API in the background. If a new version is detected, a glowing update badge with pulsing animation appears.
- Update Details Modal: Click the version badge to inspect current vs. latest version, view release notes, and jump directly to GitHub Releases.
- Worker Pool: Distributed build workers with intelligent load balancing based on worker weights and busy states.
- Multi-Node Deployment: Parallel artifact distribution via SSH or local directory sync.
- Encrypted Secrets Management: AES-256-GCM hardware-accelerated encryption for Git credentials, SSH private keys, and Webhook tokens.
- Full System Backup & Restore: One-click JSON backup export and restore covering all nodes, secrets, projects, and user permissions.
- Remote Node Console: Integrated xterm.js terminal over WebSockets for direct interactive server administration.
- Role-Based Access Control (RBAC): Admin and standard user roles with fine-grained project and node group permissions.
- Instant Notifications: Webhook integration for WeCom (企业微信) and Feishu (飞书).
- Internationalization (i18n): Out-of-the-box support for Simplified Chinese, English, and Traditional Chinese.
- Build & Push (Build)
docker build -t your-registry.example.com/app:${BUILD_VERSION:-latest} . docker push your-registry.example.com/app:${BUILD_VERSION:-latest}
- Docker Compose Rolling Deployment (Deploy)
docker compose pull docker compose up -d --remove-orphans docker image prune -f
- Single Container Restart (Deploy)
docker pull your-registry.example.com/app:${BUILD_VERSION:-latest} docker stop your-app || true docker rm your-app || true docker run -d --name your-app --restart=always -p 8080:8080 your-registry.example.com/app:${BUILD_VERSION:-latest}
- Rolling Update (Deploy)
kubectl set image deployment/your-app your-app=your-registry.example.com/app:${BUILD_VERSION:-latest} -n default kubectl rollout status deployment/your-app -n default --timeout=180s
- Declarative Apply & Restart (Deploy)
kubectl apply -f k8s/ -n default kubectl rollout restart deployment/your-app -n default kubectl rollout status deployment/your-app -n default --timeout=180s kubectl get pods -l app=your-app -n default
- Instant Rollback (Deploy)
kubectl rollout undo deployment/your-app -n default kubectl rollout status deployment/your-app -n default --timeout=120s
Download pre-compiled binaries from GitHub Releases:
code-dep-*-linux-amd64.tar.gz— Linux x86_64code-dep-*-linux-arm64.tar.gz— Linux ARM64code-dep-*-darwin-amd64.tar.gz— macOS Intelcode-dep-*-darwin-arm64.tar.gz— macOS Apple Siliconcode-dep-*-windows-amd64.tar.gz— Windows x86_64
# Extract and launch
tar -xzf code-dep-*.tar.gz && cd code-dep-*
./code-dep
# Custom port or data directory
PORT=9000 DATA_DIR=/var/data/code-dep ./code-depgit clone https://github.com/tim-today/Code-Dep.git
cd Code-Dep
go build -ldflags="-s -w" -o code-dep ./cmd/server
./code-depDefault credentials: admin / 123456. Please change password upon first login.
Web UI available at http://localhost:8080.
# Using docker-compose
docker-compose up -d
# Or manual container launch
docker build -t code-dep .
docker run -d -p 8080:8080 -v code-dep-data:/app/data --name code-dep code-dep- Backend: Go Standard Library,
golang.org/x/crypto/ssh,github.com/gorilla/websocket - Frontend: Vanilla HTML5, CSS3, ES6+ (Zero external UI dependencies)
- Data Store: Filesystem with AES-256-GCM encryption
- Streaming: Server-Sent Events (SSE) & WebSockets
