https://github.com/legzdev/OSM-Changesets-Bot
Send OSM changesets to Telegram.
https://github.com/legzdev/OSM-Changesets-Bot
openstreetmap telegram-bot
Last synced: about 1 year ago
JSON representation
Send OSM changesets to Telegram.
- Host: GitHub
- URL: https://github.com/legzdev/OSM-Changesets-Bot
- Owner: legzdev
- License: mit
- Created: 2023-01-28T16:28:07.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-08-25T05:36:10.000Z (almost 2 years ago)
- Last Synced: 2025-04-04T00:03:43.594Z (over 1 year ago)
- Topics: openstreetmap, telegram-bot
- Language: Go
- Homepage: https://t.me/OSM_Cuba_Changesets
- Size: 40 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.