A truly offline multi-language IDE for Android — Python, JavaScript and Lua run out of the box, 17 more languages stay editable on your phone.
Three runtimes are bundled inside the APK: a natively cross-compiled CPython 3.13, Rhino for JavaScript and LuaJ for Lua. Zero downloads, zero network, zero ads, zero subscriptions.
Download APK · Website · Gitee Mirror
Keep your IDE in your pocket — code offline, anywhere.
| Termux | Pydroid 3 | Acode | Spck | CodePocket | |
|---|---|---|---|---|---|
| Offline after install | ❌ needs network | ❌ needs network | ✅ runtime bundled | ||
| Modern IDE UI | ❌ terminal only | ✅ | ✅ | ✅ | |
| Multi-file tabs / find & replace | ❌ | ✅ | ✅ | ✅ | ✅ |
| Offline Git | ✅ | ❌ | ✅ | ✅ | ✅ JGit |
| Native performance | ✅ | ✅ | — | — | ✅ native ARM64/x86_64 + pure-Java runtimes |
| AI assistant (BYOK) | ❌ | ❌ | ✅ cloud | ✅ cloud | ✅ custom endpoint |
| Open source & ad-free | ✅ GPL | ❌ paid | ✅ Apache-2.0 |
Our positioning: open source + ad-free + offline after install + native performance.
| Onboarding | Running | Output |
|---|---|---|
![]() |
![]() |
![]() |
| Git | AI Assistant | Command Palette |
|---|---|---|
![]() |
![]() |
![]() |
▶ Download demo video · 24s · 0.6MB · no audio
┌─────────────────────────────────────────────┐
│ Compose UI layer │
│ file tree · editor (Sora) · output · cmd │
└──────────────────┬──────────────────────────┘
│ JNI (jobject callbacks)
┌──────────────────▼──────────────────────────┐
│ RuntimeRegistry │
│ Python: NativeEngine + pybridge.c (JNI) │
│ JavaScript: Rhino · Lua: LuaJ │
│ pdb debugger · streaming stdout/stderr │
│ timeout · stdin · real PTY (forkpty) │
└──────────────────┬──────────────────────────┘
│ dlopen + sys.path
┌──────────────────▼──────────────────────────┐
│ jniLibs/<abi> (arm64-v8a / x86_64) │
│ libpython3.13.so · libpybridge.so │
│ libptybridge.so · C extensions │
│ assets/python-stdlib.zip (pure-Python std) │
└─────────────────────────────────────────────┘
Core trade-off: no external native toolchain dependency, no cloud requirement. CPython 3.13 is cross-compiled with the NDK for both arm64-v8a and x86_64; JavaScript and Lua use pure-Java Rhino/LuaJ. The terminal now has a real forkpty backend, but its UI is line-oriented (not an ANSI terminal emulator); Java/Kotlin/TypeScript plus 14 other languages are editing-only.
- Multi-file tabs · file tree (new / rename / delete, long-press actions)
- Sora Editor code editor + 20-language TextMate syntax highlighting (3 runnable, 17 editable)
- Static completion: per-language keyword/builtin profiles + symbols from the current file (zero process overhead)
- Python go-to-definition: cursor symbol → project-wide
class/def/ module variable, with import-aware ranking (no LSP process) - Find & replace (count & jump) · global search (cross-file)
- 26-key symbol bar · pinch-to-zoom font size · auto bracket closing · soft wrap · line number toggle
- 6 editor themes (Darcula / Monokai / Tomorrow Night Blue / Solarized…)
- Python: native CPython 3.13 (arm64 + x86_64), full stdlib (pure-Python part + C extensions)
- JavaScript: Rhino 1.7.15, pure Java,
console.log/input - Lua: LuaJ 3.0.1, pure Java,
print/input - Streaming output ·
input()interaction · arrow-key / Tab soft keyboard - Infinite-loop protection (timeout interrupt) · foreground service keep-alive
- Friendly error translations (Python / JavaScript / Lua)
- Run configuration (command-line args) · standard Python script attributes like
__file__
- Python go-to-definition: cursor symbol → project-wide definitions, import-aware ranking, file/line/signature picker
- Python pdb debugger: real stdlib
pdb; breakpoints, next/step/continue,p locals(), stack, quit; quick-action bar in output panel - Offline by design: no language server process, no model download, hard caps at 300
.pyfiles / 512KB per file
- Agent plan mode: plan → approval → tool execution, with cross-turn context and token budgets
- Project rules: reads
AGENTS.md/CLAUDE.md/.cursorrules/.windsurfrules/ Copilot instructions - Read-only sub-agent:
delegate_taskexplores multiple files in an isolated context - Offline semantic search: TF-IDF index with file/line hits, no embedding download
- Command terminal panel: persistent cwd,
cd/pwd, timeout and output caps; PTY mode switches to xterm with mobile Esc/Tab/Ctrl/arrow keys and light/dark themes - Real ANSI terminal:
forkpty+/system/bin/sh -ifeeding a local xterm.js 5.5.0 screen; cursor addressing, 256-color SGR, alternate screen and scrollback work, withvim/top/less; resize is wired toTIOCSWINSZ - MCP tools/resources/prompts, retrying providers, persisted AI history
- Multi-project switching (long-press to delete) · 4 Python templates
- JGit Git integration: init / commit / push / pull, pure Java, offline
- SAF import/export (no storage permission needed)
- Offline package management: inspect built-in modules / import local .whl
- Markdown / HTML split-pane live preview, debounced refresh
- Open HTML files in external browser
- Output panel: draggable height / copy all / share
- 3-mode theme (follow system / light / dark)
- Command palette ⌘K: search every action + code snippets
- AI assistant (BYOK, OpenAI-compatible endpoint): explain files / fix errors / generate tests
- Session restore: return to your last editing session on restart
- Crash logs written to private storage, offline-friendly feedback
# 1) Prerequisites: JDK 17+, Android SDK (platforms;android-35, build-tools;34.0.0)
# local.properties: sdk.dir=/path/to/android-sdk
# 2) Build the APK directly after cloning
./gradlew assembleDebug
adb install -r app/build/outputs/apk/debug/app-debug.apk
# 3) Open the app → create a project → write code → tap ▶ RunThe native runtime (libpython3.13.so + C extensions + pure-Python stdlib zip, ~100MB) is already in the repo, so the app runs fully offline after build.
Rebuilding
libpybridge.sorequires the NDK 27.3 toolchain and a CPython 3.13 cross-compile environment — seescripts/package_native.sh. Not needed for daily builds: prebuilt artifacts are already inapp/src/main/jniLibs/.
assets/python-stdlib.zipmust keepnoCompressenabled (already configured); otherwise AAPT compression breaks CPython's stdlib loading.
- Pure-Python stdlib:
assets/python-stdlib.zip(extracted to the app's private dir, then added tosys.path) - C extension modules: math, json, _random, _datetime, _socket, _ssl, _sqlite3, _ctypes, zlib, binascii etc. (
jniLibs/arm64-v8a/x86_64) - numpy / pandas / matplotlib / pillow are NOT preinstalled —
import numpyshows a missing-module hint. Offline installation of third-party wheels is planned for a later release.
| Doc | About | Language |
|---|---|---|
| Branding | Naming, positioning, slogan, visual guidelines | 中文 |
| Introduction | One-page project intro for website / promotion | 中文 |
| User Guide | Install, UI, run, Git, AI — full manual | 中文 |
| Architecture | Engine, JNI bridge, threading model, layout | 中文 |
| Roadmap | Done / in progress / planned | 中文 |
| Promotion Pack | Store description, release notes, social copy | 中文 |
| FAQ | Frequently asked questions | 中文 |
| Contributing | How to get involved | English |
| Code of Conduct | Contributor Covenant | English |
| Security | Vulnerability reporting | English |
| Capability | Status |
|---|---|
| Python runtime | ✅ Full (native CPython 3.13, arm64 + x86_64) |
| Java runtime | ❌ JVM not yet integrated (editing/highlighting only) |
| Performance | ✅ Native execution, no WASM sandbox overhead |
| Sci-stack libraries | |
| pip online install | ❌ Offline-first; extra libraries via manual wheel import |
All contributions are welcome: file issues, improve docs, fix bugs, add features.
Run python3 tools/selfcheck.py before submitting (0 errors), see CONTRIBUTING.md.
Apache License 2.0 · third-party component notices in NOTICE.md
CodePocket「口袋码」— keep your IDE in your pocket, code offline anywhere.





