invokevirtual
← Back to Projects
Open Source

Cosmic IDE

A desktop-class IDE for Android, powered by a full Linux environment.

726 stars 101 forks View on GitHub →
KotlinJavaC/C++Arch Linux ARMGradleLSP

An open-source, general-purpose integrated development environment built for Android devices. Powered by an embedded Arch Linux ARM environment with pacman integration, it provides real compilers, Gradle builds, LSP diagnostics, a full terminal, and Git support — all running offline on a phone or tablet.

Key Features

Architecture & Engineering

Traditional mobile code editors rely on remote compilation servers or heavily stripped-down runtimes. Cosmic IDE takes a fundamentally different approach: it hosts a full Arch Linux ARM environment inside Android user-space using PRoot virtualization. No root access or bootloader unlocking is required.

Core Capabilities

Arch Linux Toolchain

Uses pacman package management to pull compiler builds directly onto your device, installing native clang, rustc, openjdk, and build utilities without modification.

Language Server Protocol

Integrates LSP clients connecting to Eclipse JDT LS for Java and Metals for Scala, delivering desktop-level semantic autocomplete, refactoring, and code navigation.

Native Terminal & Shell

Includes a hardware-accelerated terminal emulator wired directly to your Linux container with zsh/bash, tmux, and full POSIX pipe support.

Offline-First Builds

Gradle, javac, and kotlinc execute locally on ARM processors, turning Android tablets into standalone developer workstations.

Technical Specifications