You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13Lines changed: 13 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -98,6 +98,19 @@ If you run cwlviewer in production, you are likely to hit the GitHub API's rate
98
98
99
99
OAuth tokens can be obtained using the [Github authorizations API](https://developer.github.com/v3/oauth_authorizations/).
100
100
101
+
## Private Repositories
102
+
103
+
If you wish to use cwlviewer to view private Github repositories, set
104
+
105
+
```
106
+
githubAPI.useForDownloads = true
107
+
singleFileSizeLimit = 1048575
108
+
```
109
+
110
+
Along with an authentication method which has the privileges necessary to access the repository (see above).
111
+
112
+
**WARNING**: This uses the [Github Contents API](https://developer.github.com/v3/repos/contents/) to download files instead of [Rawgit](https://rawgit.com/) which will increase API calls significantly.
113
+
101
114
## Building and Running
102
115
103
116
To compile you will need [Java 8](http://www.oracle.com/technetwork/java/javase/downloads/index.html) or OpenJDK 8 (`apt install openjdk-8-jdk`),
0 commit comments