HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
danielgtaylor
huma
Go2022–2026
danielgtaylor / huma

huma

Huma REST/HTTP API Framework for Golang with OpenAPI 3.1

6Distinct people
7Mentions
0Explicit recommenders
4.5KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Huma REST/HTTP API Framework for Golang with OpenAPI 3.1

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 1:49:46 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year7 dated mentions

Observed mentions: 2022-05-27 01:22:46 UTC to 2026-04-13 17:45:32 UTC.

0122022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 comments20222023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 2 mentions; 2 submissions, 0 comments2024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 2 mentions; 1 submissions, 1 comments20242025-01-01 00:00:00 UTC to 2026-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-01-01 00:00:00 UTC to 2027-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments. Incomplete calendar period.2026*

* An incomplete calendar period is marked with an outlined bar. Its count is not directly comparable with a full period.

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC110
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC220
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC211
20252025-01-01 00:00:00 UTC2026-01-01 00:00:00 UTC000
2026 (partial)2026-01-01 00:00:00 UTC2027-01-01 00:00:00 UTC202

What Hacker News says

7 sources
I have been experimenting with Open API spect -> CLI too. I have Go and specs auto-generated either with Huma or Fuego https://github.com/danielgtaylor/huma https://github.com/go-fuego/fuego The restish tool by the author of Huma is functionally correct, but I'm finding the models are not doing a great job at inferring the syntax. Admittedly I am having a hard time following the syntax too. https://github.com/rest-sh/restish I need to do proper evals, but it makes me wonder if `curl` or a CLI with more standard args / opts parsing will work better. Thanks to Cloudflare for sharing their notes, anyone else figure this out?
In Building a CLI for All of Cloudflare

Show HN: Huma 2.0, it's like FastAPI for Go built on OpenAPI 3.1 and JSON Schema

I've released Huma 2.0, which is a rewrite I've been working on for the past year based on Go 1.20 and newer. It is updated for OpenAPI 3.1 & JSON Schema 2020-12 and works similar to FastAPI in that you define structs and API operations and then Huma generates the OpenAPI and documentation for you, which you can then use to generate CLIs, SDKs, mocks, etc. This new version makes it easier to adopt as it now supports many routers, incremental adoption, and more extensibility including full access to the OpenAPI when needed. It's also much faster than v1 and makes significantly fewer dynamic memory allocations. If you are new to Go or coming from Node.js/Python/etc then there is also a more basic step-by-step tutorial you can follow at <https://huma.rocks/tutorial/installation/>. Check it out and let me know what you think!
1 points · Open discussion

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.