[ Hybrid(s) of machine learning and irc3 framework ] + netspanning [ irc/matrix ]
databases | ||
plugins | ||
bot.py | ||
Pipfile | ||
README.md | ||
setup.sh |
MAPLE+G1MP ML/Irc3 Hybrid - Netspanning Variant
To summarize this, this proect is the `m4pl1mp` hybrid, where
that hybrid only uses the irc protocol for communication with
irc servers, this one also uses the matrix protocol and talks
to matrix servers. so it's essentialy two clients wrapped in
one and not only bridging information between the two networks
but unifying maple's services between them as well.
[ Netspanning ]
- irc
- matrix
[ The actual base hybrid ]
- 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 --user pipenv
Instructions
git clone --recursive https://git.tcp.direct/decoded/maple_netspan.git
cd maple_netspan
sh setup.sh
Append your developer api keys and credentials to .venv/bin/activate. Example below:
https://console.cloud.google.com/apis/credentials
cat .venv/bin/activate
..
export NICKSERV_USERNAME=your_nickserv_username # <- IRCD NICKSERV USER
export NICKSERV_PASSWORD=your_nickserv_password # <- IRCD NICKSERV PASS
export BOT_SASL_USERNAME=$NICKSERV_USERNAME # <- IRCD NICKSERV USER
export BOT_SASL_PASSWORD=$NICKSERV_PASSWORD # <- IRCD NICKSERV PASS
export MATRIX_HOMESERVER=https://matrix.org # <- MATRIX HOMESERVER
export MATRIX___USERNAME=your_matrix_username # <- MATRIX USERNAME
export MATRIX___PASSWORD=your_matrix_password # <- 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
edit maple.py - change these to your matrix bot's @username:server 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 - changing to your username gives you access to matrix commands
m_sender=="@d:tcp.direct"
pipenv run maple.py