Skip to main content

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

  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

‍☠

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)

Uploaded Source

Built Distribution

smirnybot9001-0.0.6-py3-none-any.whl (270.0 kB view details)

Uploaded Python 3

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

Hashes for smirnybot9001-0.0.6.tar.gz
Algorithm Hash digest
SHA256 5126bc13a92f607da686fe5ade713fb9c9a9f555d1eeb5321875dddea8e37378
MD5 0a804a4bdf4df97a08d7e1620c588a2f
BLAKE2b-256 b84bc191d862e8832a366109d1122271e3072d96cc7e79b5c2cad2afdb1bc712

See more details on using hashes here.

File details

Details for the file smirnybot9001-0.0.6-py3-none-any.whl.

File metadata

File hashes

Hashes for smirnybot9001-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 15cbed2bed729f01125d53684af25261e20acd534fbe5568e24267e0fdd34af7
MD5 3715a90ee17c944c6bbc89e286e5ee8a
BLAKE2b-256 2a27e7af83dd6757b4d9652779633498669ee57c7931861148e73317422c31bb

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page