shadow-paw / gh-html Goto Github PK
View Code? Open in Web Editor NEWGithub Pages alike for private repository
License: MIT License
Github Pages alike for private repository
License: MIT License
show APP_SERVER_BASE
on the link
Allow user-defined redis.conf
mapped into redis:/usr/local/etc/redis/redis.conf
requirepass XXXXX
ps. Server already handled redis password on connection url
Also note this on deployment guide.
only show repo with the interested branch
enable expressjs csurf
generate apidoc and push back to gh-html
branch
Tried to load an 1mb html results in 404 not found
seem multiple import cannot access to same singleton thus second load will fail due to env erased.
generate secret with make secret-reset
.env.example
.env
process.env
, delete secret from envlimit access to owned repo
to prevent accessing non trusted sourcesRemove the html and iframe container and use direct link approach. User shall access repo with the url in form /proxy/owner/repo/branch/path/file.html
.
If login required, go for login cycle then back to that link.
optional restrict access to members in a github organization
expect to allow
when access an url ending with ?xxx=abc
, it will treat it as part of file and thus returned 404
.
make sure outgoing request is going to github.com.
@
which redirect whole request to another server and can leak access token.require #10
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.