A chatbot to help with live stream production/effects.
Go to file
2021-05-15 00:31:32 -04:00
channel_rewards Improvements 2021-05-14 23:30:40 -04:00
commands Improvements 2021-05-14 23:30:40 -04:00
credential_templates working token generation 2021-04-23 06:34:37 -04:00
event_logs Improvements 2021-05-14 23:30:40 -04:00
tests Improvements 2021-05-14 23:30:40 -04:00
user_client/v1 Polishing 2021-05-15 00:31:32 -04:00
.gitignore Event Module 2021-05-07 14:55:06 -04:00
badwords.py Removing Old Stuff and Blocked bad words 2021-04-21 16:40:55 -04:00
chyron_module.py Improvements 2021-05-14 23:30:40 -04:00
config.py Improvements 2021-05-14 23:30:40 -04:00
cooldowns.py Improvements 2021-05-14 23:30:40 -04:00
COPYING Copyright headers 2021-05-14 17:16:30 -04:00
credentials.py Improvements 2021-05-14 23:30:40 -04:00
db.py Improvements 2021-05-14 23:30:40 -04:00
docker-compose.yaml Added user-client Docker stuff 2021-05-11 18:01:01 -04:00
Dockerfile_standalone_channelRewards.Dockerfile Progress & bug Fix 2021-05-12 17:15:23 -04:00
Dockerfile_standalone_command.Dockerfile Docker / Editor Changes 2021-05-03 03:26:30 -04:00
Dockerfile_standalone_DiscordScript.Dockerfile Docker / Editor Changes 2021-05-03 03:26:30 -04:00
Dockerfile_standalone_eventlog.Dockerfile Basic Kinda Half Working 2021-05-12 18:02:42 -04:00
Dockerfile_standalone_lights.Dockerfile Docker / Editor Changes 2021-05-03 03:26:30 -04:00
Dockerfile_standalone_tts_core.Dockerfile Docker / Editor Changes 2021-05-03 03:26:30 -04:00
Dockerfile_standalone_Twitch_Pubsub.Dockerfile Docker / Editor Changes 2021-05-03 03:26:30 -04:00
Dockerfile_standalone_TwitchScript.Dockerfile Docker / Editor Changes 2021-05-03 03:26:30 -04:00
Dockerfile_standalone_user_client.Dockerfile Added user-client Docker stuff 2021-05-11 18:01:01 -04:00
Dockerfile_standalone_websource.Dockerfile Updated Websources 2021-05-03 17:24:39 -04:00
Dockerfile-OLD Docker / Editor Changes 2021-05-03 03:26:30 -04:00
help_module.py Improvements 2021-05-14 23:30:40 -04:00
hotkey_script.py Improvements 2021-05-14 23:30:40 -04:00
lights_module.py Improvements 2021-05-14 23:30:40 -04:00
main.py Improvements 2021-05-14 23:30:40 -04:00
makedockerimages.bat Added user-client Docker stuff 2021-05-11 18:01:01 -04:00
makedockerimages.sh github prep 2021-05-13 16:33:27 -04:00
obsWebSocket.py Improvements 2021-05-14 23:30:40 -04:00
praxis bot.code-workspace Docker / Editor Changes 2021-05-03 03:26:30 -04:00
praxis_logging.py Improvements 2021-05-14 23:30:40 -04:00
praxis-main-start.bat script updates 2021-04-29 18:19:43 -04:00
praxis-main-stop.bat script updates 2021-04-29 18:19:43 -04:00
praxis-tts-speaker.bat script updates 2021-04-29 18:19:43 -04:00
praxis-tts-speaker.sh github prep 2021-05-13 16:33:27 -04:00
README.md Polishing 2021-05-15 00:31:32 -04:00
rebuild_docker_and_run.bat Update rebuild_docker_and_run.bat 2021-05-03 03:52:03 -04:00
requirements_sa_command.txt Docker Improvements & Simplification 2021-04-22 15:15:11 -04:00
requirements_sa_discord.txt Docker Improvements & Simplification 2021-04-22 15:15:11 -04:00
requirements_sa_twitch_pubsub.txt further testing 2021-04-23 14:51:13 -04:00
requirements_sa_twitch.txt Docker Improvements & Simplification 2021-04-22 15:15:11 -04:00
requirements.txt Polishing 2021-05-15 00:31:32 -04:00
standalone_channelrewards.py Improvements 2021-05-14 23:30:40 -04:00
standalone_command.py Improvements 2021-05-14 23:30:40 -04:00
standalone_discord_script.py Improvements 2021-05-14 23:30:40 -04:00
standalone_eventLog.py Improvements 2021-05-14 23:30:40 -04:00
standalone_lights.py Improvements 2021-05-14 23:30:40 -04:00
standalone_obsWebSocket.py Improvements 2021-05-14 23:30:40 -04:00
standalone_tts_core.py Improvements 2021-05-14 23:30:40 -04:00
standalone_tts_speaker.py Improvements 2021-05-14 23:30:40 -04:00
standalone_twitch_pubsub.py Improvements 2021-05-14 23:30:40 -04:00
standalone_twitch_script.py Improvements 2021-05-14 23:30:40 -04:00
standalone_user_client.py Improvements 2021-05-14 23:30:40 -04:00
standalone_webSource.py Improvements 2021-05-14 23:30:40 -04:00
tempText_Module.py Improvements 2021-05-14 23:30:40 -04:00
test_module.py Improvements 2021-05-14 23:30:40 -04:00
timers_module.py Improvements 2021-05-14 23:30:40 -04:00
tts.py Improvements 2021-05-14 23:30:40 -04:00
twitch_generate_credentials.py Improvements 2021-05-14 23:30:40 -04:00
user_client_module_InfoLookup.py Improvements 2021-05-14 23:30:40 -04:00
user_module.py Improvements 2021-05-14 23:30:40 -04:00
utilities_script.py Improvements 2021-05-14 23:30:40 -04:00

Praxis Bot

Praxis_Bot is software that focuses on improving communication and management between people, processes, and services. This bot aims to assist and enhance live streams, digital exhibits, chat rooms, and other countless spaces or venues.

The bot provides and assists with several things like custom commands, channel rewards, stream sources, digital or practical effects, and moderation support, especially across multiple platforms and systems simultaneously.



Requirements:

  • Docker (For the Standalone Service Containers)
  • Python (Min Version > 3.7 for TTS Speaker)
    (Remember to use pip install -r requirements.txt)


Docker:

This bot primarily uses docker to run various services. To install Docker for windows visit: https://www.docker.com/get-started.

Image Setup:

Use the following command in the terminal to setup all the images.

Windows: makedockerimages.bat
Linux: makedockerimages.sh

Docker-Compose Info:

To Start: docker-compose up -d
To Stop: docker-compose down


User TTS Speaker:

To receive audio from standalone_tt_core.py launch standalone_tts_speaker.py.

python standalone_tts_speaker.py

or

windows: praxis-tts-speaker.bat (Modify this to match the correct directory! Or no work for YOU!!!)
linux: praxis-tts-speaker.sh


User Web Client:

Once Praxis_Bot is setup, to access the User Client visit index.html from \user_client\v1\ in your browser.


Credentials:

Credentials Setup:

Create a json based on the templates and put them into the /credentials/ folder. Refer to the /credential_templates/ folder for examples.

For Twitch Credentials:

Twitch IRC Chat Credentials:

Username = TwitchUsername (Must match credentialsNickname in config)

Helix Client ID = https://dev.twitch.tv/console/apps

Oauth = https://twitchapps.com/tmi/

V5 Client ID = https://twitchtokengenerator.com/

Twitch PubSub Credentials:

pubsub_client_id = https://dev.twitch.tv/console/apps Set url to http://localhost:17563 pubsub_secret = ^Look at Instructions Above^

pubsub_AccessToken = Generate by using: python twitch_generate_credentials.py pubsub_RefreshToken = ^Look at Instructions Above^

For Database Credentials:

Will be replaced soon.
The current db.py file is not being used for now.
Nickname = Anything You Want (Must match credentialsNickname in config)

Engine = "mysql+mysqlconnector://root:password@localhost:3306/DatabaseName"

For Discord Credentials:

Nickname = Anything You Want (Must match credentialsNickname in config)

Token = https://discord.com/developers/

Phue Credentials:

The lights module will only be able to establish and generate credentials if the button on the bridge is pressed prior to running the script via: python lights_module.py

After running a credential file will be created in the user's home directory on their operating system called .python_hue this can then be moved into the credentials folder.

Credential Usage:

Place json credentials in the /credentials/ folder. To load them, run load_credentials() from Credentials_Module in the credentials.py script.



Praxis_Bot Development and Technical Support:

If you want to get in on the action and join the conversations that affect this project's long-term development, create cool modules, or have questions join our discord!

https://discord.com/invite/sNTXWn4

To preview the bot you can check it out on my stream thecuriousnerd.tv This project is used heavily on my stream and is often worked upon during them.



Support The Project:

If you wish to support the project, one of the easiest ways to do so is by sending either BTC or Eth

Bitcoin: 1BFQTkb43bGMSNJjsQtiqai5eQjF5CLcAG
Ethereum: 0x34DE0330ba2CD4030bBbFE9B46D31DeFeE1ffa54