Private Repositories
Yes! jsrepo supports private repositories too.
Adding blocks from a private repository is as simple as providing jsrepo with an auth token.
Your auth tokens are stored locally on your computer using conf.
┌ jsrepo v1.27.0
│
◇ Which provider is this token for?
│ github
│
◇ Paste your token
│ ▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪
│
└ All done!
FAQ
- - GitHub - Create a fine grained PAT with access to the repositories you are using and make sure to change the access for Contents under Repository permissions to Read-only.
- - GitLab - Create an access token with read_api and read_repository.
- - BitBucket - Create an access token with Read for Repositories.