Skip to content

1Code-JS/Acode

 
 

Repository files navigation

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

Project structure

Acode/
|
|- src/   - contains all the raw code
|
|- www/   - contains public documents, built JavaScript and CSS files, language 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 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 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 plugin for Acode

Please see this repository for documentation.

About

Acode - powerful text/code editor for android

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 81.0%
  • Java 8.6%
  • SCSS 4.7%
  • CSS 3.7%
  • Handlebars 1.6%
  • HTML 0.3%
  • Shell 0.1%