Coder Social home page Coder Social logo

cnxtech / peristop Goto Github PK

View Code? Open in Web Editor NEW

This project forked from marin-m/peristop

0.0 0.0 0.0 3.89 MB

A simple archiver for popular Periscope broadcasts with a web interface (2016)

Python 72.70% Shell 0.20% JavaScript 10.64% CSS 5.13% HTML 11.33%

peristop's Introduction

Peristop - Simple Periscope archiver

This application will retrieve or record the most popular Periscope broadcasts on a regular basis, and make these accessible through a handy Flask web interface.

Popular records are recorded live as soon as they reach a viewer thresold for the last 24h, and fully retrieved if replay is available. Chat is recorded too. Video chunk concatenation and thumbnail generation is done using ffmpeg.

Dependencies: Python โ‰ฅ 3.5, Flask, Python-Requests, AIOHTTP, PIL, Python-Websocket, Nginx, ffmpeg.

Usage

You need a MySQL server running. Database schema is created through crawler/scheme.sql.

mysql -u username -p password < crawler/scheme.sql

Fill in a config.py file, based on config.sample.py.

Run those two scripts in different terminal tabs:

$ cd crawler
$ ./peristopd.py
$ cd webapp
$ ./run.sh

Then, launch nginx using the nginx.conf script.

$ sudo nginx -c nginx.conf

You will then access the Periscope interface on http://localhost:80/ (if you didn't change the port).

peristop's People

Contributors

marin-m 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.