Skip to content

A node.js server that hosts private content from a Github repo, protected by email address authentication

Notifications You must be signed in to change notification settings

TehShrike/private-github-website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Given a github repository and a set of allowed email addresses, serves up the content of the repo to everyone who logs in with an allowed email address.

Files are regularly updated from the repository to be served. Non-image files are gzipped automatically.

To determine who has access to the site, put a users.json files in the root of your repository containing an array of email addresses that you want to have access.

To set up your server, make a copy of server.js and fill in your own private values for your email server and Github repository.

About

A node.js server that hosts private content from a Github repo, protected by email address authentication

Resources

Stars

Watchers

Forks

Packages

No packages published