/gh-tl

A simple serverless tool to bring your github timeline to anywhere.

Primary LanguagePythonMIT LicenseMIT

GH-TL

Github Timeline Embedder


How to use?

Just use it as an image tag

Result

Options

Zoom

0.5x

<img src="https://ghtl.vercel.app/svg?user=joelibaceta&zoom=0.5"/>

0.25x

<img src="https://ghtl.vercel.app/svg?user=joelibaceta&zoom=0.25"/>

Shape

Circle

<img src="https://ghtl.vercel.app/svg?user=joelibaceta&shape=circle"/>

Dark

true

<img src="https://ghtl.vercel.app/svg?user=joelibaceta&dark=true"/>

Color

Blue (#38507a)

<img src="https://ghtl.vercel.app/svg?user=joelibaceta&color=38507a"/>

Red (#dd4b3c)

<img src="https://ghtl.vercel.app/svg?user=joelibaceta&color=dd4b3c"/>

Pink (#ff4081)

<img src="https://ghtl.vercel.app/svg?user=joelibaceta&color=FF4081"/>

Purple (#8e44ad)

<img src="https://ghtl.vercel.app/svg?user=joelibaceta&color=8e44ad"/>


How it works?

  1. Receive a http request with the github username whose timeline want to embed
  2. Make a GET request to github.com to get the profile page source code.
  3. Scrap the html code to extract the timeline svg tag.
  4. Prepare the final svg to return.