https://github.com/spanglelabs/todolistbot
A little bot to parse my textual todo lists
https://github.com/spanglelabs/todolistbot
Last synced: about 2 months ago
JSON representation
A little bot to parse my textual todo lists
- Host: GitHub
- URL: https://github.com/spanglelabs/todolistbot
- Owner: SpangleLabs
- License: mit
- Created: 2021-07-26T23:45:05.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-11-01T17:24:29.000Z (over 4 years ago)
- Last Synced: 2025-01-28T08:51:11.811Z (over 1 year ago)
- Language: Python
- Size: 67.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Todo list bot
A simple telegram bot to browse, modify, and manage markdown-style todo lists saved on a local filesystem.
## Installation and running
1. Install with: `poetry install`
2. Setup config: Create a config file called config.json, with this format:
```
{
"telegram": {
"api_id": "",
"api_hash": "",
"bot_token": ""
},
"storage_dir": "todo/",
"allowed_chat_ids": [],
}
```
- Add your telegram ID, hash, and bot token
- Add your telegram user ID to the "allowed_chat_ids" list, and any other user IDs or group chat IDs which are allowed to use the bot. (All users will share the same todo list folders. There may be issues if multiple users try and update a todo list at the same time)
- Prometheus metrics port may be optionally configured with "prometheus_port" key, defaults to 8479 otherwise
3. Run with: `poetry run python main.py`