Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/ghostsama2503/osm-changesets-bot
- Owner: GHOSTsama2503
- License: mit
- Created: 2023-01-28T16:28:07.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-25T05:36:10.000Z (4 months ago)
- Last Synced: 2024-08-26T05:26:17.497Z (4 months 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: 0
-
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.