[ Hybrid(s) of machine learning and irc3 framework ] + netspanning [ irc/matrix ]
databases | ||
plugins | ||
maple.py | ||
README.md | ||
requirements.txt |
MAPLE+G1MP ML/Irc3 Hybrid VARIANTED INTO NETSPANNING
[ Netspanning ]
- irc
- matrix
[ The hybridization ]
- m4plmp - [sourcecode](https://git.tcp.direct/decoded/m4pl1mp)
[ Hybrid of machine learning and irc3 framework ]
- Maple - [sourcecode](https://git.tcp.direct/decoded/Maple)
- g1mp - [sourcecode](https://git.tcp.direct/decoded/g1mp)
Prerequisites
apt install python3
apt install python3-pip
python3 -m pip install virtualenv
Instructions
git clone --recursive https://git.tcp.direct/decoded/maple_netspan.git
cd maple_netspan
virtualenv env -p python3
source env/bin/activate
Append your developer api keys to env/bin/activate. Example below:
cat env/bin/activate
..
export BOT_SASL_USERNAME=your_nickserv_username
export BOT_SASL_PASSWORD=your_nickserv_password
export NICKSERV_USERNAME=your_nickserv_username
export NICKSERV_PASSWORD=your_nickserv_password
export MATRIX_HOMESERVER=https://matrix.org
export MATRIX___USERNAME=your_matrix_username
export MATRIX___PASSWORD=your_matrix_password
export DEVELOPER_KEY="1394823190182390182382383215382158321" # <- YOUTUBE API KEY
export CONSUMER_KEY="2151235132512351235123512351325231" # <- TWITTER API KEY
export CONSUMER_SECRET="514512521345234523452345234523452345234523452" # <- TWITTER API KEY
export ACCESS_TOKEN_KEY="24513429875209348502934850294898348034850293485203948592" # <- TWITTER API KEY
export ACCESS_TOKEN_SECRET="523490582034985203948520394804884820934850923485" # <- TWITTER API KEY
pip install -r requirements.txt
edit maple.py - add your matrix username here so that it self-ignores
guds.add_credentials("@maple.or.g1mp:matrix.org")
guds.add_credentials("@maple:pcriot.org")
edit plugins/net_matrix_plugin.py - change this username to your to access commands
if m_sender=="@d:tcp.direct":
python3 maple.py