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
☠
Metadata
Release files for smirnybot9001 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| smirnybot9001-0.0.6.tar.gz | 343.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| smirnybot9001-0.0.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 613.4 kB
Release files / smirnybot9001-0.0.6.tar.gz
| Download URL | smirnybot9001-0.0.6.tar.gz |
|---|---|
| Size | 343.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5126bc13a92f607da686fe5ade713fb9c9a9f555d1eeb5321875dddea8e37378
|
|
BLAKE2b-256 checksum How to use checksums |
b84bc191d862e8832a366109d1122271e3072d96cc7e79b5c2cad2afdb1bc712
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.23.0
|
Release files / smirnybot9001-0.0.6-py3-none-any.whl
| Download URL | smirnybot9001-0.0.6-py3-none-any.whl |
|---|---|
| Size | 270.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
15cbed2bed729f01125d53684af25261e20acd534fbe5568e24267e0fdd34af7
|
|
BLAKE2b-256 checksum How to use checksums |
2a27e7af83dd6757b4d9652779633498669ee57c7931861148e73317422c31bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.23.0
|