Badgen.net: badge for private repos?

Created on 20 Sep 2018  路  6Comments  路  Source: badgen/badgen.net

can I create badgen for private repos...

wontfix

Most helpful comment

Nope, Badgen cannot access private repo without a token.

Maybe you can consider creating an endpoint (with /runkit or /https), get data privately and return a json data, let Badgen do the svg generating.

All 6 comments

Nope, Badgen cannot access private repo without a token.

Maybe you can consider creating an endpoint (with /runkit or /https), get data privately and return a json data, let Badgen do the svg generating.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Can someone give an example of creating endpoint (with /runkit or /https)?

There's examples at the end of docs:

https://badgen.net/docs/https
https://badgen.net/docs/runkit

@sumitkanoje what's the confusing part?

@amio I'm not aware of which link/api to be consumed inside runkit/https for fetching build status of private repo, Should it be github or circleci ?

@sumitkanoje Yep, you should make a public api, which get raw status from github/circleci and response with { subject, status, color }, Badgen will render a badge from that api.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

GMartigny picture GMartigny  路  6Comments

diomed picture diomed  路  3Comments

wopian picture wopian  路  3Comments

madnight picture madnight  路  5Comments

tunnckoCore picture tunnckoCore  路  6Comments