# Open source

> Minekube is open source under the MIT license, in one public repository - the Minekube plugin, the SDKs, the CLI, the Minekube API, the relay and the examples - built on the idea of primitives, not policy.

Minekube is open source under the MIT license, copyright 2026 Minekube and Contributors. Everything is in one repository, [github.com/minekube/minekube](https://github.com/minekube/minekube). What Minekube runs for you is built from the same code.

## Why open source

A platform that runs your games and your network should be one you can read, check and run yourself. Open source gives you that:

- **You can see what runs on your servers.** The Minekube plugin, its connector and the SDKs are in the repository.
- **You are never locked in.** You can [run your own Minekube API and relay](https://minekube.com/guide/networks/self-host), and your games run on any Paper server with the Minekube plugin.
- **The SDKs are the same for everyone.** Our own features, such as the hub and its live view, are bundles on the public SDKs.

## Primitives, not policy

Minekube provides primitives: an identity for every server, a boundary around every network, and facts the registry has checked, such as labels. It does not decide how your network works. Where a player goes, who may join, and when a game updates are your code's decisions, written with the same SDKs we use.

## What is in the repository

| Folder | What |
| --- | --- |
| `apps/paper-runtime`, `apps/velocity-runtime`, `apps/fabric-runtime`, `apps/runtime-core` | The Minekube plugin for Paper and Velocity, the client runtime for Fabric, and their shared core |
| `packages/paper`, `packages/velocity`, `packages/client`, `packages/runtime` | The SDKs: `@minekube/paper`, `@minekube/velocity`, `@minekube/client`, and the runtime they share |
| `packages/network` | `@minekube/network`: the registry's messages, the Minekube API, label selectors |
| `packages/connector`, `apps/relay`, `apps/api` | Connect's connector and relay, and the Minekube API |
| `tools/minekube-cli` | The `mk` CLI |
| `apps/web`, `packages/view` | The web app with the live view |
| `apps/hub` | The Minekube hub |
| `examples` | The [example games](https://minekube.com/games/examples/) |

## Releases

Every build of `main` that passes CI is a [GitHub release](https://github.com/minekube/minekube/releases). Its assets include the Minekube plugin jars, the CLI and the SDK packages, and a `manifest.json` with the SHA-256 of every file.
