littletelx360 / Acode

Acode - powerful text/code editor for android

Home Page:https://acode.foxdebug.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Acode editor (Code editor for android)

logo

This is a hybrid app using Apache Cordova. This app is published on play store. Check it out from here.

Note: This project is not organised and it is very hard understand the project structure. I'll try to make it clear as possible.

Get it on F-Droid Get it on Google Play

Project structure

  • src (directory) contains all raw codes
  • www (directory) contains public documents, built javascript and css files, language files and HTML files
  • utils (directory) contains the cli tool to manipulate or add string 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 www/lang/ direcotry. After adding new laguage also add it to src/constants.js -> langList.

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

In order to build the app you must have Nodejs, NPM and Apache Cordova installed on your device. Use Cordova CLI to build application.

First run npm install to install all dependencies, then run webpack to build src and then run cordova build android.

If you have installed yarn you can simply run yarn build-run to build the apk and run on connect android device or emulator.

Special thanks to

About

Acode - powerful text/code editor for android

https://acode.foxdebug.com

License:MIT License


Languages

Language:JavaScript 94.7%Language:Java 2.9%Language:Objective-C 1.3%Language:SCSS 0.5%Language:CSS 0.4%Language:Handlebars 0.1%Language:C# 0.1%Language:HTML 0.0%