polovni-auto-alert

module
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2024 License: MIT

README

Polovni Auto Alert

GitHub Actions Workflow Status Coverage Status Go Report Card GitHub License GitHub Tag GitHub go.mod Go version GitHub last commit

Overview

Polovni Auto Alert is a Telegram bot specifically designed to help users stay updated with the latest car listings from Polovni Automobili. The bot allows users to subscribe to alerts for specific car brands, models, and other criteria available on the website.

Features

  • Subscribe to car listings alerts
  • Unsubscribe from alerts
  • List current subscriptions
  • Set filters for brand, model, chassis, region, price, and year
  • Receive notifications for new listings in Telegram

Getting Started

Setting Up Environment Variables

To configure the environment variables for the project, create a .env file in the root directory of the project. You can use the provided .env.example file as a template.

Fetching data from Polovni Automobili

Use the provided Makefile to fetch the data from Polovni Automobili before running the project:

# Fetch the data from Polovni Automobili
make docker-compose-up-fetcher
Building and Running the Project

Use the provided Makefile to build and run the project:

# Build the binaries
make all

# Build Docker images and run containers
make docker-compose-up

Stopping the Services

To stop and remove the running containers, use:

make docker-compose-down

License

This project is licensed under the MIT License. See the LICENSE file for details.

Directories

Path Synopsis
cmd
internal
app/service/notifier
Package notifier is a generated GoMock package.
Package notifier is a generated GoMock package.
app/service/scraper
Package scraper is a generated GoMock package.
Package scraper is a generated GoMock package.
app/service/worker
Package worker is a generated GoMock package.
Package worker is a generated GoMock package.
pkg

Jump to

Keyboard shortcuts

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