Skip to content

Mediengewitter (= german for media thunderstorm) is node.js framework to push images to all connected clients via websockets

Notifications You must be signed in to change notification settings

samularity/mediengewitter

 
 

Repository files navigation

Mediengewitter (german for media thunderstorm)

rewrite of mediengewitter in python since Node.js 6 (Boron) is outdated. Thanks to @makefu and @pfleidi for their original work.

Mediengewitter is a python framework to push images to all connected clients via websockets.

Dependencies

Mediengewitter needs a number of 3rd party libraries.

You can install them with [pip]: - websockets - requests

example nginx.conf

partial nginx.conf with websocket and static index.html

# mediengewitter
    server {
       server_name www.your-domian.com;
       listen [::]:5000;
       listen 5000;
       root /www/mediengewitter/public/;

       location /websocket {
            proxy_pass http://localhost:8080/;
            proxy_http_version 1.1;
            proxy_set_header Upgrade $http_upgrade;
            proxy_set_header Connection 'upgrade';
            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
       }

       location / {
            index index.html;
       }
    }

About

Mediengewitter (= german for media thunderstorm) is node.js framework to push images to all connected clients via websockets

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 41.8%
  • CSS 25.0%
  • Python 22.0%
  • HTML 9.6%
  • Nix 1.6%