Skip to main content

smirnybot9001

A twitch chatbot for displaying LEGO sets, minifigs and parts on an HTML overlay

Installation - Windows

  1. Download and Install Python https://www.python.org/downloads/
  2. Select a directory to install a Python virtualenv and open a command line with the following instructions
  3. Using Command line, create the venv: python -m venv VENVDIR. e.g. C:\Users\***User***\>python -m venv Smirny_Venv
  4. Activate the venv: VENVDIR/Scripts/activate.bat e.g. C:\Users\***User***\Smirny_Venv\Scripts>activate.bat
  5. Install the SmirnyBot into the venv python -m pip install smirnybot9001 e.g. C:\Users\***User***\Smirny_Venv\Scripts>python -m pip install smirnybot9001
  6. Check that the Bot executables are installed in VENVDIR/Scripts smirnyboot9001.exe overlay.exe chatbot.exe
  7. Run smirnyboot.exe --help and note the default location of the config file (Usually HOMEDIR\smirnybot9001.conf) e.g. C:\Users\***User***\Smirny_Venv\Scripts>smirnyboot.exe -h
  8. Copy the sample config file from VENVDIR\Lib\site-packages\smirnybot9001\data\sample.conf to the location noted above (from running smirnyboot.exe --help)
  9. Create a token for your chatbot twitch user (we recommend using a different user than your personal one) by visiting: https://twitchtokengenerator.com/
  10. Configure your newly created token and your channel name (Usually your personal username) in the config file leaving double quotation marks in place
  11. Start the bot and overlay using the smirnyboot9001.exe executable
  12. Browse to http://127.0.0.1:4711 using any browser to ensure that the overlay is running
  13. 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"
  14. Test the bot! Enter !set 10228 in 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:

  1. Update the SmirnyBot inside the venv python -m pip install --upgrade smirnybot9001 e.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)

Source distribution for smirnybot9001 0.0.6
File Size Uploaded
smirnybot9001-0.0.6.tar.gz 343.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for smirnybot9001 0.0.6
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.0.6 This release

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page