A twitch chatbot for displaying LEGO sets, minifigs and parts on an HTML overlay
Project description
smirnybot9001
A twitch chatbot for displaying LEGO sets, minifigs and parts on an HTML overlay
Installation - Windows
- Download and Install Python https://www.python.org/downloads/
- Select a directory to install a Python virtualenv and open a command line with the following instructions
- Using Command line, create the venv:
python -m venv VENVDIR. e.g.C:\Users\***User***\>python -m venv Smirny_Venv - Activate the venv:
VENVDIR/Scripts/activate.bate.g.C:\Users\***User***\Smirny_Venv\Scripts>activate.bat - Install the SmirnyBot into the venv
python -m pip install smirnybot9001e.g.C:\Users\***User***\Smirny_Venv\Scripts>python -m pip install smirnybot9001 - Check that the Bot executables are installed in
VENVDIR/Scripts smirnyboot9001.exe overlay.exe chatbot.exe - Run
smirnyboot.exe --helpand note the default location of the config file (UsuallyHOMEDIR\smirnybot9001.conf) e.g.C:\Users\***User***\Smirny_Venv\Scripts>smirnyboot.exe -h - Copy the sample config file from
VENVDIR\Lib\site-packages\smirnybot9001\data\sample.confto the location noted above (from runningsmirnyboot.exe --help) - Create a token for your chatbot twitch user (we recommend using a different user than your personal one) by visiting: https://twitchtokengenerator.com/
- Configure your newly created token and your channel name (Usually your personal username) in the config file leaving double quotation marks in place
- Start the bot and overlay using the
smirnyboot9001.exeexecutable - Browse to http://127.0.0.1:4711 using any browser to ensure that the overlay is running
- Create a Browser Source in OBS and set the URL to: http://127.0.0.1:4711. Make sure the "Control audio via OBS option is set"
- Test the bot! Enter
!set 10228in your chat and see if the overlay displays the wanted set.
Installation - Linux
The Bot has not been tested under Linux but should work just fine
Updating
To update the Bot simply use pip in the location you installed it:
- Update the SmirnyBot inside the venv
python -m pip install --upgrade smirnybot9001e.g.C:\Users\***User***\Smirny_Venv\Scripts>python -m pip install --upgrade smirnybot9001
☠
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
smirnybot9001-0.0.6.tar.gz
(343.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
smirnybot9001-0.0.6-py3-none-any.whl
(270.0 kB
view details)
File details
Details for the file smirnybot9001-0.0.6.tar.gz.
File metadata
- Download URL: smirnybot9001-0.0.6.tar.gz
- Upload date:
- Size: 343.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.23.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5126bc13a92f607da686fe5ade713fb9c9a9f555d1eeb5321875dddea8e37378
|
|
| MD5 |
0a804a4bdf4df97a08d7e1620c588a2f
|
|
| BLAKE2b-256 |
b84bc191d862e8832a366109d1122271e3072d96cc7e79b5c2cad2afdb1bc712
|
File details
Details for the file smirnybot9001-0.0.6-py3-none-any.whl.
File metadata
- Download URL: smirnybot9001-0.0.6-py3-none-any.whl
- Upload date:
- Size: 270.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.23.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
15cbed2bed729f01125d53684af25261e20acd534fbe5568e24267e0fdd34af7
|
|
| MD5 |
3715a90ee17c944c6bbc89e286e5ee8a
|
|
| BLAKE2b-256 |
2a27e7af83dd6757b4d9652779633498669ee57c7931861148e73317422c31bb
|