Skip to content

Lists of content from the HEX cryptocurrency community, automatically updated every few minutes

License

Notifications You must be signed in to change notification settings

togosh/hexstreamers

Repository files navigation

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

About

Lists of content from the HEX cryptocurrency community, automatically updated every few minutes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published