Skip to content
BlackCat edited this page Nov 29, 2026 · 3 revisions
TwilightMC logo

TwilightMC

A clean-room Minecraft launcher and server manager, rebuilt from scratch in pure Rust.

Latest release Downloads License Rust 2024 Platforms Discord

Download · Install · Use the CLI · Build from source · Architecture · Package repos


No Mojang assets. No copied launcher code. One binary. TwilightMC is an independent implementation: the metadata pipeline, download engine, loader compositing, authentication, server manager and desktop UI are all original Rust. It borrows the format — because that is what makes Minecraft launchers interoperable — never the code or the assets.

The short version

TwilightMC is a Prism Launcher–style core with a modern Tauri desktop shell. The twilight CLI is dependency-free; the twilight-ui GUI adds instances, accounts, mods, servers and a live console. Both are built from the same thirteen-crate workspace and shipped for Windows, macOS and Linux.

13 7 4 0
focused crates build targets release channels Mojang assets bundled

What it does

🚀 End-to-end launches

twilight launch resolves a version through the metadata failover chain, stages the manifest and client jar, downloads every library in parallel with SHA-1 verification, fills the asset store, extracts natives with 7-Zip, assembles the JVM command line and streams the game output back to you.

🧩 Seven-loader compositing

Fabric, Quilt, Forge, NeoForge, Legacy Fabric, CleanroomMC and OrnitheMC resolve into one composite launch: the loader main class takes over, loader libraries lead the classpath, and the vanilla client jar stays last.

📦 Modrinth & universal packs

Install .mrpack from a path or URL, browse Modrinth in the GUI, drag and drop .mrpack / .zip / .twpack, or import Prism/MultiMC instances and CurseForge manifest.json packs. Overrides are extracted with zip-slip guards.

🔐 Accounts & 3D skins

Microsoft OAuth2 device-code sign-in (Xbox Live → XSTS → Minecraft Services), MSA refresh tokens, offline v3 UUIDs, custom Yggdrasil/Ely.by servers with a sha256-verified authlib-injector, plus an in-app 3D skin and cape editor.

🖥️ Server creator & Minekube Connect

Vanilla, Paper, Purpur, Fabric, Forge, NeoForge, Velocity, PumpkinMC and SteelMC servers with version/build resolution, EULA and server.properties editors, live console, CPU/memory metrics, backups and the Minekube Connect tunnel.

⚡ Native Horizon engine

Clean-room integration with horizon-client (prepared-resource schema 7, read-once session on stdin). Releases install from Settings; Mojang assets are prepared on demand and linked from the CAS — never bundled.

🗂️ uv-style zero-copy storage

The Apache-2.0 twilight-cas crate ingests blobs into a global SHA-1 store and links them with a hardlink → NTFS junction → symlink → copy cascade, so instances share libraries/, assets/ and mods without admin rights.

☕ Multi-vendor Java downloader

Settings can download/install verified JDK/JRE runtimes from 8 vendors: Adoptium, Mojang, Azul Zulu, BellSoft Liberica, Amazon Corretto, Microsoft OpenJDK, Oracle GraalVM, and OpenLogic. Checksums are verified before extraction, archives are unpacked with zip-slip guards, and runtimes are probed/registered automatically.

♿ Accessibility, themes & localization

Nine theme presets, Blind Mode with Minecraft Access guidance, Deaf Mode with enforced subtitles, and a complete English/Vietnamese Fluent catalogue with a live language switch. Developer Mode is a deliberate 7-click unlock.

Get running

1 · Pick a channel. Stable is the safest; Snapshot is the newest.

Channel Tag What you get
🟢 Stable vX.Y.Z milestone release, full notes
🟡 Star (beta) vX.Y.ZbN feature-complete, pre-release
🟠 Bolide (alpha) vX.Y.ZaN early builds, pre-release
🔵 Snapshot snapshot every push to main, rolling pre-release

2 · Download and unpack. Grab the archive for your platform from GitHub Releases. Windows/macOS ship .zip; Linux ships .tar.zst.

tar -xf twilight-…-linux-x86_64.tar.zst   # Linux
unzip twilight-…-windows-x86_64.zip       # Windows / macOS

3 · Launch.

./twilight-ui        # desktop GUI
./twilight launch latest --dry-run   # inspect the plan, download nothing
./twilight launch latest             # actually launch

Tip: Every archive contains both binaries and the governance docs. Keep the folder together — the MinGW build needs the DLLs beside twilight-ui.exe.

Prefer a package manager?

# Debian / Ubuntu
curl -fsSL https://blackcatofficialytb.github.io/TwilightMC-OSS/keyring/pubkey.gpg \
  | sudo gpg --dearmor -o /usr/share/keyrings/twilightmc.gpg
echo "deb [signed-by=/usr/share/keyrings/twilightmc.gpg] https://blackcatofficialytb.github.io/TwilightMC-OSS/apt stable main" \
  | sudo tee /etc/apt/sources.list.d/twilightmc.list
sudo apt update && sudo apt install twilight-mc

The same repositories serve beta, alpha and snapshot; Fedora/RHEL users get a signed DNF repo. Full walkthrough: Package repositories.

Documentation map

I want to… Read
install on Windows, macOS or Linux Installation
learn the CLI, flags and on-disk layout Usage
understand the thirteen crates Architecture
build and run the quality gates Building from source
follow or publish a release channel Release channels
set up APT or DNF Package repositories
contribute code or docs Contributing
know what is Apache-2.0 and what is AGPL Licensing
see the projects that inspired this one Credits

Built in the open

Every binary is compiled by the public workflows in .github/workflows/ from public commits. Each release ships a checksums.sha256; verify it before running an archive. Binaries are currently unsigned, so Windows SmartScreen and macOS Gatekeeper may warn on first launch — the checksum is the trust anchor.


TwilightMC is an independent project and is not affiliated with Mojang Studios or Microsoft. Minecraft is a trademark of Mojang Synergies AB.

Clone this wiki locally