Skip to content
aayushbtwPublic

About

A lightweight API for structured GitHub profile data.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Octo

A lightweight API for structured GitHub profile data. Built with Hono & Cloudflare Workers.

Base URL: https://octo.aayush.cv Rate Limit: 60 req/min per IP

Endpoints

GET /contributions/:username

Returns the contribution calendar for a GitHub user. The response matches github-contributions-api v4.

Parameter In Description
y query all (default), last (rolling year), or one or more years (?y=2024&y=2025)

Cache: 6h (past years only), 1h otherwise

Example:

curl https://octo.aayush.cv/contributions/aayushbtw
curl 'https://octo.aayush.cv/contributions/aayushbtw?y=last'
curl 'https://octo.aayush.cv/contributions/aayushbtw?y=2024'
{
  "total": { "2024": 183, "2025": 1497 },
  "contributions": [{ "date": "2024-01-01", "count": 0, "level": 0 }]
}

With y=last, total is { "lastYear": 4307 }.

GET /pinned/:username

Returns the pinned repositories for a GitHub user.

Cache: 2h

Example:

curl https://octo.aayush.cv/pinned/aayushbtw
[
  {
    "repo": "octo",
    "url": "https://github.com/aayush/octo",
    "description": "GitHub profile data API",
    "language": "TypeScript",
    "stars": 10,
    "forks": 2
  }
]

About

A lightweight API for structured GitHub profile data.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages