Skip to content

About

View your GitHub contributions

Topics

Resources

Stars

4 stars

Watchers

2 watching

Forks

Repository files navigation

Green Tiles

Yet another web tool to view your GitHub contributions. Inspired by Green Wall and a list of others.

green-tiles

Tech Stacks

  • Framework: Vite
  • UI Library: daisyUI
  • Backend: AWS API Gateway + AWS Lambda (here's a tutorial in Chinese)

Project Setup

Use Node.js 22.22.2 or newer and pnpm 10.14.0. The backend requires Go 1.27.2 or newer.

pnpm install

Compile and Hot-Reload for Development

pnpm run dev

Type-Check, Compile and Minify for Production

pnpm run build

Run Unit Tests with Vitest

pnpm run test:unit

Coverage and CI

pnpm run test:coverage
cd backend
go test -race -covermode=atomic -coverprofile=coverage.out ./...
bash ../.github/scripts/check-go-coverage.sh coverage.out

The frontend requires at least 95% statements, branches, functions, and lines in each source file, including Vue components and the app entry point. Type declarations and test files are excluded. The backend requires at least 95% statement coverage both overall and in each package. Tests stub GitHub requests and do not require credentials or live API access.

GitHub Actions runs these coverage gates on pushes and pull requests, along with type checks, production builds, dependency audits, Go vet, and Go race detection. Coverage reports are available as workflow artifacts; the frontend HTML report is also generated locally at coverage/index.html.

About

View your GitHub contributions

Topics

Resources

Stars

4 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages