Skip to content

Releases: apon133/CodeDroid

CodeDroid v0

03 Jun 21:41

Choose a tag to compare

CodeDroid v0 Pre-release
Pre-release

CodeDroid v0.1.0 — Initial Public Release

Release date: June 4, 2026
Tag: v0.1.0
License: GPL-3.0


Overview

We are excited to ship the first stable public release of CodeDroid — a free, open-source mobile IDE and on-device code execution engine. Write, compile, run, and debug real projects using native system toolchains on Android, iOS (via network bridge), desktop, and the web — without cloud sandboxes or emulated runtimes.

This release establishes the three core modules that power the ecosystem:

Module Stack Role
codedroid_api Rust (Axum) Backend engine — compilers, LSP, file I/O, process control
codedroid_frontend Leptos (WASM) Mobile-first web IDE — editor, diagnostics, previews
apps/ Flutter & Tauri Native wrappers for Android and desktop platforms

Highlights

  • Real native compilation on the host device (rustc, gcc, kotlinc, node, pip, and more)
  • LSP-powered IntelliSense — completions, hover docs, go-to-definition, references, and inline diagnostics
  • Smart quick-fix suggestions for common Rust, Python, and JavaScript/TypeScript compiler errors
  • Mobile-first UI — touch-optimized file drawer, tabs, 100dvh layouts, and narrow-screen autocomplete
  • Live web preview with LAN URL rewriting for cross-device testing (Vite, Next.js, etc.)
  • Offline-capable editor with regex-based fallback suggestions when LSP is unavailable
  • Cross-device workflow — use iPhone/iPad as the editor while Android or PC runs the API server

What's included in v0.1.0

Backend (codedroid_api)

  • Multi-threaded Axum HTTP API on port 3000 (configurable)
  • Async code execution with stdout / stderr capture and PID-based process stop
  • Language Server Protocol (LSP) coordination over JSON-RPC (stdio)
  • File operations: sync, read, create, copy, move, delete
  • Dependency installation (cargo, npm, pip, etc.)
  • Diagnostic polling and rule-based error suggestions
  • LSP binary resolution for Termux, Homebrew, and npm global paths

Frontend (codedroid_frontend)

  • Leptos + WebAssembly IDE with syntax highlighting (Syntect)
  • Project home, templates (React, Vue, Svelte, Next.js, Remix, Angular, and more)
  • Editor: tabs, file tree, in-file and global search, console footer
  • Save-triggered LSP sync (didChange / didSave)
  • Settings for custom backend URL and connectivity test
  • Built-in language documentation browser

Native apps (apps/)

  • Flutter AndroidInAppLocalhostServer on port 8080 for WASM-safe offline loading
  • Tauri Desktop — lightweight macOS, Windows, and Linux wrapper (< 20 MB footprint)
  • sync_assets.sh — one-command frontend build sync to both wrappers

Supported languages (v0.1.0)

Rust, Python, Go, JavaScript, TypeScript, TSX, Java, C, C++, Dart, Ruby, Swift, Kotlin, Haskell, R, Perl, Pascal, Scala, HTML, CSS, Svelte, Vue — with per-language setup guides in docs/languages/.


Getting started

Quick try (browser)

  1. Start the API: cd codedroid_api && cargo run --release
  2. Serve the IDE: cd codedroid_frontend && trunk serve --port 8082 --address 0.0.0.0
  3. Open http://<your-ip>:8082 and point Settings → Backend Server to http://<your-ip>:3000

Live demo: codedroid.netlify.app

Android (Termux)

Follow the step-by-step guide: TERMUX_SETUP.md

One-line API bootstrap:

pkg update -y && pkg upgrade -y && pkg install -y git rust && \
  git clone https://github.com/apon133/CodeDroid.git && \
  cd CodeDroid/codedroid_api && cargo run --release

Android (Flutter APK)

./apps/sync_assets.sh
cd apps/flutter_android
flutter build apk --release

Output: apps/flutter_android/build/app/outputs/flutter-apk/app-release.apk

Desktop (Tauri)

./apps/sync_assets.sh
cd apps/tauri_desktop
pnpm install
pnpm tauri build

See apps/tauri_desktop/README.md for platform-specific prerequisites.


Release assets (attach when publishing)

When creating this release on GitHub, attach binaries built from the tags above, for example:

Asset Description
CodeDroid-v0.1.0-android.apk Flutter release APK
CodeDroid-v0.1.0-macos.dmg Tauri macOS bundle (optional)
CodeDroid-v0.1.0-windows.msi Tauri Windows installer (optional)
CodeDroid-v0.1.0-linux.AppImage Tauri Linux bundle (optional)

Note: Source code is always available via the v0.1.0 tag. Pre-built artifacts are optional; build instructions are documented above.


System requirements

Platform Requirements
Android (Termux) Termux from F-Droid (not Play Store); language toolchains per docs/languages/
Android (Flutter) Flutter SDK 3.10+, Android SDK
Desktop (Tauri) Node.js LTS, pnpm, Rust; WebView2 (Windows) or WebKitGTK (Linux)
Web IDE Modern browser with WebAssembly; network access to API host
iOS / iPad (remote) Safari or Chrome on same Wi‑Fi; see NETWORK_ACCESS.md

Known limitations

  • Integrated Git UI, OPFS folder picker, and interactive web terminal are on the roadmap — not yet in v0.1.0.
  • iOS does not run native compilers locally; use network bridging to an Android or desktop host.
  • LSP quality depends on installed language servers on the host device.
  • First-time cargo run --release compiles dependencies and may take several minutes on mobile hardware.

API surface (summary)

REST endpoints include: /run, /stop, /sync_file, /complete, /definition, /references, /hover, /diagnostics, /error_suggestions, /format, /add_package, file CRUD routes, and /ping. Full specifications: README — API section.


Community & support


Acknowledgments

Thank you to everyone who tested early builds, reported issues, and helped shape the mobile-first editor experience. This release is the foundation for desktop-class development on phones and tablets.


Checksums (optional)

Add SHA-256 checksums here after you upload release binaries:

# Example (replace with actual hashes after build)
# shasum -a 256 CodeDroid-v0.1.0-android.apk

Full changelog: Initial public release — all features listed above ship for the first time under v0.1.0.

CodeDroid — Because real developers code everywhere.