GithubHelp home page GithubHelp logo

haliphax / phaxbot Goto Github PK

View Code? Open in Web Editor NEW
7.0 2.0 1.0 255 KB

Twitch overlay/integration hub

License: MIT License

HTML 3.38% JavaScript 44.33% CSS 25.34% Python 26.27% Dockerfile 0.68%
twitch twitch-bot twitch-overlay avatars chat-widget

phaxbot's Introduction

phaxbot

Twitch overlay/integration hub

Overlays

  • Chat messages
  • Viewer avatars

phaxbot's People

Contributors

dependabot[bot] avatar haliphax avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

satrac

phaxbot's Issues

documentation

Documentation is needed both for developing new avatars within the system and getting the chat bot set up with OAuth bearer tokens, etc.

page for listing available avatars

The list of avatars may eventually become too long for a 500 character message. A page listing the available avatars (and examples of them) will be necessary.

phax-bot-1 just restart

Hey, the phax-bot-1 just keep restarting everytime.

I'm on windows with docker

This is the Traceback
Missing Twitch client id secret

Traceback (most recent call last):

  File "/usr/local/lib/python3.8/runpy.py", line 185, in _run_module_as_main

    mod_name, mod_spec, code = _get_module_details(mod_name, _Error)

  File "/usr/local/lib/python3.8/runpy.py", line 144, in _get_module_details

    return _get_module_details(pkg_main_name, error)

  File "/usr/local/lib/python3.8/runpy.py", line 111, in _get_module_details

    __import__(pkg_name)

  File "/app/phaxbot/web/__init__.py", line 24, in <module>

    import_module(f'..{mod}.web', __name__)

  File "/usr/local/lib/python3.8/importlib/__init__.py", line 127, in import_module

    return _bootstrap._gcd_import(name[level:], package, level)

  File "/app/phaxbot/chat_overlay/web/__init__.py", line 11, in <module>

    from ...bot import user

  File "/app/phaxbot/bot/__init__.py", line 18, in <module>

    helix = Helix(config.CLIENT_ID, config.CLIENT_SECRET)

  File "/usr/local/lib/python3.8/site-packages/twitch/helix/helix.py", line 36, in __init__

    bearer_token = requests.post(f"https://id.twitch.tv/oauth2/token"

KeyError: 'access_token'

EDIT : ok I understand, i need so set env variable for the apps to load. But where I set theses variables ?

EDIT2 : Ok, with the help of google, I know now we need to set up env variable in .env

set twitchUser by query string

Rather than needing to touch docker.html or index.html to customize the overlay, you should be able to pass in the Twitch username via a query string or hash value.

docker container for chat bot

Since we've already got a docker-compose stack and 2 containers to serve and facilitate the web application, the chat bot may as well be containerized.

don't randomize x coordinate of avatar when switching

On instantiation, avatars are provided with a random x coordinate for appearing on-stream. This happens even when someone already has an avatar, but has selected a new one to replace it. The Avatar class constructor needs an optional parameter for bypassing this behavior.

fix last animation in pool

The last animation is not being selected, ever, when choosing idle animations. I think it has to do with how the boundaries between choices are considered.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.