Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

37 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ€ nba-box

Update a pinned gist to contain your favourite NBA team's stats and logo

πŸ“Œβœ¨ For more pinned-gist projects like this one, check out: awesome-pinned-gists


Preview

πŸ‘‘ Los Angeles Lakers (LAL)

West Conference Β· Pacific Division

πŸ“Š 2025-2026 Record: 57W - 35L (62.0%) Β Β Β β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Œβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘

πŸ“… Recent Games:

❌ L 110-115 vs OKC (May 10)
❌ L 108-131 vs OKC (May 8)
❌ L 107-125 @ OKC (May 6)
❌ L  90-108 @ OKC (May 4)
βœ… W  98-78  @ HOU (Apr 30)

Setup

Prep Work

  1. Create a new public GitHub Gist at gist.github.com β€” give it any filename/content.
  2. Create a GitHub token with the gist scope: github.com/settings/tokens/new

Project Setup

  1. Fork this repo
  2. Go to repo Settings β†’ Secrets and variables β†’ Actions
  3. Add these secrets:
Secret Description
GIST_ID The ID from your gist URL (e.g., 6d5f84419863089a167387da62dd7081)
GH_TOKEN GitHub token with gist scope
NBA_TEAM Team abbreviation (see table below)

Run Locally

cp sample.env .env
# Fill in your values in .env
npm install
npm start

NBA logo NBA Team Abbreviations

Team Abbr Team Abbr
Atlanta Hawks ATL Milwaukee Bucks MIL
Boston Celtics BOS Minnesota Timberwolves MIN
Brooklyn Nets BKN New Orleans Pelicans NOP
Charlotte Hornets CHA New York Knicks NYK
Chicago Bulls CHI Oklahoma City Thunder OKC
Cleveland Cavaliers CLE Orlando Magic ORL
Dallas Mavericks DAL Philadelphia 76ers PHI
Denver Nuggets DEN Phoenix Suns PHX
Detroit Pistons DET Portland Trail Blazers POR
Golden State Warriors GSW Sacramento Kings SAC
Houston Rockets HOU San Antonio Spurs SAS
Indiana Pacers IND Toronto Raptors TOR
LA Clippers LAC Utah Jazz UTA
Los Angeles Lakers LAL Washington Wizards WAS
Memphis Grizzlies MEM Miami Heat MIA

Data Source

Team data powered by ESPN's public APIs (no API key required).

Team logos available at: https://cdn.nba.com/logos/nba/{team_id}/global/L/logo.svg

License

MIT

About

πŸ€ Update a pinned gist to contain your favourite NBA team stats

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages