A command-line tool to fetch and display historical events, births, and deaths for any date. Powered by Zenquotes' On This Day API, with a beautiful TUI and clipboard support.
- 🔎 Search for events, births, and deaths by date
- 🗓️ Interactive TUI menu for event type selection
- 📋 Copy results to clipboard
- 🌐 Fetches data from 'On This Day' API
- 🖥️ Cross-platform support (Windows, macOS, Linux)
- 🧩 Modular code structure
- Clone the repository:
git clone https://github.com/drclcomputers/today-cli cd today-cli - Build the project:
go build
- Run the CLI:
./today
- Follow the prompts to select event type.
- Show help:
./today -h
- Input a custom date as directed or opt for automatic event type selection.
- Copy results to clipboard with a single keypress.
.
├── cmd/ # CLI commands (births, deaths, events, date, root)
├── internal/
│ ├── logger/ # Logging utilities
│ ├── services/ # API, menu, spinner, event type logic
│ └── utils/ # Utility functions
├── main.go # Entry point
└── go.mod, go.sum # Go modules
Pull requests are welcome! For major changes, please open an issue first to discuss what you would like to change.
- On This Day API for the data
- Bubble Tea for TUI
- golang.design/x/clipboard
- atotto/clipboard