Skip to content

arielfavaro/another-github-badges

Repository files navigation

Another Github Badges

GitHub Badges for your README.md profile and projects, like visits counter.

This version is based on repository id, so it's safe to rename your repository and change the badge URL. This will keep the stats intact.

There is no way to count unique visitors, because GitHub proxies all images URLs through GitHub Camo

Available Badges 🎟

Add to your README.md via markdown syntax:

Visits Counter

Replace your-username and your-repository-name accordingly

![](https://another-github-badges.ari.dev.br/badges/visits/your-username/your-repository-name)

or

<img src="https://another-github-badges.ari.dev.br/badges/visits/your-username/your-repository-name" />

Visits History - Last 7 days

Replace your-username and your-repository-name accordingly

![](https://another-github-badges.ari.dev.br/badges/visits-history/your-username/your-repository-name)

or

<img src="https://another-github-badges.ari.dev.br/badges/visits-history/your-username/your-repository-name" />

TODO 📌

Application

  • Add home page
  • Add page showing badges and examples when visiting /badges

Badges

  • Add options on badge Visits History, like width, height, color theme
  • Add badges themes
  • Add badges translations

Running locally

cp .env.local.example .env

Run using Docker

docker compose up -d

Run the migrations

docker exec another-github-badges-web npm run migrate:up

Access http://localhost:3000/badges

Releases

No releases published

Packages

No packages published