ind-appointment-checker

command module
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 22, 2022 License: GPL-3.0 Imports: 11 Imported by: 0

README

IND Appointment Checker

Do you spend too much time refreshing IND biometrics and/or residence sticker appointments instead of watching cat videos on TikTok? Have you ever wished someone did this heavy work for you?

Well, my friend, look no further because this program is exactly what you need! Get notified when an earlier IND appointment pops up.

Telegram

You need a Telegram bot to receive notifications. Otherwise, you are out of luck, and better off finding another solution.

Follow these steps to set up a bot on Telegram.

Paste the Telegram bot API key and chat_id in the .env file.

Installation

  1. Download the latest release and unzip it.

  2. Open the .env file to adjust the variables:

    • TELEGRAM_CHATID: the chat_id number from the Telegram section above
    • TELEGRAM_BOTID: the bot API key from the Telegram section above
    • IND_START_DATE: the start date for the search. For example, if start date is 15/05/2022, the program will notify you for dates after 15/05/2022. The date will be automatically set to today's if empty.
    • IND_CURRENT_APPOINTMENT_BIOMETRICS: your current biometrics appointment date in the form dd/mm/yyyy
    • IND_CURRENT_APPOINTMENT_RESIDENCE_STICKER: your current residence sticker appointment date in the form dd/mm/yyyy
  3. Start the program by double-clicking on it or executing ./ind

Build from source

You do not trust the release binaries? No problem. We've got you covered. Follow the following steps:

  1. Clone the repository
git clone https://www.github.com/reaper47/ind-appointment-checker.git
  1. Fill the correct values in the ./bin/.env file
nano ./bin/.env
  1. Build the program
make build
  1. Start the program
./bin/ind

Feedback

If you have any feedback, please reach out to me at macpoule@gmail.com

Support

For support, email macpoule@gmail.com, open an issue or start a discussion on GitHub.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
pkg/appointments
Package appointments provides availabilities for the biometrics, residence sticker, and residence appointments.
Package appointments provides availabilities for the biometrics, residence sticker, and residence appointments.
pkg/bot
Package bot provides a Telegram bot configured with the .env file.
Package bot provides a Telegram bot configured with the .env file.
pkg/client
Package client provides an HTTP client.
Package client provides an HTTP client.
pkg/config
Package config provides a Config struct that stores the application's configuration based on the env file.
Package config provides a Config struct that stores the application's configuration based on the env file.
pkg/constants
Package constants provides various constants.
Package constants provides various constants.
pkg/jobs
Package jobs provides cron jobs for the application.
Package jobs provides cron jobs for the application.
pkg/models
Package models provides various abstractions/representations of real-world concepts or objects.
Package models provides various abstractions/representations of real-world concepts or objects.
pkg/repository
Package repository provides the in-memory repository for the program.
Package repository provides the in-memory repository for the program.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL