Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →
Top 23 Codegen Open-Source Projects
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
graphql-code-generator
A tool for generating code based on a GraphQL schema and GraphQL operations (query/mutation/subscription), with flexible support for custom plugins.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
openapi-typescript-codegen
NodeJS library that generates Typescript or Javascript clients based on the OpenAPI specification
-
orval
orval is able to generate client with appropriate type-signatures (TypeScript) from any valid OpenAPI v3 or Swagger v2 specification, either in yaml or json formats. 🍺
-
vtprotobuf
A Protocol Buffers compiler that generates optimized marshaling & unmarshaling Go code for ProtoBuf APIv2
-
generator
Use your AsyncAPI definition to generate literally anything. Markdown documentation, Node.js code, HTML documentation, anything!
-
shortlink
Shortlink service (Microservice example) ⭐️ Star the repo if you like it! (by shortlink-org)
-
bootsharp
Compile C# solution into single-file ES module with auto-generated JavaScript bindings and type definitions
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Project mention: Google CodeGemma: Open Code Models Based on Gemma [pdf] | news.ycombinator.com | 2024-04-09
Project mention: Integrating GraphQL Codegen with Storyblok: Step-by-Step Guide | dev.to | 2024-01-15The @graphql-codegen library is a bridge between your GraphQL schema and the actual code you write. It automates the generation of boilerplate code, ensuring that your data fetching layer is always up to date with your content structure.
Project mention: Who moved my error codes? Adding error types to your GoLang GraphQL Server | dev.to | 2023-06-25GraphQL’s spec, as it turns out, does not specify how servers should handle internal errors at all, leaving it entirely to the choice of the frameworks’ creators. Take for example our GoLang GraphQL framework of choice - gqlgen. It makes no distinction between intentional and unexpected errors: all errors are returned as-is to the client within the error message. Internal errors, which often contain sensitive information like network details and internal URIs, would leak to clients easily if not caught manually by the programmer.
Project mention: Insanity VS SpeziTemplateApplication - a user suggested alternative | libhunt.com/r/Sourcery | 2023-11-18
Project mention: This week I released v2.1 of my text-templating library Weave that now uses Source Generators by default. | /r/dotnet | 2023-12-07I'm mostly using it for C# API client generation from backend code - sort of similar to what a tool like NSwag Studio will do. I think NTypewriter has more flexibility though, and having a live view with the VS plugin makes development quick.
Project mention: I made this AI programming assistant to generate diagrams for my code | /r/artificial | 2023-12-08Here's where you can try it out: https://useadrenaline.com
You can visualize how instructions are encoded with zydisinfo. Pass in your architecture and the hex bytes of the instructions and it’ll show all relevant info
https://github.com/zyantific/zydis/tree/master
https://www.hexacorn.com/blog/2023/09/27/zydisinfo-the-disas...
I’d also add that if you use Typescript with an OpenAPI client generator (https://github.com/ferdikoomen/openapi-typescript-codegen) it can immensely alleviate some of the biggest pain points of seperate backend and front-end. It always used to be a major pain in the ass with the amount of overhead an API change would incur - updating documentation, postman, constant communication between backend and front-end devs, etc. Now I just npm run generate, I see new API changes in my Git client and Typescript errors for code that needs updating.
Also, using a library like Tanstack Query or Rdtk Query can almost completely eliminate manual state management, and kinda makes the whole development experience feel almost like SSR.
Project mention: HonoJS: Small, simple, and ultrafast web framework for the Edges | news.ycombinator.com | 2024-04-15In cases where the client needs to stay separate, we have had a good experience with Orval[1] to generate a fully-typed @tanstack/query client from our OpenAPI spec.
[1] https://orval.dev/
Secondly, I have learned about LLVM, and I have learned about the Inkwell library on Rust (It's a New Kind of Wrapper for Exposing LLVM (Safely)). Has anyone used this library before? Is this a good practice? Is it suitable for my compiler? Can I write some optimization passes of my own using this library?
Project mention: vektra/mockery has fully released the "packages" feature! This blog explains what it is and how it works. | /r/golang | 2023-07-11
Project mention: I write HTTP services in Go after 13 years (Mat Ryer, 2024) | news.ycombinator.com | 2024-02-09https://github.com/ogen-go/ogen
Write openapi definition, it'll do routing, definition of structs, validation of JSON schemas, etc.
All I need to do is implement the service.
Validating an integer range for a querystring parameter is just too boring. And too easy to mistype when writing it manually.
Anyways, so far only been playing, so haven't found the bad parts yet.
Project mention: GitHub - Warashi/compgen: Compgen is a gqlgen plugin designed to simplify the generation of ComplexityRoot for gqlgen. | /r/golang | 2023-06-01The client support in particular is currently very awkward. For instance, there's this discussion around Hasura in the Khan/genqlient repo: https://github.com/Khan/genqlient/issues/272
Project mention: AsyncAPI Codegen, a code generator from AsyncAPI spec v2 and v3. | dev.to | 2024-03-06For that, the project provides a Javascript tool to generate source code from specification in numerous languages: Python, Java, Markdown, PHP, … and even Go! All you have to do is install the corresponding NPM packages and launch the right command tool.
Project mention: tRPC – Move Fast and Break Nothing. End-to-end typesafe APIs made easy | news.ycombinator.com | 2023-08-12
More details: - https://github.com/shortlink-org/shortlink/tree/main/ops/argocd - https://github.com/shortlink-org/shortlink/tree/main/ops/gitlab
Codegen related posts
- Google CodeGemma: Open Code Models Based on Gemma [pdf]
- Show HN: Tabby back end in 20 Python lines (self-hosted AI coding assistant)
- Exploring x86-64 Instruction Encoding
- Show HN: Structuresmith – Generate Project Files and Templates for Consistency
- I made this AI programming assistant to generate diagrams for my code
- I made a programming assistant that can visualize your code with AI
- Write Guix package definitions in a breeze: Introducing Guix Packager
-
A note from our sponsor - InfluxDB
www.influxdata.com | 26 Apr 2024
Index
What are some of the best open-source Codegen projects? This list will help you:
Project | Stars | |
---|---|---|
1 | tabby | 17,192 |
2 | wire | 12,291 |
3 | graphql-code-generator | 10,613 |
4 | gqlgen | 9,613 |
5 | Insanity | 7,521 |
6 | NSwag | 6,482 |
7 | rust-bindgen | 4,070 |
8 | adrenaline | 3,694 |
9 | zydis | 3,188 |
10 | openapi-typescript-codegen | 2,655 |
11 | orval | 2,257 |
12 | inkwell | 2,141 |
13 | moq | 1,763 |
14 | astring | 1,137 |
15 | ogen | 1,072 |
16 | genqlient | 980 |
17 | vtprotobuf | 812 |
18 | flapigen-rs | 753 |
19 | generator | 730 |
20 | oto | 720 |
21 | shortlink | 672 |
22 | bootsharp | 632 |
23 | yjit | 622 |
Sponsored