DEV Community

Aran Shayan
Aran Shayan

Posted on

Introducing Alita, a local-first system manager for developers

One app, on your machine, for time, traffic, cleanup, Git and API work.

On a normal working day I can usually answer a precise question about a production API, and a much vaguer one about my own laptop. Where did the morning go? Which app is using the bandwidth? Why is the disk full again? Which pull requests are waiting for me?

The answers already exist, but they live in different tools, and most of those tools want to send the data to someone else's cloud, which many of the places I have worked cannot allow. I wanted one place that could answer those questions, stay on the machine, and not change anything unless I asked it to.

That project is Alita, a local-first system manager for developers and their teams, which I have been building on the side.

What Alita is

Alita is a desktop app for Windows, Linux and macOS. It keeps all of its data on the machine and ships as a single Python file, Alita.py, with optional native helpers in Rust and Go. The interface is available in English and Persian.

In one window it covers the places a developer's time, traffic and disk space tend to go:

  • Time. Screen time per application, and time per project, by mapping editor, IDE, terminal and Claude Code sessions back to the Git project.
  • Internet usage. Traffic per network, application and destination, with cycle caps, alerts and VPN awareness.
  • System and cleanup. CPU and RAM per application, disk and application storage, startup items, health, a "why is my computer slow" view, and cleanup for caches, node_modules and project leftovers. Cleanup lists what it would remove and waits for a choice.
  • Work tools. Jira, team chat, and a Git board for pull and merge requests with pipeline state.
  • Delivery checks. Secret scanning, dependency vulnerabilities from OSV, runtime end-of-life dates and certificate expiry, with a separate notification choice for every topic.
  • API workspace. Collections, environments, scripts and tests, Postman import and export, OpenAPI tools with a local mock server, and an HTTP engine that can use proxies, company certificate authorities and client certificates.
  • Toolbox. More than 70 offline developer tools, including formatters, validators, and checks for formats and configs I use all the time. The same set also ships as one standalone page, Alita-Tools.html, that needs no install and no server.

Nothing is sent anywhere except to the addresses you configure yourself, such as a Git host or Jira. There is no account to create and no telemetry.

A longer case study is on my site: Alita. I have also written about the design rules behind it in Local first, observe only.

Why local first

The data Alita sees is not the kind I want in a third-party dashboard: running processes, open connections, local files, tokens, and how I spend a workday. If the tool only works when it can phone home, it is the wrong shape for that job.

Local first, here, means the machine is the source of truth. Measurements and history live on the machine in SQLite, split into shards so old data can be compacted or dropped without rewriting everything. Secrets, such as tokens for Git hosts or API environments, are encrypted with the operating system's keystore.

The other rule is observe by default. Monitoring never changes the system on its own. Killing a process, deleting files, changing a firewall rule or writing to Jira always asks first, and shows what is about to happen. Background jobs keep their last result, so pages still open and remain useful when there is no internet.

Installers for all three platforms support silent installs and organisation defaults, so a team can pre-fill the addresses and project rules they already use, without putting secrets in that file.

How it works

The source is many small parts, but the app is bundled into one file. The parts sit in strict layers, from core and platform up through tracking, monitors, engine, server and UI. A lower layer may not depend on a higher one, and tests enforce that.

The window talks to a local Python hub through a Go front door, which checks every request before the hub sees it. A background agent, written in Rust and also in Go, keeps measuring when the window is closed. A Rust core, also compiled to WebAssembly, powers the formatters, validators, diff and OpenAPI tools, so the same code can run in the desktop app and in the standalone toolbox page. The API workspace uses a Rust HTTP engine for the proxy and certificate cases that usually break inside a company network.

Python is still the right language for most of the application. The UI is TypeScript, assembled into a page and shown in a native webview: WebView2 on Windows, WebKitGTK on Linux, WKWebView on macOS. I start in Python, measure, and move a part to Rust or Go only when there is a clear reason: a small memory footprint, a security boundary, or code that needs to run in both the desktop app and the browser.

The stack is the one I list on my site: Python, TypeScript, Rust, Go, SQLite and WebAssembly.

Current status, and what is next

Alita is a personal side project, built alongside my work as a frontend developer. Recent work has included a single design system across the pages, a work board, and updates that can be verified, installed at the next restart, and rolled back if the new build does not start.

I have developed and tested it on Linux, and in a demo mode that uses fake data, with browser tests of every page. The Windows build and the macOS port have been exercised with faked system tools and by users, but not yet in an automated run on those systems. That gap is the most honest next step: get the Windows and macOS ports onto the same automated footing as Linux.

I'm Aran Shayan, a frontend developer at SOHA who builds data-heavy interfaces and the APIs behind them. Follow the project at aranshayan.com.

Top comments (1)

Collapse
 
userxnom profile image
Abdullah Naseer •

The "observe by default" rule is the part I'd steal — monitoring that never changes the system on its own is exactly the design instinct behind my own offline-first app, and it's rarer than it sounds. Most tools in this space quietly "fix" things for you. The cleanup rule is the same instinct in miniature: list what you'd remove and wait for a choice.

The question I keep coming back to is the project mapping: time per project by mapping editor, IDE, terminal and Claude Code sounds right until someone has three repos open at once. How do you decide which project a terminal belongs to — working directory, git root, or something else — and what happens when it can't tell?