Skip to content

legzdev/OSM-Changesets-Bot

Repository files navigation

🗺️ OSM Changesets Bot

Note

The initial version (in Python) is still available in the python branch

Easy way to see the changesets in a certain area in Telegram. Send the messages directly to you, or create a channel and share it with other users.

Set up the environment variables

Environment variables are necessary, to declare them just create a .env file at the root of the project (you can use another method if you prefer).

  • BOT_TOKEN: Telegram bot token, is obtained from @BotFather (Create a new bot if required)

  • CHANNEL_ID: Unique identifier for the target chat.

  • FEED_URL: URL of the OSMCha filter that you want to use.

  • DATABASE_URL: Custom dstabase URL (default data/database.db).

  • CHECKS_INTERVAL: Time in seconds between each feed parse (default 60s).

  • RETRIES_INTERVAL: Time in seconds to wait after each error before running the task again (default 5s).

About

Send OSM changesets to Telegram.

Topics

Resources

License

Stars

Watchers

Forks

Packages