[ Hybrid(s) of machine learning and irc3 framework ] + netspanning [ irc/matrix ]
Go to file
2022-08-08 04:46:37 -05:00
databases work in progress 2022-08-08 04:22:30 -05:00
plugins work in progress 2022-08-08 04:25:25 -05:00
maple.py work in progress 2022-08-08 04:22:30 -05:00
README.md work in progress 2022-08-08 04:22:30 -05:00

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

  1. apt install python3
  2. apt install python3-pip
  3. python3 -m pip install virtualenv

Instructions

  1. git clone --recursive https://git.tcp.direct/decoded/maple_netspan.git
  2. cd maple_netspan
  3. virtualenv env -p python3
  4. 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
  1. pip install -r requirements.txt
  2. 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")
  1. edit plugins/net_matrix_plugin.py - change this username to your to access commands
if m_sender=="@d:tcp.direct":
  1. python3 maple.py