原始作者文章仓库地址 jiz4oh/ehforwarderbot,本文在此仓库基础之上新增两个插件,并补充了使用文档。
git clone https://github.com/wbbk/efb-update efb-update
主配置文件 efb-update/profiles/default/config.yaml
middlewares 定义了启用的转发通道和中间件
catbaron.voice_recog 语音转文字patch.PatchMiddleware 手机微信标记已读middlewares 小节Telegram 配置 efb-update/profiles/default/blueset.telegram/config.yaml
token Telegram 的 bot tokenadmins Telegram 账号的数字 IDwechat 配置 efb-update/profiles/default/blueset.wechat/config.yaml
插件 catbaron.voice_recog 配置 efb-update/profiles/default/catbaron.voice_recog/config.yaml
插件 patch.PatchMiddleware 配置 efb-update/profiles/default/patch.PatchMiddleware/config.yaml
auto_mark_as_read 是否自动在手机微信标记已读remove_emoji_in_title 是否移除 Telegram 群组名称中的 emoji# 构建镜像efb
docker build efb-update/ -t efb
# 删除容器efb
docker rm -f efb >/dev/null 2>&1 && docker run -d --name=efb --restart=always -v $PWD/profiles:/data/profiles efb
# 容器和镜像同名,是为了方便快速删除和启动,减少 image id 和 container id的查找和使用
git clone https://github.com/wbbk/efb-update efb-update
cd efb-update
# 参考上文,编辑好配置文件
docker compose up -d
容器内所有数据都在 efb-update/profiles 路径下,更换机器部署或重建容器时,只需备份这个文件夹,然后挂载进新的容器即可(可参考 docker-compose.yml 文件中的挂载方式)。
Content type
Image
Digest
sha256:7a59e97d6…
Size
141.4 MB
Last updated
over 1 year ago
docker pull j0k3rh/efb-wechat