Skip to content

Instantly share code, notes, and snippets.

@zthxxx
Last active July 21, 2020 04:58
Show Gist options
  • Save zthxxx/111ea45c357fb14accb65168289e2570 to your computer and use it in GitHub Desktop.
Save zthxxx/111ea45c357fb14accb65168289e2570 to your computer and use it in GitHub Desktop.
install ehForwarderBot 2.0
apt install -y python3-pip libopus0 ffmpeg libmagic1
pip3 install setuptools ehforwarderbot efb-telegram-master efb-wechat-slave
EFB_DATA_PATH="${HOME}/.ehforwarderbot"
EFB_PROFILE="${EFB_DATA_PATH}/profiles/default"
mkdir -p ${EFB_PROFILE}/blueset.telegram
cat > ${EFB_PROFILE}/config.yaml <<-EOF
master_channel: blueset.telegram
slave_channels:
- blueset.wechat
EOF
cat > ${EFB_PROFILE}/blueset.telegram/config.yaml <<-EOF
token: ""
admins:
- 12345
EOF
vim ${EFB_PROFILE}/blueset.telegram/config.yaml
# nohup ehforwarderbot &>> efb.log &
# cat efb.log && tail -f efg.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment