energy-ua-info
energy-ua-info
energy-ua-info is a command-line tool written in Crystal that fetches and displays scheduled electricity outage information for Ukrainian cities. It retrieves data from the https://energy-ua.info/ service and presents outage periods, durations, and next scheduled events for a specified city, group, and subgroup.
Installation
-
Install Crystal (if not already installed):
-
Clone the repository:
git clone https://github.com/mamantoha/energy-ua-info.git cd energy-ua-info -
Install dependencies:
shards install -
Build the executable:
shards build --release
Usage
Використання: energy-ua-info CITY GROUP SUBGROUP
Де:
CITY - назва міста (наприклад, kyiv, lviv, kharkiv)
GROUP - номер групи (наприклад, 1, 2, 3)
SUBGROUP - номер підгрупи (наприклад, 1, 2)
Приклад:
energy-ua-info kyiv 1 1
Отримає інформацію про відключення електроенергії для Києва, групи 1, підгрупи 1.
-h, --help Показати це повідомлення
Example:
energy-ua-info kharkiv 6 1
This will fetch and display the outage schedule for Kharkiv, group 6, subgroup 1.
Output Example

Contributing
- Fork it (https://github.com/mamantoha/energy-ua-info/fork)
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
License
MIT
Author
- Anton Maminov - creator and maintainer
Repository
energy-ua-info
Owner
Statistic
- 2
- 0
- 0
- 0
- 0
- about 8 hours ago
- January 27, 2026
License
MIT License
Links
Synced at
Tue, 27 Jan 2026 11:53:42 GMT
Languages