Skip to content

What is Kod?

Kod is a minimalist, self-hosted Git repository management system with built-in workflow automation. It provides the essential Git hosting primitives you need, packaged into a single portable binary with zero external dependencies.

Kod gives you a private Git server with CI-like workflows, token-based access control, collaborator management, and encrypted secrets — all in a single ~100KB file. No database servers, no container runtimes, no external services required.

  • Git Hosting: HTTP-based Git access (clone, push, pull) with token authentication
  • Workflow Automation: TOML-based workflows that run on push, with branch conditions and environment variable support
  • Access Control: Fine-grained token permissions and per-repository collaborators
  • Secrets Management: Encrypted per-repository secrets injected into workflow environments
  • Persistent Storage: Built-in key-value database (PikoDB) with atomic writes

Kod is distributed as a single JavaScript file. No build step, no Docker, no infrastructure — just run it.

The same binary works as both the server (kod serve) and the CLI client (kod repo list, kod workflow, etc.).

Kod has one runtime dependency (PikoDB for storage). No Redis, no PostgreSQL, no message queues. Data is stored in simple binary files on disk.

Run Kod on your own hardware — a VPS, a Raspberry Pi, or your laptop. No external services are contacted. Your code stays where you put it.

  • Solo developers who want a private Git server without the overhead of GitLab or Gitea
  • Small teams who need basic CI/CD without configuring Jenkins or GitHub Actions
  • Edge and constrained environments where a full Git platform is too heavy
  • Privacy-conscious projects that need to keep source code off third-party platforms

Install Kod and have a working Git server in under a minute:

Terminal window
# Install
curl -sSL https://releases.itskod.com/install.sh | bash
# Start server
kod serve --admin-token kod_my_secret
# Configure CLI (enter the same token when prompted)
kod init
# Create repo, clone, push
kod repo create my-app
kod clone my-app
cd my-app && echo "Welcome to Kod!" >> welcome.txt
git add . && git commit -m "feat: use kod" && git push origin main

See the Installation & Quickstart guide for the full walkthrough.