explaingit

theonedev/onedev

Analysis updated 2026-06-24

14,986JavaAudience · ops devopsComplexity · 4/5Setup · moderate

TLDR

Self-hosted all-in-one dev platform in Java: Git hosting, code review, CI/CD with a visual editor, Kanban boards, package registries, and an AI assistant.

Mindmap

mindmap
  root((onedev))
    Inputs
      Git pushes
      Issue updates
      CI job specs
      Container images
    Outputs
      Code review threads
      Build artifacts
      Kanban moves
      Dashboards
    Use Cases
      Self host Git
      Run CI pipelines
      Track issues
      Host packages
    Tech Stack
      Java
      Docker
      Kubernetes
      PostgreSQL
      MySQL
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Self-host a GitLab-style platform with Git, issues, CI, and package registry in one app

USE CASE 2

Replace a separate Jenkins and Jira setup with one OneDev instance

USE CASE 3

Run CI/CD pipelines on Kubernetes with a graphical editor instead of raw YAML

USE CASE 4

Open a browser dev container against a repo for quick code review

What is it built with?

JavaDockerKubernetesPostgreSQLMySQL

How does it compare?

theonedev/onedevsupertokens/supertokens-corezhisheng17/flink-learning
Stars14,98615,03715,053
LanguageJavaJavaJava
Last pushed2026-05-06
MaintenanceMaintained
Setup difficultymoderatemoderatehard
Complexity4/54/54/5
Audienceops devopsdeveloperdata

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 1h+

Docker image is straightforward, but a real install needs an external database, persistent storage, and a reverse proxy with TLS before you can invite users.

In plain English

OneDev is a self-hosted Git server that bundles several team tools into one application. It pairs Git hosting with CI/CD pipelines, a Kanban board for tracking issues, and built-in package registries for binary artifacts. The project is open source and the team develops it on their own instance at code.onedev.io, where they also accept issues and pull requests. On the code side, OneDev offers symbol search and navigation that understands the language you are looking at, so clicking a symbol shows where it appears in a file. There is a regular-expression search across the codebase, and code review tools include selecting any line or diff to start a discussion, suggesting changes, and annotating files with test coverage and problems found during CI/CD. Protection rules can require review or a passing build when certain users touch certain files on certain branches. The issue and project side covers automated Kanban boards that move cards based on commits, tests, releases, or deployments. Issues can use custom states and fields, automatic state transitions, and links between tickets. A service desk feature lets customers open tickets by email without an account, and time tracking aggregates estimates and spent time from subtasks into time sheets. CI/CD is configured through a graphical editor rather than only YAML, with templates, typed parameters, matrix jobs, and caching. Jobs can run in containers, on bare metal, or scale out with Kubernetes or remote agents. Debug tools include pausing a job, opening a web terminal into its environment, and running a job locally against uncommitted changes. A Renovate integration opens pull requests to update dependencies. Other features described in the README include a built-in AI assistant for natural-language queries and code review, an MCP server so external AI agents can manage issues and builds, browser-based dev container workspaces, custom dashboards, a command palette, source-lines-of-code trend charts, and cluster setup for high availability and horizontal scaling. The repository is written mainly in Java.

Copy-paste prompts

Prompt 1
Deploy OneDev with Docker Compose backed by PostgreSQL and a persistent volume
Prompt 2
Migrate a small team off GitHub to a self-hosted OneDev with imported issues
Prompt 3
Configure a OneDev CI pipeline that builds a Node app and pushes a Docker image
Prompt 4
Set up branch protection in OneDev that requires green CI and one approval for src files
Prompt 5
Run OneDev in a Kubernetes cluster with HA enabled and Renovate dependency updates

Frequently asked questions

What is onedev?

Self-hosted all-in-one dev platform in Java: Git hosting, code review, CI/CD with a visual editor, Kanban boards, package registries, and an AI assistant.

What language is onedev written in?

Mainly Java. The stack also includes Java, Docker, Kubernetes.

How hard is onedev to set up?

Setup difficulty is rated moderate, with roughly 1h+ to a first successful run.

Who is onedev for?

Mainly ops devops.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.