Skip to content
CAI
Software that uses CAICheck a score

nightmare-space/code_lfa

55.5

Weak · 19 September 2026

1.1k

lines of production code

Dart

with Java

1

measurement over time

CAI band scale
CAI lens gauges

What this system is

Code LFA is an Android application that provides a local development environment by embedding a web-based VS Code interface within a WebView. It runs a code-server instance inside a proot-distro Ubuntu container on the device, allowing users to code directly on their phone. The app manages the installation and configuration of this Linux environment, handling terminal interactions and clipboard operations through native Android integrations.

Features

Add build and clipboard support scripts

New scripts have been added to support the build process and runtime functionality. The properties.sh file defines build metadata including version 1.6.0, version code 22, and the app name CodeLFA. The gen\_icon.sh script automates the generation of Android launcher icons at various densities. The inject.js script implements a clipboard read interception mechanism to retrieve data via Android's native API, and check\_hardlink.sh verifies hard links in the code-server assets.

scripts · high confidence

Added Chinese (zh\_CN) localization support

The application now supports Chinese (Simplified) in addition to English. New localization files (ARB) and generated Dart code for the zh\_CN locale have been added, covering messages related to code-server installation, Ubuntu setup, and terminal operations. Users with zh\_CN locale settings will now see these interface strings translated.

lib/generated, lib/l10n · high confidence

Added code-server binary and privacy policy

The assets directory now includes the code-server binary for Linux ARM64 (version 4.103.1) and a new privacy policy document detailing data collection, permissions, and user rights for the Code LFA product.

assets · high confidence

Removals

Removal of web application entry points

The web entry point files, specifically index.html and manifest.json, have been removed from the web directory. This change eliminates the HTML shell and PWA manifest configuration that previously allowed the application to be served and installed as a web app, effectively removing web platform support from this location.

web · high confidence

Behavioural changes

App rebranded to Code LFA with new package name and WebView-based VS Code interface

The application has been rebranded from 'VS Code' to 'Code LFA' and its package name changed from \com.nightmare.termare\ to \com.nightmare.code\. The core user experience has shifted from a standard Flutter activity to a custom \MainActivity\ that embeds a \WebViewFragment\ loading a local VS Code server (\http://127.0.0.1:20000\). This new interface includes a JavaScript bridge to handle clipboard operations, supports dynamic screen orientation based on device sensors, and manages multiple windows via a custom \WebChromeClient\. The app also now includes native libraries (\libsudo.so\) and requests additional permissions like \MANAGE\_EXTERNAL\_STORAGE\ and \BLUETOOTH\_ADMIN\ to support this embedded web-based development environment.

android/app · high confidence

Project renamed to Code LFA with code-server upgraded to 4.103.1

The application has been renamed from Code FA to Code LFA (Code Launcher For Android) to clarify that it is a launcher for code-server rather than a custom implementation of VS Code. The bundled code-server binary has been upgraded to version 4.103.1, and the underlying Ubuntu environment has been updated to the noble-aarch64-pd-v4.18.0 distribution. Additionally, the project structure now utilizes Git submodules for global configuration and settings, and large binary assets are managed via Git LFS.

(repo-wide) · high confidence

Replaces legacy bootstrap with proot-distro Ubuntu and code-server 4.95.2

The application now installs a full Ubuntu Noble environment via proot-distro instead of downloading a pre-packaged bootstrap zip, and upgrades the bundled code-server to version 4.95.2. This change introduces a new configuration system in \lib/config.dart\ to manage the Ubuntu filename and code-server version, and moves all shell logic (including Ubuntu source configuration and installation scripts) into \lib/script.dart\. The terminal interface is rebuilt using the \xterm\ package and a \GetxController\ (\terminal\_controller.dart\) to handle the new installation progress and environment initialization, replacing the previous \termare\_pty\ and \webview\_flutter\ integration. The app package name has also been updated to \com.nightmare.code\.

lib · high confidence

Test coverage

Removed default Flutter widget smoke test

The boilerplate widget test for the app's counter functionality has been removed from the test suite. This eliminates the default 'Counter increments smoke test' that previously verified the initial state and increment behavior of the main application widget.

test · high confidence

Dependencies

Android build configuration upgraded to modern Gradle and Java 17 standards

The Android build system has been migrated from the legacy \apply plugin\ syntax to the modern Gradle Plugin DSL, updating the Android Gradle Plugin to version 8.3.0 and Kotlin to 2.0.0. This change raises the minimum SDK to 24 and the target SDK to 35, while upgrading the Java and Kotlin compilation targets to version 17. Additionally, the build now enforces release signing for both release and debug variants, enables code shrinking and resource shrinking for release builds, and increases the Gradle JVM memory allocation to 4GB to support larger builds.

(dependencies) · high confidence

Gradle wrapper upgraded to version 8.4

The Android build system now uses Gradle 8.4 instead of 6.7. This update ensures the project builds with the latest Gradle features and performance improvements, requiring the Gradle wrapper to download the new distribution version.

android/gradle · high confidence

Written by watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Baseline

  • First survey — no prior run to compare against. CAI 56.

Lenses

  • Code Health 98
  • Architecture 100
  • Maturity 55
  • Readiness 36
  • Security 75
  • Domain Modelling 100

Changes since last survey

  • 219 commits — 198 feature/other, 21 fixes

By area

  • (root) — 99 commits
  • android/app — 39 commits
  • .github/workflows — 16 commits
  • assets/proot-distro.zip — 8 commits
  • lib/third_party — 8 commits
  • lib/utils — 8 commits
  • lib/generated — 5 commits
  • .vscode/launch.json — 4 commits
  • assets/proot-distro — 4 commits
  • assets/ubuntu-jammy-aarch64-pd-v4.7.0.tar.xz — 4 commits
  • lib/config.dart — 4 commits
  • (repo) — 3 commits
  • assets/bootstrap-aarch64.zip — 2 commits
  • assets/code-server-4.96.2-linux-arm64.tar.gz — 2 commits
  • assets/privacy_policy.md — 2 commits
  • assets/ubuntu-noble-aarch64-pd-v4.11.0.tar.xz — 2 commits
  • lib/terminal_controller.dart — 2 commits
  • lib/terminal_page.dart — 2 commits
  • lib/utils.dart — 2 commits
  • web/icons — 2 commits

Notable commits

  • fix: chore(README): fix star img link
  • fix: chore(README): fix star img link
  • fix: fix bug
  • fix: fix bug
  • fix: fix build: download code-server arm64 zip
  • fix: fix build: download code-server arm64 zip
  • fix: fix compile bug
  • fix: fix compile bug
  • fix: fix: Fix some bug
  • fix: fix: Fix some bug
  • fix: fix: apt update bug
  • fix: fix: apt update bug
  • fix: fix: copy code-server failed on second launch
  • fix: fix: custom code-server not work problem
  • fix: fix: flutter plugin register twice bug
  • fix: fix: flutter plugin register twice bug
  • fix: fix: intl not work problem
  • fix: fix: qemu missing
  • fix: fix: qemu missing
  • fix: fix: screen orientation do not lock bug
  • …and 199 more

Written by watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

nightmare-space/code_lfa was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 19 September 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 3567fdbe07ddc52462000617947f1542c1ab6cc5 — the exact code this score is about.
  • Scored under rubric-2026.09.15 — the same rubric and the same method as every other entry in this index.
  • Measured by watchdog.canine.dev using codehealth-analyzer preprod-13a154b7f5d1.