Git Product home page Git Product logo

hexstreamers's Introduction

hexstreamers

The HEX TV Guide, multiple lists of community content, automatically refreshed every few minutes

Website - https://HEXstreamers.com

  • Online Streams List
  • Offline Streams List
  • Scheduled/Upcoming Youtube Streams List
  • Youtube Videos List
  • RSS Feed List
  • TikTok List

Twitter Bot - https://twitter.com/HEXstreamers
Telegram Bot - https://t.me/HEXstreamers

Setup

  1. Rent Linux Server & Connect to it
    Server - Vultr - https://www.vultr.com/
    SSH - Putty - https://www.putty.org/

  2. Install Nodejs and NPM
    sudo apt update
    sudo apt install nodejs
    sudo apt install npm
    nodejs -v

  3. Install Firefox
    npm install firefox

  4. Download Code
    git clone https://github.com/togosh/hexstreamers.git

  5. Copy config-default.json to config.json and set the values
    cp config-default.json config.json
    vi config.json //i - Insert mode, Press Esc and :q - Quit, or :wq - Write and Quit
    (Or download it, make the changes it and then upload it - Filezilla: https://filezilla-project.org/)

  6. Create MongoDB Atlas Database and Install Compass https://www.mongodb.com/cloud/atlas
    https://www.mongodb.com/products/compass

  7. (OPTIONAL) Import Data from /data20211005 folder

  8. Run Start/Update script
    chmod +x update.sh
    ./update.sh

  9. Setup Reboot
    chmod +x start.sh
    sudo crontab -e
    @reboot /home/hexstreamers/start.sh

  10. Watch Log
    forever logs
    tail -f /root/.forever/AAAA.log

NOTE: Mongo Compass (Filters)

{isTestData: {$eq: true}}
{channelId: {$eq: "AAAAAAAAAAAAAA"}}
{streamType: {$eq: "TWITCH"}}

More Setup

A. Buy Domain
https://www.namecheap.com/

B. Redirect Domain
https://www.namecheap.com/support/knowledgebase/article.aspx/9837/46/how-to-connect-a-domain-to-a-server-or-hosting/

C. Setup SSL
https://www.namecheap.com/support/knowledgebase/article.aspx/9704/14/generating-a-csr-on-nodejs/
https://www.namecheap.com/support/knowledgebase/article.aspx/9705/33/installing-an-ssl-certificate-on-nodejs/
https://stackoverflow.com/questions/31156884/how-to-use-https-on-node-js-using-express-socket-io/31165649#31165649

TODO

  • tweet out tiktok videos

  • only show content if title contains ABC or doesnt contain XYZ
    --- add two database fields, whitelist and blacklist, filter by those words

  • remove youtube streams and youtube videos if video is no longer available or private
    --- how to automate deleting of tweet?

  • add Odysee (LBRY) platform

  • fix youtube premier videos
    --- create a test channel

  • re-architect timers, wait for work to finish before running functions again

hexstreamers's People

Contributors

togosh avatar togoshigekata avatar

Watchers

 avatar

Forkers

wanghaisheng

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.