• Stars
    star
    2,164
  • Rank 20,549 (Top 0.5 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 4 years ago
  • Updated about 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Acode - powerful text/code editor for android

Acode editor (Code editor for android)

Acode is a lightweight but powerful code editor for Android phones. You can use this editor for editing HTML, CSS, JavaScript, text files, etc.

You can create a website, run the website in the browser and see errors or logs in the console. Also edit any kind of source file like Python, CSS, HTML, Java, JavaScript, Dart, etc.

Get it on Google Play Get it on F-Droid

Project structure

Acode/
|
|- src/   - contains all the raw code, and language files
|
|- www/   - contains public documents, built JavaScript and CSS files, and HTML files
|
|- utils/ - contains the CLI tools for building the package, manipulating/adding strings to all languages, etc.

Multi-language support

To add a new language, create a new file with the language code for Android (e.g. en-us for English) in the src/lang/ directory. After adding your new language, also add it to src/lib/lang.js.

Here are a few utility tools to add, remove or search a string in all added languages.

yarn lang add
yarn lang remove
yarn lang search
yarn lang update

How to build

To build the APK you need Nodejs, NPM, and Apache Cordova installed on your device. Use Cordova CLI to build the application.

Run this command to do the initial setup of the project. It's required just once.

yarn setup

Build the project:

yarn build <platform (android)> <free|paid> <p|prod|d|dev>

Develop a plugin for Acode

Please see this repository for documentation.