Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mrf345/gh-used-by

Generate GitHub dependents (Used-by) shields.io badge.
https://github.com/mrf345/gh-used-by

badge badges dependents github shields-io used-by

Last synced: 2 days ago
JSON representation

Generate GitHub dependents (Used-by) shields.io badge.

Awesome Lists containing this project

README

        


gh-used-by



Simple serverless wrapper to fetch a GitHub project dependents (Used-by) count, and generate shields.io badge. Do check [the live demo](https://used-by-cc7fc.web.app/)!

### Examples



React Badge


Angular Badge


Svelte Badge

```html

React Badge


Angular Badge


Svelte Badge

```

### Self-hosting

This project's based on Firebase cloud functions and cloud hosting, to self-host it you'll need to create a Blaze account [here](https://firebase.google.com/pricing), then do the following:

1. create a new project and copy the project id (secondary header under the project name i.e `used-by-cc7fc`)
2. replace `used-by-cc7fc` in `.firebaserc` with your project id
3. install `firebase-cli` [instructions](https://firebase.google.com/docs/cli)
4. run `firebase serve`, checkout http://localhost:5000/, and make sure everything works locally
5. finally deploy the project with `firebase deploy`