Coder Social home page Coder Social logo

bwstreams's Introduction

bwstreams

Overview

bwstreams is a Python 2 Google App Engine app that tracks Brood War streams from AfreecaTV. See it live at https://bwstreams.appspot.com.

Running the development server

  1. Install the Google Cloud SDK
  2. Open Google Cloud SDK Shell
  3. Downgrade gcloud version (later versions are broken!): gcloud components update --version 359.0.0
  4. Run dev_appserver.bat (or run the command dev_appserver.py app.yaml using Python 2)

Useful Google Cloud Commands

  • gcloud app versions list
  • gcloud app versions delete
  • gcloud meta list-files-for-upload
  • gcloud app deploy

Adding streams

Visit http://localhost:8080/admin/initialise_database to initialise a new database from a preset list, .

Use the admin control panel http://localhost:8080/admin.html to add, edit or remove streams.

Triggering an update

The app refreshes stream information every minute. Visit http://localhost:8080/admin/update_database to manually trigger a refresh.

Stream information (JSON)

All the stream information can be found at http://localhost:8080/streams.json.

Summary of links

Description Local Dev Link Hosted Link
Main page http://localhost:8080 https://bwstreams.appspot.com
Stream list (barebones) http://localhost:8080/afreeca_database.json https://bwstreams.appspot.com/afreeca_database.json
Initialise database http://localhost:8080/admin/initialise_database https://bwstreams.appspot.com/admin/initialise_database
Admin control panel http://localhost:8080/admin.html https://bwstreams.appspot.com/admin.html
Trigger update http://localhost:8080/admin/update_database https://bwstreams.appspot.com/admin/update_database
Stream information http://localhost:8080/streams.json https://bwstreams.appspot.com/streams.json
Google Cloud Dashboard https://console.cloud.google.com/home/dashboard?project=bwstreams

bwstreams's People

Contributors

rmcat avatar

Stargazers

Ivan avatar  avatar  avatar  avatar  avatar  avatar Christian Maioli avatar

Forkers

nolansea

bwstreams's Issues

Add `target: _blank` to links

Adding `target= "_blank" to the links will allow each stream to be opened in a new tab without redirecting away from the site. This would allow a user to open multiple streams at once. I couldn't figure out how to create a new branch and open a pull request myself, but feel free to give me perms and I can add a pull request for this.

Add seraa to the list

Please add "seraa" AKA StarGirl Seo Yeon Ji (서연지) to the list.
http://play.afreecatv.com/seraa/
She has been part of the StarCraft community, a professional StarCraft tournament "booth girl", an interviewer, a co-host and has streamed her games of SC:BW for numerous years now and she still isn't listed here.

[Suggestion] Player list display

I think it would be helpful if streamers were ordered by its race as default and it were some kind of dropdown list you could hide by clicking race's name

bwapp change2

bwapp change

This should help when there are a lot of streamers and we're trying to catch a single player knowing his race

P.s: Sorry about that crappy edition, only had paint to make it xD

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.