Skip to content

Latest commit

 

History

266 Commits

Folders and files

Repository files navigation

adlerOS

A home screen and App Store for the Docker apps on your homelab: umbrelOS's look, on any machine with Docker, and your compose files stay yours.

Runtime Platform License Status

adlerOS desktop

Overview

adlerOS makes your homelab feel like a computer of its own. Open it in a browser and you get a desktop styled like macOS: a dock, windows you drag and snap, and every Docker app you run as an app you can open, start, stop and update.

It comes with its own apps, built on the services you already run: Music for your Navidrome library (with lyrics, a queue and radio), Gallery for Immich, Documents for Paperless, Videos for Jellyfin, Live TV for your channels, Tasks, Calendar, and Luna, an Obsidian-style notes app that opens your vaults from anywhere. A file browser and a real terminal are there when you need them. Without those services, each app shows your own files instead.

It fits whatever screen it's on. Each device picks its mode: Desktop like a Mac, the home screen like an iPhone or iPad, TV for the couch and a remote, Car for a phone on the dashboard, with your music, podcasts, calendar, calls and navigation that hands the route to your phone's maps, and StandBy, the iPhone's bedside clock and photo frame.

Under the hood it reads the folders where your docker compose files live and sorts every app into a collection (Media, Knowledge, Files…). It sits on top of your homelab, never instead of it: everything keeps working with adlerOS stopped.

Install

flowchart TB
    q{"what do you have?"} -->|"nothing yet"| hl["clone spaceadler/homelab:<br/>its install.sh sets up the machine,<br/>~30 apps and adlerOS"]
    q -->|"your own homelab"| sa["clone adlerOS into your<br/>compose folder, ./install.sh"]
    hl -->|"install.sh --homelab"| one(["one adlerOS codebase"])
    sa --> one
Loading
cd ~/docker   # wherever your compose folders are: adlerOS is one of them
git clone https://github.com/spaceadler/adleros.git
cd adleros && ./install.sh

It asks your name, this machine's address, where your compose files are and your timezone, then prints the address (http://<this machine>:8686) and a password, and offers to connect Music, Gallery and Documents to Navidrome, Immich and Paperless. On a phone, Add to Home Screen opens it like an app. Details: standalone · in a homelab.

Architecture

flowchart TB
    browser(["browser / phone / TV"]) -->|"password"| web
    subgraph container["adlerOS container: read-only, no capabilities, runs as you"]
        web["app/server.py<br/>(Python stdlib) + app/static/"]
    end
    web -->|"writes a request"| q[("data/agent/queue")]
    q --> agent["agent/agent.py<br/>systemd helper, runs as you"]
    agent -->|"only actions in<br/>agent/actions.json,<br/>params pattern-checked, no shell"| apps["agent/apps.py<br/>docker compose up / stop / pull / logs"]
    agent -->|"sudo: one script"| power["restart / shut down"]
Loading

The web app has no Docker and no root access. A compromised home screen can only queue one of the listed actions (security). Keep it on your own network or a VPN such as Tailscale; don't publish it to the internet.

How It Sorts Your Apps

flowchart TB
    compose["your compose files<br/>(COMPOSE_ROOTS)"] -->|"docker compose config<br/>(starts nothing)"| imgs["images"]
    imgs --> known{"in catalog/known-apps.tsv?<br/>(146 apps)"}
    known -->|yes| col["its collection:<br/>Media, Knowledge, Life…"]
    known -->|no| extras["Extras, named after its folder"]
    imgs -.->|"Postgres, Redis…"| folded["folded into the app<br/>that needs them"]
Loading

One compose file holding two apps becomes two apps, each starting and stopping only its own containers. Collections: Core (admin mode) · System · Media · Knowledge · Productivity · Life · Files · Extras.

What You Get

Home Desktop with widgets, a magnifying dock, All apps, search (Alt+Space or /), notifications, a first-login welcome and tour
Manage The App Store (start, stop, restart, update, logs, delete, install), import of apps it didn't find, websites as apps, Live Usage
Work Desktop mode (windows you drag and snap), My Computer, Notepad, Luna (Obsidian-style notes), a terminal, Firefox from the store
Your data Music (Navidrome), Gallery (Immich), Documents (Paperless), Tasks (Vikunja), Calendar (CalDAV): each falls back to your own files without its app
Control Keyboard first, so a TV and a keyboard are enough (? for keys); admin mode, behind your password, for restart, shut down and deletes

The whole list, word for word: docs/features.md. A tour of every screen: docs/guide.md.

The App Store

Documentation

Doc What's in it
docs/features.md Everything adlerOS does, and how it sorts apps
docs/guide.md A tour: everything on the screen and what it does
docs/keyboard.md Every key, for a keyboard and a TV
docs/standalone.md Installing on any homelab, your compose folders, the store, updating, removing
docs/homelab.md How spaceadler/homelab runs it
docs/customizing.md Wallpapers, dock icons, widgets, settings, actions, known apps, store apps
docs/security.md The trust model, in detail
docs/screenshots/README.md The screenshots these docs use, and how to take them
CODEMAP.md Files, hub functions and the call graph, generated from the code

Layout

adleros/
├── install.sh            # the installer: your own homelab, or --homelab for spaceadler/homelab
├── docker-compose.yml    # the adlerOS container (standalone) · .env.example: its settings
├── homelab/              # its container, nginx route and helper units inside spaceadler/homelab
├── app/                  # the web app: server.py (Python standard library) + static/
├── agent/                # agent.py (the helper) · actions.json (all it will do) · apps.py ·
│                         #   terminal.py · files.py · power (root-owned, for sudo)
├── catalog/              # known-apps.tsv (image → app → collection) · store/<app>/
└── docs/

Made by install.sh and never committed: .env, data/, registry/, apps/, wallpaper/, icons/.

Credits

  • Design: modelled on the umbrelOS desktop by Umbrel. Its layout, sizes and behaviour were studied from umbrelOS's public source and reimplemented here in plain HTML, CSS and JS. No umbrelOS code or artwork is included.
  • Dock icons: drawn for adlerOS (app/static/dock/). The App Store icon is its own design, not Apple's.
  • Font: Inter by Rasmus Andersson, under the SIL Open Font License (app/static/fonts/OFL.txt).
  • Wallpapers: NASA photographs from the ISS and the Space Shuttle, in the public domain: the aurora (iss072e159172) and a sunrise over Earth's limb (STS052-23-022), from images.nasa.gov.
  • App icons: fetched at runtime from dashboard-icons, or else from the app's own page (its apple-touch-icon or favicon). Each icon belongs to its app's project.

Licence

adlerOS is under the BSD 3-Clause License, copyright spaceadler: use it, change it and share it, keeping the copyright notice; don't use the name to promote what you make from it without asking. Fonts, pdf.js and the other files in app/static/vendor/ and app/static/fonts/ keep their own licences, next to them.


powered by logic, coffee, and many sleepless nights