一个用于与grocy交互的Telegram机器人
项目描述
grocy-telegram-bot

grocy-telegram-bot 是一个允许您接收通知并与 Grocy 交互的Telegram机器人。
工作原理
grocy-telegram-bot 是一个自包含的Python应用程序,通过REST API与您的 Grocy 实例进行通信,其中使用了 pygrocy。
如何使用
手动安装
安装
使用pip安装 grocy-telegram-bot
pip3 install grocy-telegram-bot
配置
grocy-telegram-bot 使用 container-app-conf 通过YAML文件以及ENV变量提供配置。请参阅有关它的 文档。
请参阅此存储库中的示例 grocy_telegram_bot_example.yaml。
运行
使用以下命令启动机器人
grocy-python-bot
Docker
要使用docker运行 grocy-telegram-bot,您可以使用来自DockerHub的 markusressel/grocy-telegram-bot 映像
sudo docker run -t \
markusressel/grocy-telegram-bot:latest
您可以使用环境变量或从主机系统挂载配置文件到 /app/grocy_telegram_bot.yaml
来配置此映像。
贡献
GitHub是用于社交编码的:如果您想编写代码,我鼓励通过从此存储库的分支进行pull request来贡献。为错误和新功能创建GitHub票据并评论您感兴趣的。
许可
grocy-telegram-bot by Markus Ressel
Copyright (C) 2020 Markus Ressel
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://gnu.ac.cn/licenses/>.
项目详情
下载文件
下载适合您平台的文件。如果您不确定选择哪个,请了解有关 安装包 的更多信息。
源代码发行版
grocy-telegram-bot-1.0.0.tar.gz (31.5 kB 查看哈希值)
构建发行版
关闭
grocy-telegram-bot-1.0.0.tar.gz 的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | 77c0280492ad30b11d53fb2d740f6b81205f6614a6f8eae2fc1a3e35018e7019 |
|
MD5 | 0dbd5cee2c3c29f940c488f97e39335d |
|
BLAKE2b-256 | d319d5cafbad36da06ca6b90c73ad8a3474e9802495868ad07cffcaf97c74bd6 |
关闭
grocy_telegram_bot-1.0.0-py3-none-any.whl 的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | 94cf61aa9c3888724512e1a2494ad6bcabd882f3b392d93c33be5fb39b3c551a |
|
MD5 | c8ee18ac75ce22c46d4d9a62689ce14d |
|
BLAKE2b-256 | ca6a64a60509a012e728384d45a83e00c8bdac26bee6cb27f9f02ca0c78a82a2 |