Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/qazxcdswe123/telegramMemoBot
A telegram bot for https://github.com/usememos/memos
https://github.com/qazxcdswe123/telegramMemoBot
Last synced: 14 days ago
JSON representation
A telegram bot for https://github.com/usememos/memos
- Host: GitHub
- URL: https://github.com/qazxcdswe123/telegramMemoBot
- Owner: qazxcdswe123
- Archived: true
- Created: 2022-10-28T14:08:44.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2023-07-31T23:17:01.000Z (over 1 year ago)
- Last Synced: 2024-07-31T08:18:36.188Z (3 months ago)
- Language: Python
- Homepage:
- Size: 44.9 KB
- Stars: 109
- Watchers: 2
- Forks: 17
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome - qazxcdswe123/telegramMemoBot - A telegram bot for https://github.com/usememos/memos (Python)
README
# 迁移
现在memos已经内置了telegram bot,看了一下功能挺全的,可以考虑迁移过去,本项目估计不维护了# Migration
Memos now has telegram bot built in with basically all functionality. This project is left as is.___
English | [中文](README.zh_CN.md)
# Telegram bot for the [Memos](https://github.com/usememos/memos) project
## Breaking changes
- Custom Telegram API endpoint is not supported anymore. Please use a server that can access Telegram services.
## Usage
1. Create a bot using [@BotFather](https://t.me/BotFather), and get your bot token.
2. Get your `chatid` from [@userinfobot](https://t.me/userinfobot)
3. Get your memos API URL.
4. Run the bot with the following command:```bash
docker run -d \
--name tgmemobot \
-e BOT_TOKEN="xxx" \
-e CHAT_ID="yyy,YYY" \
-e MEMO_API="zzz" \
fwing/tgmemobot
```- Hint: You can use multiple `CHAT_ID` by separating them with comma `,` (without space).
Example usage```bash
docker run -d \
--name tgmemobot \
-e BOT_TOKEN="588859xyz:xyz" \
-e CHAT_ID="470183200,1234" \
-e MEMO_API="https://example.com/api/memo?openId=xyz" \
fwing/tgmemobot
```## Notice for China Mainland users
You will need a server that can access telegram services to run this bot.
## Special Thanks
- [FlomoBot](https://github.com/wogong/flomobot)