mdrights / tiny-matrix-bot

(Forked) simple matrix bot based on matrix-python-sdk

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CSObot Matrix Bot

Functions

  • ipfs-add: input a url of webpage then output several IPFS gateway links of that webpage.

  • ipfs-id: show the IPFS id of the bot.

  • uptime: show machine uptime.

  • Alive on this Matrix room (for now): #csobot:matrix.org

Change Log

  • tiny-matrix-bot.py: modified as to parse and pass an argument to scripts.

Quick Deployment

apt install python3 python3-requests curl jq
  (Also IPFS should be installed, default path: ~/go-ipfs/ipfs)
git clone https://github.com/mdrights/tiny-matrix-bot
git clone https://github.com/matrix-org/matrix-python-sdk
cd tiny-matrix-bot
ln -s ../matrix-python-sdk/matrix_client
cp tiny-matrix-bot.cfg.sample tiny-matrix-bot.cfg
vim tiny-matrix-bot.cfg
cp tiny-matrix-bot.service /etc/systemd/system
vim /etc/systemd/system/tiny-matrix-bot.service
systemctl enable tiny-matrix-bot
systemctl start tiny-matrix-bot
systemctl stop tiny-matrix-bot

Updated: 2019.07.21

About

(Forked) simple matrix bot based on matrix-python-sdk

License:Do What The F*ck You Want To Public License


Languages

Language:Python 55.7%Language:Shell 44.3%