A simple CLI tool for monitoring website and API statuses.
Find a file
2026-04-09 23:30:51 -03:00
cmd clean godoc comments mess 2026-04-09 23:30:51 -03:00
network clean godoc comments mess 2026-04-09 23:30:51 -03:00
output clean godoc comments mess 2026-04-09 23:30:51 -03:00
storage clean godoc comments mess 2026-04-09 23:30:51 -03:00
utils clean godoc comments mess 2026-04-09 23:30:51 -03:00
.DS_Store change git server 2026-04-09 22:56:09 -03:00
.gitignore change git server 2026-04-09 22:56:09 -03:00
go.mod change git server 2026-04-09 22:56:09 -03:00
go.sum change git server 2026-04-09 22:56:09 -03:00
gosos.go clean godoc comments mess 2026-04-09 23:30:51 -03:00
LICENSE change git server 2026-04-09 22:56:09 -03:00
README.md allow removing URLs by list index 2026-04-09 23:21:43 -03:00

Go-sos (Save Our Services)

Gosos is a simple CLI tool for monitoring website and API statuses.

I needed something I could use to check the multiple self-hosted services I use.

Features

  • Add and remove URLs for monitoring
  • List all registered URLs
  • Check the status of all URLs at once
  • Real-time monitoring with customizable intervals
  • User-friendly command-line interface

Installation

To install gosos, make sure you have Go installed on your system, then run:

go install git.thrls.net/thiagorls/gosos@latest

Usage

Gosos provides several commands for managing and monitoring URLs:

gosos <command> [options]

Commands

  • add <url>: Add a URL to the monitoring list
  • remove <url|index>: Remove a URL from the monitoring list, by full URL or by its index as shown in gosos list
  • list: Display all registered URLs
  • run: Check the status of all registered URLs once
  • live [interval]: Start monitoring all URLs in real-time
    • [interval]: Optional check interval in seconds (default: 30)
  • help: Show the help message

Examples

gosos add https://example.com
gosos remove https://example.com
gosos remove 0       # Remove the first URL in the list
gosos list
gosos run
gosos live 60        # Check every 60 seconds

Configuration

Gosos stores the list of URLs in a JSON file located at ~/.gosos-urls.json. This file is automatically created by the tool.

Dependencies

  • pterm: For terminal output styling and live updates

Contributing

This is a project I built with the set of features I need for my personal use, but any contributions are welcome! Please feel free to submit a Pull Request.