Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nikkhvat/passport-status-checker-bot
This is a bot, written in Go, which uses cron to check the readiness status of a passport every 30 minutes
https://github.com/nikkhvat/passport-status-checker-bot
golang gorm postgresql telegram-bot
Last synced: about 1 month ago
JSON representation
This is a bot, written in Go, which uses cron to check the readiness status of a passport every 30 minutes
- Host: GitHub
- URL: https://github.com/nikkhvat/passport-status-checker-bot
- Owner: nikkhvat
- License: agpl-3.0
- Created: 2023-06-30T16:37:08.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-07-22T10:41:21.000Z (over 1 year ago)
- Last Synced: 2023-09-18T18:08:56.967Z (over 1 year ago)
- Topics: golang, gorm, postgresql, telegram-bot
- Language: Go
- Homepage:
- Size: 51.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Passport Status Checker Bot
## Description
This is a bot, written in Go, which uses cron to check the readiness status of a passport every 30 minutes. If the status doesn't change within 24 hours, the bot automatically sends a message indicating the unchanged status. For any status change, the user will be instantly notified. Additionally, the bot provides functionality to add and remove tracking of passport readiness status.
## Technologies
- Golang
- Gorm
- PostgreSQL
- Gocron
- TelegramApi## Installation
Make sure you have Go, Gorm, and PostgreSQL installed.
1. Clone the GitHub repository:
```sh
git clone https://github.com/nik19ta/passport-status-checker-bot.git
```2. Navigate into the project directory:
```sh
cd passport-status-checker-bot
```3. Install the necessary dependencies:
```sh
go get
```4. Configure parameters in .env (example in .env.example)
5. Start the bot:```sh
make dev
```