{"id":13522526,"url":"https://github.com/pehlicd/amtui","last_synced_at":"2025-10-06T20:19:19.010Z","repository":{"id":192011543,"uuid":"685871916","full_name":"pehlicd/amtui","owner":"pehlicd","description":"Alertmanager TUI -  Your Terminal Companion for Alertmanager","archived":false,"fork":false,"pushed_at":"2024-04-17T11:54:55.000Z","size":2992,"stargazers_count":54,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-05-21T12:41:58.481Z","etag":null,"topics":["alertmanager","go","golang","prometheus","terminal","tui"],"latest_commit_sha":null,"homepage":"","language":"Go","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/pehlicd.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}},"created_at":"2023-09-01T07:47:40.000Z","updated_at":"2024-04-29T15:11:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"f725b6c7-4ea2-4891-921f-4747c8524ab2","html_url":"https://github.com/pehlicd/amtui","commit_stats":{"total_commits":29,"total_committers":2,"mean_commits":14.5,"dds":0.03448275862068961,"last_synced_commit":"6121fa6a6bc1c78b04ae33a7471999845d880d4f"},"previous_names":["pehlicd/amtui"],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pehlicd%2Famtui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pehlicd%2Famtui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pehlicd%2Famtui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pehlicd%2Famtui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pehlicd","download_url":"https://codeload.github.com/pehlicd/amtui/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246552711,"owners_count":20795829,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["alertmanager","go","golang","prometheus","terminal","tui"],"created_at":"2024-08-01T06:00:48.487Z","updated_at":"2025-10-06T20:19:13.961Z","avatar_url":"https://github.com/pehlicd.png","language":"Go","funding_links":[],"categories":["Table of Contents"],"sub_categories":[],"readme":"# AMTUI - Alertmanager Terminal User Interface\n\n![Go version](https://img.shields.io/github/go-mod/go-version/pehlicd/amtui) ![Release](https://img.shields.io/github/v/release/pehlicd/amtui) [![Go Report Card](https://goreportcard.com/badge/github.com/pehlicd/amtui)](https://goreportcard.com/report/github.com/pehlicd/amtui) ![License](https://img.shields.io/github/license/pehlicd/amtui) ![Discord](https://img.shields.io/discord/1152242693557202975?logo=discord\u0026link=https%3A%2F%2Fdiscord.gg%2FJXnFz5j42n)\n\n```\n\n █████╗ ███╗   ███╗████████╗██╗   ██╗██╗\n██╔══██╗████╗ ████║╚══██╔══╝██║   ██║██║\n███████║██╔████╔██║   ██║   ██║   ██║██║\n██╔══██║██║╚██╔╝██║   ██║   ██║   ██║██║\n██║  ██║██║ ╚═╝ ██║   ██║   ╚██████╔╝██║\n╚═╝  ╚═╝╚═╝     ╚═╝   ╚═╝    ╚═════╝ ╚═╝\n                             \n```\n\nAMTUI is a terminal-based user interface (TUI) application that allows you to interact with Prometheus Alertmanager using your terminal. It provides a convenient way to monitor alerts, view silences, and check the status of Alertmanager instances right from your command line.\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"./static/demo.gif\" alt=\"AMTUI Demo\"/\u003e\n\u003c/p\u003e\n\n## Features\n\n- View active alerts with details such as severity, alert name, and description.\n- Browse and review existing silences in Alertmanager.\n- Filter alerts and silences using matchers.\n- Check the general status of your Alertmanager instance.\n\n## Installation\n\n### Using Homebrew\nYou can install AMTUI using the [Homebrew](https://brew.sh/) package manager:\n\n```bash\nbrew tap pehlicd/tap\nbrew install amtui\n```\n\n### Using go install\nYou can install AMTUI using the `go install` command:\n\n```bash\ngo install github.com/pehlicd/amtui@latest\n```\n\n### From Releases\nYou can download the latest release of AMTUI from the [GitHub releases page](https://github.com/pehlicd/amtui/releases).\n\n### From Source\nTo use AMTUI, you'll need to have Go installed on your system. Then, you can install AMTUI using the following steps:\n\n1. Clone the repository:\n\n```bash\ngit clone https://github.com/pehlicd/amtui.git\n```\n\n2. Navigate to the project directory:\n\n```bash\ncd amtui\n```\n\n3. Build the application:\n\n```bash\ngo build\n```\n\n4. Run the application:\n\n```bash\n./amtui\n```\n\n## Usage\n\nOnce you've launched AMTUI, you can navigate through different sections using the following keyboard shortcuts:\n\n- Press `1` to view and interact with active alerts.\n- Press `2` to see existing silences.\n- Press `3` to check the general status of your Alertmanager instance.\n\n### Keyboard Shortcuts\n\n- `q`: Quit the application.\n- `l`: Focus on the preview list.\n- `h`: Focus on the sidebar list.\n- `j`: Move focus to the preview.\n- `k`: Move focus to the preview list.\n- `CTRL + F`: Focus on the filter input.\n- `ESC`: Return focus to the sidebar list.\n\n## Configuration\n\nAMTUI uses a configuration file to connect to your Alertmanager instance. By default, the application will look for a configuration file at `~/.amtui.yaml`. If the configuration file doesn't exist, AMTUI will guide you through creating it with the necessary connection details.\n\nYou can also specify connection details using command-line flags:\n\n```bash\namtui --host 127.0.0.1 --port 9093 --scheme http\n```\n\nAMTUI also supports basic authentication. You can specify the username and password using the `--username` and `--password` flags:\n\n```bash\namtui --host 127.0.0.1 --port 9093 --scheme http --username admin --password admin\n```\n\n## Dependencies\n\nAMTUI uses the following dependencies:\n\n- `github.com/gdamore/tcell/v2`: Terminal handling and screen painting.\n- `github.com/prometheus/alertmanager/api/v2/client`: Alertmanager API client.\n- `github.com/rivo/tview`: Terminal-based interactive viewer.\n- `github.com/spf13/pflag`: Flag parsing.\n- `github.com/spf13/viper`: Configuration management.\n\n## Contributing\n\nIf you'd like to contribute to AMTUI, feel free to submit pull requests or open issues on the [GitHub repository](https://github.com/pehlicd/amtui). Your feedback and contributions are highly appreciated!\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Stargazers over time\n\n[![Stargazers over time](https://starchart.cc/pehlicd/amtui.svg)](https://starchart.cc/pehlicd/amtui)\n\n---\n\nDeveloped by [Furkan Pehlivan](https://github.com/pehlicd) - [Project Repository](https://github.com/pehlicd/amtui)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpehlicd%2Famtui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpehlicd%2Famtui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpehlicd%2Famtui/lists"}