Skip to content

Navigation Menu

Sign in
Sign up
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

Repository files navigation

This project is no longer supported.

Please use bus-lviv-bot repository


Environment variables

BOT_TOKEN - Telegram bot token

API_LOGIN - EasyWay API login

API_PASSWORD - EasyWay API password

Serverless

  • add token to AWS Parameters Store aws ssm put-parameter --name "bus_lviv_bot_token" --type "String" --value "<TOKEN>"
  • add token to EasyWay API login to AWS Parameters Store aws ssm put-parameter --name "bus_lviv_bot_api_login" --type "String" --value "<TOKEN>"
  • add token to EasyWay API password to AWS Parameters Store aws ssm put-parameter --name "bus_lviv_bot_api_password" --type "String" --value "<TOKEN>"

Development

  1. Run localtunnel npm script with BOT_TOKEN environment variable set
  2. Set webhook for Telegram Bot by navigating to URL from output in previous step
  3. Run dev npm script

Built with

telegraf.js

AWS Lambda

About

Telegram Bot для відстежування громадського транспорту Львова

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages

AltStyle によって変換されたページ (->オリジナル) /