/star-history

The missing star history graph of GitHub repos - https://star-history.com

Primary LanguageTypeScriptMIT LicenseMIT

🧩 Also available as a Chrome extension

✨ Star History ✨

star-history.com, the missing GitHub star history graph of GitHub repos.

Star History Chart

👆 THIS is a live chart created with the following html: 👇

<picture>
  <source
    media="(prefers-color-scheme: dark)"
    srcset="
      https://api.star-history.com/svg?repos=star-history/star-history&type=Date&theme=dark
    "
  />
  <source
    media="(prefers-color-scheme: light)"
    srcset="
      https://api.star-history.com/svg?repos=star-history/star-history&type=Date
    "
  />
  <img
    alt="Star History Chart"
    src="https://api.star-history.com/svg?repos=star-history/star-history&type=Date"
  />
</picture>

💜 Sponsors

Bytebase

Bytebase is an open source, web-based database schema change and version control tool for teams. Supporting MySQL, PostgreSQL, Oracle, MongoDB, Redis, Snowflake, ClickHouse, TiDB, Google Spanner.

Dify

Dify is an open source LLMOps platform that helps developers build AI applications more simply and quickly. Its core idea is to define various aspects of AI applications, including Prompts, Contexts, and Plugins, through declarative YAML files.

Akuity

Akuity A legit and balanced comparison of top two GitOps tools. Choose Argo CD today for a better DevOps experience.

✨ Features

  • Unique sketch xkcd feeling chart;
  • One-click generation of high-quality image for chart;
  • Support multiple chart view mode based on date or timeline;
  • Embed the real-time chart into GitHub readme or other websites (like the one we embed here on the top)
  • And various useful functions:
    • toggle repo visibility;
    • shortcut to input repo;
    • share on Twitter quickly;
    • support input multiple repos;
    • ...waiting for you to find out!

🌠 Screenshots

🏗 Development

Star-history is built using a modern tech stack: Vue + Vite + TailwindCSS.

Prerequisites

Install dependencies

pnpm i

Start with your interest

  • Main website is the homepage of star-history with most of useful features and blogs about open source.

    pnpm dev

    The website will be served at http://localhost:3000.

  • Chrome extension supports the basic chart viewer as a free additional product.

    pnpm build:ext

    Load the built ./dist folder as unpacked project to chrome extensions page.

  • API server is an experimental feature. It's mainly used to generate chart SVG image file that can be embeded into GitHub readme.

    cd server
    pnpm i && pnpm dev

    The API server will be running on http://localhost:8080.