Skip to content
@octokit

Octokit

Official clients for the GitHub API

👋 Hey Octokit friends!

We're glad you're here! This is where we host all of our Official1 SDKs for the GitHub API.

Currently, GitHub maintains SDKs for the following languages/frameworks/platforms:

We also have 2 SDKs that are Generated from GitHub's OpenAPI descriptions!

If you're new here, please take a moment to get familiar with how our communities get stuff done - hopefully, you'll consider being part of the amazing things happening here. If you're already a contributor we can't thank you enough for being part of making our communities what they are! Thank you for all that you do.

Code of conduct

Open source projects can be amazing things and while the source code they provide is an important component of the project it's definitely not the only thing that makes it amazing... you are!

Practice kindness, be welcoming, and always assume that we all have something to learn. Take a minute to read more about our code of conduct.

How we work

Contributing

While each community in our collection of Octokit communities is unique and has its own individuality, we have standard approaches across all of our repos to lower barriers to entry and reduce the friction of getting things done. Make sure to have a look at each repository's CONTRIBUTING docs above when making contributions.

Team and Community processes

  • For more information on how our team prioritizes and responds to issues, PRs, and discussions, please see this document.
  • For more information on how our community works around Pull Requests and Issues, please see this document.
  • For more information on how we handle breaking changes, please see this document.

Lastly, we really wanted to thank all of you for being amazing and helping to both improve our communities and code! ❤️

Footnotes

  1. Official just means GitHub and folks from GitHub support and maintain these libraries on an ongoing basis. You can check out some of the other amazing SDKs created and maintained by the community here!

Pinned Loading

  1. octokit.js octokit.js Public

    The all-batteries-included GitHub SDK for Browsers, Node.js, and Deno.

    TypeScript 7.5k 1.2k

  2. octokit.rb octokit.rb Public

    Ruby toolkit for the GitHub API

    Ruby 3.9k 1.2k

  3. octokit.net octokit.net Public

    A GitHub API client library for .NET

    C# 2.8k 1.1k

Repositories

Showing 10 of 71 repositories
  • openapi-types.ts Public

    Generated TypeScript definitions based on GitHub's OpenAPI spec

    octokit/openapi-types.ts’s past year of commit activity
    JavaScript 48 MIT 14 4 5 Updated Oct 9, 2025
  • oauth-methods.js Public

    Request methods to create and refresh user access tokens for OAuth and GitHub Apps

    octokit/oauth-methods.js’s past year of commit activity
    TypeScript 9 MIT 13 1 10 Updated Oct 9, 2025
  • auth-oauth-device.js Public

    GitHub OAuth Device authentication strategy for JavaScript

    octokit/auth-oauth-device.js’s past year of commit activity
    TypeScript 13 MIT 7 0 4 Updated Oct 9, 2025
  • plugin-request-log.js Public

    Log all requests and request errors

    octokit/plugin-request-log.js’s past year of commit activity
    TypeScript 8 MIT 21 1 5 Updated Oct 9, 2025
  • plugin-throttling.js Public

    Octokit plugin for GitHub’s recommended request throttling

    octokit/plugin-throttling.js’s past year of commit activity
    TypeScript 123 MIT 39 10 7 Updated Oct 9, 2025
  • openapi Public

    GitHub's official OpenAPI spec with Octokit extensions

    octokit/openapi’s past year of commit activity
    JavaScript 47 MIT 11 6 8 Updated Oct 9, 2025
  • graphql-action Public

    A GitHub Action to send queries to GitHub's GraphQL API

    octokit/graphql-action’s past year of commit activity
    JavaScript 132 MIT 25 2 7 Updated Oct 9, 2025
  • plugin-retry.js Public

    Octokit plugin for GitHub’s recommended request retries

    octokit/plugin-retry.js’s past year of commit activity
    TypeScript 47 MIT 21 6 11 Updated Oct 9, 2025
  • endpoint.js Public

    Turns REST API endpoints into generic request options

    octokit/endpoint.js’s past year of commit activity
    TypeScript 60 MIT 28 5 4 Updated Oct 9, 2025
  • plugin-enterprise-compatibility.js Public

    Octokit plugin for improving GHE compatibility

    octokit/plugin-enterprise-compatibility.js’s past year of commit activity
    TypeScript 2 MIT 7 2 (1 issue needs help) 7 Updated Oct 9, 2025