GithubHelp home page GithubHelp logo

eduhayon / livepoll Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wawachief/livepoll

0.0 1.0 0.0 519 KB

Interactive poll to use during youtube live sessions

License: GNU General Public License v3.0

CSS 7.77% HTML 34.06% Python 58.17%

livepoll's Introduction

livePoll

Interactive poll to use during youtube live sessions

  • first you have to type the questions in the liste_question.py file
  • there are generic questions Yes/No, True/False, choices by default but you can change them
  • run the views.py script (python 3.7 minimum with flask module) to launch the app : python3 views.py

python modules

In order to launch the app, you will need the following modules installed with pip:

  • flask
  • qrcode
  • requests

URLS

The web server listens to http://your_server:5000/

There are three web pages :

  • http://your_server:5000/ : address to give to your students. The questions will appear there
  • http://127.0.0.1:5000/admin.html : the admin page allows you to select the active question
  • http://127.0.0.1:5000/bilan : to see the results of the polls. The green backgroud allows incrustation inside OBS

If you want to access bilan and admin.html pages from another host, you need to add the allowed IP addresses in the ip_admin list at the beginning of the views.py script.

usage

  • The students's page refreshes automagically. They don't have anything else to do but answering the questions when the teacher pushes them.
  • the teacher chooses the questions from the admin page.
  • the bilan page is designed to be displayed within OBS. The green background allows transparency using the chroma key filter. screen1

The qrcode is automatically generated by fetching your public IP address. If you want a specific URL to be included instead, just type it in the ip_pub variable. The same goes for ip_port which is 5000 by default.

livepoll's People

Contributors

wawachief avatar

Watchers

James Cloos avatar

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.