Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/david-fernando/github-card-api

Unofficial GitHub API that return your social preview url
https://github.com/david-fernando/github-card-api

Last synced: about 4 hours ago
JSON representation

Unofficial GitHub API that return your social preview url

Awesome Lists containing this project

README

        

GitHub Card API

[![Status](https://img.shields.io/badge/status-active-success.svg)]() [![License](https://img.shields.io/badge/license-MIT-blue.svg)](/LICENSE)

---

Unofficial GItHub API that return your social preview url


## 📝 Table of Contents

- [How to use](#how_to_use)
- [How to contribute](#how_to_contribute)
- [Built Using](#built_using)
- [Authors](#authors)

## 🏁 How to use

Make a get request to the url below with your Medium user

```bash
GET https://githubcardapi.herokuapp.com/?githubuser={{yourgithubusername}}&repository={{yourrepository}}
```

Example

```bash
https://githubcardapi.herokuapp.com/?githubuser=david-fernando&repository=medium-posts-api
```
The request for the above url will bring the following result

```bash
imageUrl: "https://repository-images.githubusercontent.com/328493464/dba6e680-569b-11eb-8a15-47228be0ccfe"
```

### How to contribute

Fork this repository, make clone for your machine.

Install the dependencies with one of the commands below:

```bash
yarn install

# or

npm install
```

Then, run the development server.

```bash
yarn dev

# or

npm dev
```
Then, let's get coding.
When everything is ready, do a pull request to the branch development.

## ⛏️ Built Using

- [Express](https://expressjs.com/) - Server Framework
- [NodeJs](https://nodejs.org/en/) - Server Environment

## ✍️ Author

- [@david-fernando](https://github.com/david-fernando) - Idea & Initial work