现在memos已经内置了telegram bot,看了一下功能挺全的,可以考虑迁移过去,本项目估计不维护了
Memos now has telegram bot built in with basically all functionality. This project is left as is.
English | 中文
Telegram bot for the Memos project
- Custom Telegram API endpoint is not supported anymore. Please use a server that can access Telegram services.
- Create a bot using @BotFather, and get your bot token.
- Get your
chatid
from @userinfobot - Get your memos API URL.
- Run the bot with the following command:
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
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
You will need a server that can access telegram services to run this bot.