Skip to content

nightmare-space/code_lfa

Repository files navigation

Code FA

Language: English | 中文简体

release Last Commits Pull Requests Code size License Platform download time open issues fork code line Codacy Badge

This is an Android version of VS Code implemented using code-server. Some have already implemented similar solutions, and this is one of them.

The package size is relatively large since the resources required are necessary for the initial run, so integrating them into the server and dynamically downloading them is not very meaningful.

Users should weigh this solution against others available from different developers.

The principle is to run code-server and then use a webview to load the view. There might be some bugs, but it performs reasonably well.

This project is open source, with the upper framework being Flutter. The loading of VS Code is implemented in Flutter, and VS Code runs in the Android WebView.

I'm quite busy, so responses to issues might be slow. Thank you for your understanding.

Cheers! 🍻

Features

  • Fully local operation of Code Server
  • Supports the latest version 4.103.1
  • Supports quick updates to Code-Server versions
  • Supports custom Code-Server versions
  • Can run without an internet connection

Changing Code-Server Version

  1. Create a file named code_version in /sdcard with the version number as its content, such as 4.103.1, without any line breaks.

  2. Download code-server such as code-server-4.103.1-linux-arm64.tar.gz

  3. Place the downloaded file in /sdcard. Do not unzip or change its filename.

  4. Download the corresponding version and place it in /sdcard. Do not unzip or change its filename.

  5. Launch Code FA, and enjoy it!

Note

Code Server runs in an Ubuntu environment, not in a Termux environment. Therefore, if you need to install any dependencies, simply look up how to install them on Ubuntu.

Installing Internal Dependencies

This section shouldn't really be here because it's not a Code FA issue, but many people don't know how to install simple dependencies on Ubuntu, and all related questions end up being directed to Code FA.

Update package lists

apt update

Install any dependency

apt install python3
apt install clang
...

Git History

Star History Chart

About

Implementation of the VS Code editor natively on Android.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •