Skip to content

H4F8/XunCode

Repository files navigation

XunCode for Android

License Build APK

Open-source code editor for Android. Free to use, modify, and contribute. Licensed under Apache-2.0.


Русский

XunCode — мощный редактор кода для Android. Нативное Flutter-приложение с движком Monaco Editor, GitHub-плагинами, плагин-маркетплейсом, поддержкой Tor через Orbot и встроенным proot-терминалом с Alpine Linux.

Возможности

  • Monaco Editor — тот же движок, что в VS Code, подсветка для 25+ языков.
  • IntelliSense по всему проекту, переход к определению, переименование.
  • Мультиязычность: Русский / English «из коробки», любой .txt в Shared/XunCode/Languages/ добавляет новый язык интерфейса.
  • Установка языков программирования: Python, Node.js, Go, Rust, Ruby, Lua, PHP, Java + любые свои сборки по URL.
  • Плагин-система: GitHub-репо с plugin.json + main.js, песочница на InAppWebView.
  • Маркетплейс плагинов (Vercel-бэкенд) с рейтингами и отзывами.
  • Терминал proot + Alpine, fallback на /system/bin/sh.
  • Прокси: HTTP/HTTPS, SOCKS5, Tor через Orbot.
  • Запуск кода: Python, JS/Node, PHP, HTML/CSS preview, Java, C/C++.

Требования

Android 10+ (API 29). Работа на Android 13+ стабилизирована через libaxs.so (обход noexec/W^X).

Установка

Сборка из исходников

git clone https://github.com/H4F8/XunCode.git
cd XunCode
npm install && npm run build:monaco
flutter pub get
flutter pub run flutter_launcher_icons
flutter build apk --debug

Контрибьюция

Мы рады PR, issues и идеям! Смотрите docs/PLUGIN_API_FULL.md для документации по Plugin API.

Благодарности / Acknowledgments

Используемые компоненты / Components


English

XunCode is an open-source code editor for Android. A native Flutter app with the Monaco Editor engine, GitHub-based plugins, a plugin marketplace, Tor support via Orbot, and an embedded proot terminal running Alpine Linux.

Features

  • Monaco Editor — same engine as VS Code, syntax highlighting for 25+ languages.
  • Project-wide IntelliSense, go-to-definition, rename.
  • Multi-language UI: Russian / English out of the box; drop any .txt into Shared/XunCode/Languages/ to add another language.
  • Install runtimes: Python, Node.js, Go, Rust, Ruby, Lua, PHP, Java, plus any custom build by URL.
  • Plugin system — GitHub repos with plugin.json + main.js, sandboxed WebView.
  • Plugin marketplace (Vercel backend) with ratings and reviews.
  • proot + Alpine terminal, falls back to /system/bin/sh.
  • Proxy: HTTP/HTTPS, SOCKS5, Tor via Orbot.
  • Run code: Python, JS/Node, PHP, HTML/CSS preview, Java, C/C++.

Requirements

Android 10+ (API 29). Stabilized on Android 13+ via libaxs.so (noexec/W^X bypass).

Install

Build from source

git clone https://github.com/H4F8/XunCode.git
cd XunCode
npm install && npm run build:monaco
flutter pub get
flutter pub run flutter_launcher_icons
flutter build apk --debug

Contributing

PRs, issues, and ideas are welcome! See docs/PLUGIN_API_FULL.md for the full Plugin API reference.

Acknowledgments

Components

About

Android code editor with Monaco Editor, proot terminal, Git support and extensions. Write code on your phone.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors