mirror of
https://github.com/runkids/skillshare.git
synced 2026-11-20 12:23:22 +00:00
Hub index fetch previously handled only unauthenticated HTTP(S) GET or local file paths, leaving private and GitHub Enterprise repos out of reach — raw HTTPS URLs redirect to login before token headers apply, and SSH-style hub URLs were unrecognized. Resolve SSH hub sources by shallow-cloning the repo with the user's SSH keys and reading the index from it. The in-repo index path uses the existing //path subdir convention (consistent with `install`), defaulting to skillshare-hub.json at the repo root. Both scp-style and ssh:// URLs are accepted. In the web dashboard, SSH clones are restricted to saved hubs so a request-supplied URL can't drive an arbitrary clone. Ref #185
Website
Documentation site for skillshare, built with Docusaurus.
Install
npm install
Local Development
npm start
Quality Checks
npm run typecheck
npm run clear
Build and Preview
npm run build
npm run serve
Deployment
npm run deploy
If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.