Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nezorflame/armenian-blackouts-bot
Bot which allows you to be notified about the utilities' blackouts in Armenia
https://github.com/nezorflame/armenian-blackouts-bot
Last synced: about 1 month ago
JSON representation
Bot which allows you to be notified about the utilities' blackouts in Armenia
- Host: GitHub
- URL: https://github.com/nezorflame/armenian-blackouts-bot
- Owner: nezorflame
- License: mit
- Created: 2024-03-23T14:58:52.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-03-23T15:11:03.000Z (10 months ago)
- Last Synced: 2024-10-09T13:19:46.345Z (3 months ago)
- Language: Go
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# armenian-blackouts-bot [![Workflow status](https://github.com/nezorflame/armenian-blackouts-bot/actions/workflows/go.yml/badge.svg)](https://github.com/nezorflame/armenian-blackouts-bot/actions/workflows/go.yml) [![Go Report Card](https://goreportcard.com/badge/github.com/nezorflame/armenian-blackouts-bot)](https://goreportcard.com/report/github.com/nezorflame/armenian-blackouts-bot) [![GolangCI](https://golangci.com/badges/github.com/nezorflame/armenian-blackouts-bot.svg)](https://golangci.com/r/github.com/nezorflame/armenian-blackouts-bot)
Bot which allows you to be notified about the utilities' blackouts in Armenia.
## Description
TODO
## Dependencies
This bot uses:
- [telebot](https://pkg.go.dev/gopkg.in/telebot.v3) package to work with Telegram API
- [bolt](https://pkg.go.dev/go.etcd.io/bbolt) for the database
- [envconfig](https://pkg.go.dev/github.com/kelseyhightower/envconfig) + [godotenv](https://pkg.go.dev/github.com/joho/godotenv) for the configuration
- [slog](https://pkg.go.dev/log/slog) for the logging## Structure
This project mostly adheres to the [Project Layout](https://github.com/golang-standards/project-layout) structure, excluding `pkg` folders.
`internal` package holds the private libraries:
- `config` for configuration
- `bolt` for database (using BoltDB)
- `file` for file and network helpers
- `telegram` package with bot implementation