energy-ua-info
Version, currently main branch1 version
- main branchlatestJan 30, 2026
github.com/mamantoha/energy-ua-info
A command-line tool that fetches and displays scheduled electricity outage information for Ukrainian cities
Installation
# Add this to your shard.yml
dependencies:
energy-ua-info:
github: mamantoha/energy-ua-info
branch: mainmain is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
>= 1.0.0- License
- MIT
- Author
- Anton Maminov
- Target
energy-ua-infofrom src/energy-ua-info.cr
Dependencies
This version declares no dependencies.
README
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
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This branch
- Branch
main- Seen
- Jan 30, 2026
- Crystal
>= 1.0.0- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/mamantoha/energy-ua-info
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 13, 2026
- Synced
- Aug 13, 2026
- Versions
- 1