{"id":47290916,"url":"https://github.com/5c0/metropolis","last_synced_at":"2026-04-01T21:27:39.058Z","repository":{"id":344746414,"uuid":"1182919047","full_name":"5c0/metropolis","owner":"5c0","description":"A cyberpunk system monitor that transforms kernel metrics into a living terminal skyline. Built with Rust \u0026 Ratatui.","archived":false,"fork":false,"pushed_at":"2026-03-23T08:52:06.000Z","size":2635,"stargazers_count":80,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-24T06:03:34.971Z","etag":null,"topics":["cli","cyberpunk","ratatui","retro","rust","system-monitor","terminal-graphics","tui","visualization"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/5c0.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-16T04:53:45.000Z","updated_at":"2026-03-24T01:23:35.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/5c0/metropolis","commit_stats":null,"previous_names":["5c0/metropolis"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/5c0/metropolis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/5c0%2Fmetropolis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/5c0%2Fmetropolis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/5c0%2Fmetropolis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/5c0%2Fmetropolis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/5c0","download_url":"https://codeload.github.com/5c0/metropolis/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/5c0%2Fmetropolis/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31292258,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T21:15:39.731Z","status":"ssl_error","status_checked_at":"2026-04-01T21:15:34.046Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","cyberpunk","ratatui","retro","rust","system-monitor","terminal-graphics","tui","visualization"],"created_at":"2026-03-16T07:27:41.414Z","updated_at":"2026-04-01T21:27:39.050Z","avatar_url":"https://github.com/5c0.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# 🌃 Metropolis\n### *The City Powered by Your Kernel*\n\n[![Rust](https://img.shields.io/badge/language-Rust-orange.svg?style=for-the-badge\u0026logo=rust)](https://www.rust-lang.org/)\n[![License](https://img.shields.io/badge/license-MIT-blue.svg?style=for-the-badge)](LICENSE)\n[![Version](https://img.shields.io/badge/version-0.1.1-neon.svg?style=for-the-badge)](https://github.com/5c0/metropolis/releases)\n[![AUR](https://img.shields.io/badge/AUR-metropolis-deepskyblue.svg?style=for-the-badge\u0026logo=arch-linux)](https://aur.archlinux.org/packages/metropolis)\n\n**\"The year is 20XX. Your processes aren't just rows in a table. They're the residents. Your CPU isn't just silicon. It's the infrastructure. And the city? The city is breathing.\"**\n\n[Features](#-the-simulation) • [Usage](#-installation) • [Controls](#-controls) • [Architecture](#-built-with)\n\n\u003c/div\u003e\n\n---\n\n**Metropolis** is a high-performance, narrative-driven system monitor built for the terminal. It transcends traditional hardware monitoring by transforming raw kernel metrics into a living, breathing **Cyberpunk Skyline**. \n\nEvery flicker of a neon sign, every shuttle streaking across the sky, and every drop of rain is a direct reflection of your system's heartbeat.\n\n## Demos\n\n### 🌃 Night\n![Metropolis demo](docs/clean.gif)\n\n### ☔ Rain\n![Metropolis rain demo](docs/rain.gif)\n\n### ❄️ Snow\n![Metropolis snow demo](docs/snow.gif)\n\n---\n\n## Features\n\n- **Dynamic Branding**: The central monolith automatically detects your OS and brands itself accordingly (or override it with your own).\n- **CPU (The Heartbeat)**: High utility triggers \"Rush Hour\"—flooding sky-lanes with high-speed traffic and increasing pedestrian density.\n- **Disk I/O (Logistics)**: Intense activity triggers **Heavy Industrial Shuttles**. Watch long-haulers move \"physical data\" across the district.\n- **RAM (Illumination)**: Memory usage dictates the overall occupancy and glow of the city's monoliths.\n- **Neon Signage**: Secondary buildings display your **Top CPU Processes** as vibrant neon signs.\n- **Dynamic Pursuits**: Random high-stakes police chases streak across the skyline. Look for the **Red Fugitive** and **Interceptor** units.\n- **Procedural Night**: Window patterns and traffic cycles are session-unique.\n- **Fully Customizable**: Swap themes, toggle weather, and fine-tune simulation density via a simple `config.toml` or CLI flags.\n\n---\n\n## Installation\n\n### One-Line Install (Linux / macOS)\n```bash\ncurl -fsSL https://raw.githubusercontent.com/5c0/metropolis/main/install.sh | bash\n```\n\n### Crates.io\n```bash\ncargo install metropolis-tui\n```\n\n### Arch Linux (AUR)\n```bash\nyay -S metropolis\n```\n\n### Windows (winget)\n```bash\nwinget install 5c0.Metropolis\n```\n\n### Nix / NixOS (Flake)\nRun directly without installing:\n```bash\nnix run github:5c0/metropolis\n```\n\nOr add to your `flake.nix` inputs:\n```nix\ninputs.metropolis.url = \"github:5c0/metropolis\";\n```\nThen add to `environment.systemPackages`:\n```nix\nenvironment.systemPackages = [\n  inputs.metropolis.packages.${system}.default\n];\n```\n\n### Build from Source\n*Requires [Rust](https://www.rust-lang.org/) and `cargo` to be installed.*\n```bash\ngit clone https://github.com/5c0/metropolis.git\ncd metropolis\ncargo run --release\n```\n---\n\n## Controls\n\n| Key | Action |\n|:---:|:---|\n| `q` | **Escape the city** (Quit) |\n| `r` | **Atmospheric Shift** (Toggle Rain) |\n| `s` | **Cryo Shift** (Toggle Snow) |\n| `d` | **Core Diagnostics** (Debug Overlay) |\n\n---\n\n## Configuration\n\nMetropolis automatically creates its default `config.toml` on first run:\n\n| OS | Config Path |\n|:---|:---|\n| **Linux** | `~/.config/metropolis/` |\n| **macOS** | `~/Library/Application Support/Metropolis/` |\n| **Windows** | `%APPDATA%\\Metropolis\\` |\n\nYou can customize almost everything:\n- **Themes**: Switch between built-in themes (`matrix`, `cyberpunk`, `sin_city`, `dracula`, `synthwave`) or write your own.\n- **The Monolith**: Override the OS detection to force a specific logo, or change the neon text.\n- **Environment**: Force `rain`, `snow`, or `clear` skies, and toggle terminal transparency.\n- **Simulation**: Tune the maximum number of vehicles, pedestrians, and weather density.\n\nFor a full list of options, check `assets/config_template.toml`. You can also override any of these settings at runtime with flags (e.g., `--theme matrix`). Run `metropolis --help` for the full list.\n\n### Custom Themes\nYou can build your own themes to customize the entire color palette—from the main building's neon signs to the street lamps, weather particles, shuttle traffic, and much more.\n\nDrop custom `.toml` files into the `themes/` directory next to your config file. [Share your city](https://github.com/5c0/metropolis/discussions/categories/theme-gallery) in the Theme Gallery!\n\n---\n\n## Built With\n\n- **[Rust](https://www.rust-lang.org/)**: For sub-millisecond, zero-overhead rendering.\n- **[Ratatui](https://ratatui.rs/)**: The backbone of our terminal metropolis.\n- **[Sysinfo](https://github.com/GuillaumeGomez/sysinfo)**: Our direct link to the kernel.\n\n---\n\n\u003cdiv align=\"center\"\u003e\n\n⭐ [Drop a star](https://github.com/5c0/metropolis/stargazers) if you're enjoying the view.\n\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F5c0%2Fmetropolis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F5c0%2Fmetropolis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F5c0%2Fmetropolis/lists"}