Skip to content
CodArchthe living map of the architecture
ESEN

Desktop app

The desktop app is CodArch in a native window (Electron). It analyses with the same engine as the CLI, so the snapshot has the same checksum, but it does so against the real disk and with git: the snapshot carries churn and there are no browser limits.

Download your system’s installer from the repository Releases:

SystemFileWhat it does
Windowscodarch-<version>-setup.exe (NSIS)per-user install in %LOCALAPPDATA%\Programs\CodArch, no administrator needed
Linuxcodarch-<version>-amd64.debinstalls the app system-wide, with its menu entry
Linuxcodarch-<version>-x86_64.AppImageruns without installing anything (chmod +x and open)

macOS is not published: without signing or notarisation, Gatekeeper blocks the app. The installers are unsigned; see the FAQ.

The v0.3.37 release on GitHub with its installers: .deb, setup.exe and AppImage

The window shows the same interface as the web app: the VISTA panel, the map and the inspector. The interface is in Spanish; this page uses the names as they appear on screen.

The desktop app with a repo open

The theme is picked in Ajustes › General, the same as in the web app: light or dark paper belongs to the machine and the map’s tiles keep their colour.

The same window with the dark theme

On top of the interface, the app has native menus: Archivo (file), Edición (edit), Ver (view) and Ayuda (help).

The native menu bar with the Archivo menu open

There are three ways to open a repo, from most to least common:

  • ABRIR REPOSITORIO O ARCHIVO: the header button opens a drop-down with Analizar carpeta… (analyse folder), Archivo cc.json… (cc.json file) and Reporte JSON… (JSON report). It is the main way and works the same as in the web app. Analizar carpeta… opens the native Elige la carpeta del repositorio (choose the repository folder) dialog. The Archivo menu has the same actions.
  • Shortcuts: Ctrl+O analyses a folder, Ctrl+Shift+O opens a JSON.
  • A path on start: the app accepts a folder, a cc.json or a report.json as an argument and opens it right after starting. The installers do not register file associations, so the app does not show up in «Open with» on its own: pick it by hand in that file-explorer menu or pass it the path from a terminal (/opt/CodArch/codarch /path/to/repo with the .deb, ./codarch-<version>-x86_64.AppImage /path/to/repo with the AppImage).

The «Elige la carpeta del repositorio» dialog

The desktop app on Linux after analysing a folder, with the map drawn and the File menu open

The repo state is saved in its .codarch/ folder, not in the app. What CodArch writes there:

FileWhat it is
snapshot.cc.jsonthe latest snapshot
rest.cc.jsonthe map of what is not code (documents, configuration and assets)
head-report.jsonwhat was touched since the last commit
report.jsona diff report, only if one was loaded
chains.jsonthe symbol chain ledger
preferences.jsonthe view preferences
parse-cache.jsonthe parse cache of the last pass
lint.repmod.jsonthe measured lint, with the tree it measured
lint-cache.jsonlint rules already resolved, so they are not loaded again
scopes.jsonthe .codarch/ folders seen below this root
shots/the map captures, in their two slots

That is everything CodArch writes there, and nothing else: the folder belongs to the product, not to your own work. Anything else that shows up —a static map, a hand-made capture, a script— is a leftover, and every analysis deletes it and names it in the console. Local state (preferences, caches, chains, scopes and captures) is left alone even when that pass did not write it. History snapshots do not go here but in .codarch-history/, at the repo root. Neither does a static map: codarch render copies the whole web app to the folder you give it, with the snapshot in data/snapshot.cc.json.

ls -la .codarch/ in a terminal of the example repo, with snapshot.cc.json, head-report.json, chains.json and preferences.json; the map.html peeking out is a leftover from that working copy, from before the folder belonged only to the product

The first section of Ajustes picks the theme: Claro, Oscuro or El sistema (see Ajustes › General in the web app). In the desktop app the preference lives in the app, not in the repository.

Ajustes › General in the desktop app, with the light theme

Ajustes › General in the desktop app, with the dark theme

Updates only show up in Ajustes › Actualizaciones (settings › updates): it shows the installed version and whether it is up to date. There is no banner; when a new version exists, the notice appears in that section. The AppImage updates without permissions; the .deb asks for the administrator password, like any package. See Updates.

Ajustes › Actualizaciones with version 0.3.38 installed and a 0.3.39 available