GitHub Repo Stats

05-07 15:25

阅读原文→
作者开发了一个名为"GitHub Repo Stats"的在线工具,用于解决GitHub移动端网站不显示仓库提交次数的问题。用户只需输入GitHub仓库的URL或"foo/bar"格式的仓库ID,该工具便会通过REST或GraphQL API获取并展示仓库的关键统计数据,其中首要指标就是提交总数。工具已提供实际示例,如查看simonw/datasette和simonw/llm这两个仓库的详细数据

原文内容

GitHub Repo Stats

Simon Willison’s Weblog

Subscribe

Sponsored by: WorkOS — Make your app Enterprise Ready with SSO, SCIM, RBAC, and more.

7th May 2026

Tool GitHub Repo Stats — View GitHub repository statistics including commit counts, contributor information, language breakdowns, and release details by entering a repository name or URL. This tool fetches data directly from the GitHub REST API in your browser, displaying comprehensive metrics such as stars, forks, branches, tags, and activity timestamps. Optionally authenticate with GitHub to increase your API rate limit from 60 to 5,000 requests per hour.

One of the things I always look for when evaluating a new GitHub repository is the number of commits it has... but that number isn't visible on GitHub's mobile site layout. I built this tool to fix that, using this prompt:

Given a GitHub repo URL or foo/bar repo ID show information about that repo absorbed via wither REST or graphql CORS fetch() including the number of commits in the repo and other useful stats

Example output for simonw/datasette and simonw/llm.

Posted 7th May 2026 at 7:25 am

Recent articles

This is a beat by Simon Willison, posted on 7th May 2026.

github 187

Monthly briefing

Sponsor me for $10/month and get a curated email digest of the month's most important LLM developments.

Pay me to send you less!

Sponsor & subscribe

链接抓取:https://workos.com/?utm_source=simon-willison&utm_medium=newsletter&utm_campaign=q12026

The all-in-one solution

Enterprise SSO

(and a whole lot more)

WorkOS is a set of building blocks for quickly adding enterprise features to your app. You’ll be shipping quickly with a market-proven solution for your customers.

Add Single Sign-On to your app

SAML Lock

Auth for all SSO providers

Support any SAML or OIDC identity provider with a single integration

SAML Lock

Complete User Management

Manage users and organizations, set policies, and support all auth types

SAML Lock

Social authentication

Sign in to your app with Microsoft, Google, and more

SAML Lock

AuthKit

Flexible authentication UI powered by WorkOS and Radix

SAML Lock

Magic Auth

Passwordless auth with a six-digit code sent via email

SAML Lock

Multi-Factor Auth

Developer-first design

A unified platform with modern APIs

WorkOS provides a single, elegant interface that abstracts dozens of enterprise integrations.

Read the docs

Get your API key

RESTful APIs, JSON responses, and normalized objects

Dashboard seamlessly integrates WorkOS into your application

Realtime updates from directory services with webhook events

Modern SDKs for Node.js, Ruby, Python, .NET, Go and more

Multiple environments to map to your application development process

Supports 20+ enterprise services with a single integration point

Node.jsRubyPythonGoPHPJava.NETcURL

// Get a user’s access token and
// profile data from an Identity Provider

import WorkOS from '@workos-inc/node';

const workos = new WorkOS('sk_example_123456789');

const profile = await workos.sso.getProfileAndToken({
  code: '01E2RJ4C05B52KKZ8FSRDAP23J',
  clientID: 'client_123456789',
});

# Get a user’s access token and
# profile data from an Identity Provider

require 'workos'

WorkOS.key = 'sk_example_123456789'

WorkOS::SSO.profile_and_token(
  client_id: 'client_123456789',

import workos
from workos import client

workos.api_key = 'sk_example_123456789'
workos.client_id = 'client_123456789'

client.sso.get_profile_and_token('01E2RJ4C05B52KKZ8FSRDAP23J')

import "github.com/workos/workos-go/pkg/sso"

sso.SetAPIKey("sk_example_123456789")

sso.GetProfileAndToken(
  context.Background(),
  sso.GetProfileAndTokenOptions{
    Code: "01E2RJ4C05B52KKZ8FSRDAP23J",
  }

$this->sso = new WorkOS\SSO();

$profile = $this->sso->getProfileAndToken("01E2RJ4C05B52KKZ8FSRDAP23J");

import com.workos.WorkOS;

WorkOS workos = new WorkOS("sk_example_123456");

ProfileAndToken profileAndToken = workos.sso.getProfileAndToken("01E2RJ4C05B52KKZ8FSRDAP23J", "client_123456789");

Profile profile = profileAndToken.profile;

WorkOS.SetApiKey("sk_example_123456");

var ssoService = new SSOService();
var options = new GetProfileAndTokenOptions
{
    ClientId = "client_123456789",
    Code = "01E2RJ4C05B52KKZ8FSRDAP23J",
};

var profile = await ssoService.GetProfileAndToken(options);

curl --request POST \
  --url "https://api.workos.com/sso/token? \
  client_id=client_123456789& \
  client_secret=sk_example_123456789& \
  grant_type=authorization_code& \
  code=01E2RJ4C05B52KKZ8FSRDAP23J"

HTTP 200

Response {...}
  "access_token": "01DMEK0J53CVMC32CK5SE0KZ8Q",
  "profile": {
    "id": "prof_01DMC79VCBZ0NY2099737PSVF1",
    "connection_id": "conn_01E4ZCR3C56J083X43JQXF3JK5",
    "connection_type": "okta",
    "email": "alan@foo-corp.com",
    "first_name": "Alan",
    "last_name": "Turing",
    "idp_id": "00u1a0ufowBJlzPlk357",
    "object": "profile",
    "raw_attributes": {...}

WorkOS

Okta Logo

Azure Logo

Google Logo

SAML

OneLogin Logo

ADFS Logo

SAML Logo

BambooHR Logo

JumpCloud Logo

PingIdentity Logo

OpenID Logo

DUO Logo

 Logo

Directory Sync

SCIM and HRIS integrations? No sweat.

Quickly enable full user lifecycle management by syncing your app with dozens of enterprise employee directory systems.

Add Directory Sync to your app

SCIM Provisioning

SCIM provisioning

with Okta, Entra ID, ADFS, and more

HRIS Integration

HRIS integration

with Bamboo, Rippling, and others

Frictionless set up

The IT admin’s admin

Free your support team from the ongoing headache of configuring SSO for enterprise customers. The Admin Portal is a hosted interface for IT admins to directly set up WorkOS.

Try a live demo

Watch the launch video

Admin Portal Screenshot

Effortlessly connect any identity provider or directory

Customize the look and feel to match your brand

Host on your custom domain (CNAME)

A polished experience for IT administrators

Step-by-step setup guides with detailed screenshots

Seamlessly integrates into your existing application

Why WorkOS?

Expand your market

In the past, building for the enterprise was complex, time-consuming, and distracting from core features. Deals would slip away, perhaps forever, due to requirements from IT admins.

With WorkOS, you can immediately begin selling to enterprise customers and expand your market footprint.

Watch: Crossing the
Enterprise ChasmWhat happens if you don’t become Enterprise Ready?

Powered by WorkOS

“I think we could have done even more business if we had partnered with WorkOS earlier, it's been incredibly well received.”

Guillermo Rauch

Founder & CEO

Read more

“The WorkOS team was right there with us every step of the way. Their support ensured those final migrations were just as smooth as the rest.”

Andreas Djokic

Enterprise GTM

Read more

“Cursor now completely runs on WorkOS. Login times are much faster, the signup page looks much better, and we’re not subject to Auth0's customer-hostile and opaque pricing anymore. Plus, we’re excited to add SSO for our business tier soon.”

Arvid Lunnemark

Founder

Read more

“SSO is a crucial part of our Enterprise Pro plan, and with WorkOS we could roll it out in less than a week. Docs are comprehensive, the Admin Portal has made customer onboarding a breeze, and the level of support we received directly in Slack has been phenomenal.”

Dmitry Shevelenko

Chief Business Officer

Read more

“Integrating was straightforward, pleasant, and fun. The team answered my questions quickly, and went above and beyond to help when I ran into issues.”

Bryant Chou

Co-Founder & CTO

Read more

“When I asked the team, how was the experience with WorkOS? They were just like, this is incredible.”

Sam Lambert

CEO

Read more

“WorkOS simplified the complexity of implementing single sign-on (SSO) with multiple identity providers.”

Daniel Marashlian

Read more

“With our in-house solution we had to spend 2-4 hours provisioning each SSO connection. I wanted to find a solution that would allow us to focus on building core-products.”

Jarel Fryer

Engineering Manager

Read more

“We did consider open source, but WorkOS provided a far superior developer experience.”

Jeanne Thai

Product Manager

Read more

“With Audit Logs, we were able to launch the storage, querying, and export capabilities we needed into production in just a matter of days.”

Pete Hamilton

Read more

“We viewed WorkOS’ connections-based pricing as a more viable option aligned with our projected growth. The Admin Portal has also been a critical feature allowing us to save engineering time and provide a more polished enterprise experience.”

Umar Azhar

Co-founder & CTO

Read more

“WorkOS’ SCIM API has been a game-changer, enabling us to meet the user lifecycle management needs of our largest enterprise customers.”

Dana Lawson

SVP, Engineering

Read more

“The decision to use WorkOS was straightforward. We saw good feedback from existing customers and reviewing the documentation made us confident that our needs would be addressed.”

Chris Lu

Co-founder

Read more

“WorkOS was super easy to self serve and get up and running. It provided us super easy-to-implement must-have functionality out of the box.”

Brennan Spellacy

Co-Founder & CEO

Read more

“What sold WorkOS was the Admin Portal. Our UI gives customers a link; they go to the Admin Portal, complete onboarding steps at their leisure, and never have to talk to us, making the onboarding process a breeze.”

Chris Pickett

Staff Engineer

Read more

“SCIM is a game-changer for our customers, saving them a lot of time and reducin

链接抓取:https://tools.simonwillison.net/github-repo-stats

GitHub Repo Stats

Enter owner/repo or a GitHub URL to see commit counts, contributors, languages, and more — fetched directly from the GitHub REST API in your browser.

No token — anonymous requests (60/hour limit). Authenticate with GitHub Clear token