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.
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.
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
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>
Please see this repository for documentation.