A terminal-based interface for Loteria Romana, Romania's national lottery. View extraction results and track your online ticket history.
- View latest extraction results for all games (Loto 6/49, Loto 5/40, Joker, Noroc, Super Noroc)
- View purchased ticket history with win/loss status and prize amounts
- Ticket statistics (total spent, total won, net result, win rate, per-game breakdown)
- Interactive TUI mode with tabbed interface (Results, Tickets, Stats)
- Cookie persistence for faster logins
- Single binary, no runtime dependencies
brew install rursache/tap/loto-cligo install github.com/rursache/loto-cli@latestgit clone https://github.com/rursache/loto-cli.git
cd loto-cli
go build -o loto-cli .
./loto-cli # run the built binaryOn first run, the CLI creates a config at ~/.config/loto-cli/config.json:
{
"email": "your_email@example.com",
"password": "your_password",
"user_agent": "Mozilla/5.0 ..."
}| Field | Required | Description |
|---|---|---|
| Yes | bilete.loto.ro login email | |
| password | Yes | bilete.loto.ro password |
| user_agent | No | Custom HTTP user agent string |
Note: The
resultscommand works without credentials. Onlytickets,stats, andtuirequire authentication.
loto-cliNavigate with keyboard:
←→/Tab/123- Switch between tabs↑↓/jk- Scroll contentq- Quit
Tabs: Results | Tickets | Stats
loto-cli results # Latest extraction results (no auth required)
loto-cli tickets # Your ticket history
loto-cli stats # Ticket statistics (spent, won, win rate, etc.)
loto-cli config # Print config file pathloto-cli help # Show help
loto-cli version # Show version# View latest results
loto-cli results
# Pipe tickets to grep
loto-cli tickets | grep "Won"
# View spending statistics
loto-cli stats- Romanian IP address (the site geo-blocks non-Romanian IPs)
- A bilete.loto.ro account (for ticket history)
This project provides a "skill" for agentic AI tools, allowing AI assistants to interact with Loteria Romana on your behalf:
- GitHub: skill folder
MIT License - see LICENSE for details


