Skip to content

This repository provides a data pipeline that syncs GitHub repositories with a free MySQL-compatible cloud database, TiDB Cloud. It can be used as a standalone data pipeline or as a personal dashboard.

Notifications You must be signed in to change notification settings

hooopo/oh-my-github-dashboard

Repository files navigation

Oh My GitHub Dashboard

Description

Oh My GitHub Dashboard is a data front-end display template for Oh My GitHub Pipeline. It is a GitHub personal user dashboard based on Evidence, a static BI generator that uses SQL and Markdown.

Screenshot

To use this repository as a personal dashboard, after setting up the data pipeline, you can create a web application that queries the MySQL database and displays the data in a user-friendly format.

image

One option for creating a personal dashboard is to use Evidence (SSG) to display the dashboard on Vercel. You can read the data from TiDB Cloud and build the dashboard every hour.

Using the synced data, you can analyze your GitHub activity and use it for personal branding or as a resume. This repository provides a flexible and powerful solution for syncing and analyzing your GitHub data, whether you use it as a personal dashboard or a standalone data pipeline.

Vercel deployment

Deploy with Vercel

How it works

image

SVG api

svg api will automatically find data from evidence build files. This api uses echarts templates from api-vis.

The final url would be YOUR_VERCEL_DOMAIN/api/svg/CHART_ID?w=480&h=320.

The CHART_ID is the query id from any pages, default width is 640 and default height is 320.

Customize & Development

npm run dev:api

This command will only build evidence pages once, so you could not change the SQL after started.

  • Add more templates in api-vis dir, the filename must be the CHART_ID currently. (You must add queries first and restart the dev:api command)
  • Edit [id].ts and support more types of charts.

Related repos

About

This repository provides a data pipeline that syncs GitHub repositories with a free MySQL-compatible cloud database, TiDB Cloud. It can be used as a standalone data pipeline or as a personal dashboard.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published