Skip to content

michaelmdresser/teemo-tool-site-standalone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

teemo-tool-site-standalone

This is a fully local (no backend) version of the Teemo Tool project's web frontend.

Screenshot of website in action

It watches Twitch chat by using Twitch's IRC interface and tmi.js. OAuth is unnecessary because we are only reading messages.

Developing

If running the site locally, serve it from a local HTTP server to avoid CORS issues that crop up when accessing local files like the dependencies in the js folder. A simple way of doing this is with Python's SimpleHTTPServer. In the root directory of this project, run python -m SimpleHTTPServer 8000 and then navigate to localhost:8000 in your browser.

Use document.test("!blue 100") (for example) in the browser console to simulate receiving a message of !blue 100 from username tester. Use document.sendSampleInput() in the console to simulate receiving multiple bets (successful and unsucessful) from a variety of users. See the source code for the expected result values.

About

Fully local (no backend required) version of teemo-tool-site

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published