Acode editor (Code editor for android)
Acode is a lightweight code editor for Android phones. You can use this editor for editing HTML, JavaScript, text.
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.
Project structure
src
(directory) contains all raw codeswww
(directory) contains public documents, built javascript and CSS files, language files, and HTML filesutils
(directory) contains the CLI tool to manipulate or add strings to all languages easily
Multi-language support
To add new language, create a new file with language code for android (eg. en-us for english) in src/lang/
directory. After adding new laguage also add it to src/lib/lang.js
.
Here are 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 npm install
to install all dependencies before building the APK.
yarn build <platform (android)> <free|paid> <p|prod|d|dev>
Develop plugin for Acode
Please see this repository for documentation.