Skip to content

A subscription server for receiving push notifications from youtube

Notifications You must be signed in to change notification settings

SomeStreamsandMaybePanels/Subscription-Server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

subscription-server


A subscription server to be used with a discord bot. Uses MongoDB to retrieve configuration settings.

📝 Table of Contents

🧐 About

This is meant to be a simple youtube subscription server written in JavaScript.

🏁 Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Installing

cd into the directory where you wish to keep the repo and use git clone

git clone https://github.com/SomeStreamsandMaybePanels/Subscription-Server.git

cd into the Subscription-Server directory and use npm install to download all required node-modules

cd Subscription-Server
npm install

End with an example of getting some data out of the system or using it for a little demo.

🎈 .env configuration

make sure to have the following variables setup in your .env file

HUB_URL = The URL for your /websub endpoint (push notifications from youtube pubsub will end up here)
PORT = The port that the server will listen through
DATABASE = MongoDB DB name to pull config info from
COLLECTION = MongoDB Collection name to pull config info from


⛏️ Built Using

✍️ Authors

About

A subscription server for receiving push notifications from youtube

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published