Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ghostsama2503/osm-changesets-bot

Send OSM changesets to Telegram.
https://github.com/ghostsama2503/osm-changesets-bot

openstreetmap telegram-bot

Last synced: about 1 month ago
JSON representation

Send OSM changesets to Telegram.

Awesome Lists containing this project

README

        

πŸ—ΊοΈ OSM Changesets Bot

> [!NOTE]
> The initial version (in Python) is still available in the [python branch](https://github.com/GHOSTsama2503/OSM-Changesets-Bot/tree/python)

Easy way to see the [changesets](https://wiki.openstreetmap.org/wiki/Changeset) in a certain area in [Telegram](http://telegram.org). 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](https://t.me/BotFather) (Create a new bot if required)
- **CHANNEL_ID**: Unique identifier for the target chat or username of the target channel (in the format @channelusername)
- **DETA_KEY**: [Deta](https://deta.space) API key.
- **FEED_URL**: URL of the [OSMCha](https://osmcha.org) filter that you want to use.
- **TASK_INTERVAL**: Time in seconds between each feed parse.
- **RETRY_INTERVAL**: Time in seconds to wait after each error before running the task again.