Codegen

Open-source projects categorized as Codegen

Top 23 Codegen Open-Source Projects

  • tabby

    Self-hosted AI coding assistant

  • Project mention: Google CodeGemma: Open Code Models Based on Gemma [pdf] | news.ycombinator.com | 2024-04-09
  • wire

    Compile-time Dependency Injection for Go

  • Project mention: Injeção de dependência em Go | dev.to | 2024-02-28
  • 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.

    InfluxDB logo
  • 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.

  • Project mention: Integrating GraphQL Codegen with Storyblok: Step-by-Step Guide | dev.to | 2024-01-15

    The @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.

  • gqlgen

    go generate based graphql server library

  • Project mention: Who moved my error codes? Adding error types to your GoLang GraphQL Server | dev.to | 2023-06-25

    GraphQL’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.

  • Insanity

    Meta-programming for Swift, stop writing boilerplate code.

  • Project mention: Insanity VS SpeziTemplateApplication - a user suggested alternative | libhunt.com/r/Sourcery | 2023-11-18
  • NSwag

    The Swagger/OpenAPI toolchain for .NET, ASP.NET Core and TypeScript.

  • 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-07

    I'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.

  • rust-bindgen

    Automatically generates Rust FFI bindings to C (and some C++) libraries.

  • Project mention: Rust Bindgen | news.ycombinator.com | 2023-09-18
  • 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.

    WorkOS logo
  • adrenaline

    Instant answers to any programming question

  • Project mention: I made this AI programming assistant to generate diagrams for my code | /r/artificial | 2023-12-08

    Here's where you can try it out: https://useadrenaline.com

  • zydis

    Fast and lightweight x86/x86-64 disassembler and code generation library

  • Project mention: Exploring x86-64 Instruction Encoding | news.ycombinator.com | 2024-01-07

    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...

  • openapi-typescript-codegen

    NodeJS library that generates Typescript or Javascript clients based on the OpenAPI specification

  • Project mention: Django 5.0 Is Released | news.ycombinator.com | 2023-12-04

    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.

  • 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. 🍺

  • Project mention: HonoJS: Small, simple, and ultrafast web framework for the Edges | news.ycombinator.com | 2024-04-15

    In 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/

  • inkwell

    It's a New Kind of Wrapper for Exposing LLVM (Safely)

  • Project mention: Compiler Optimization Learning Suggestions | /r/Compilers | 2023-08-04

    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?

  • moq

    Interface mocking tool for go generate (by matryer)

  • 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
  • astring

    🌳 Tiny and fast JavaScript code generator from an ESTree-compliant AST.

  • ogen

    OpenAPI v3 code generator for go

  • Project mention: I write HTTP services in Go after 13 years (Mat Ryer, 2024) | news.ycombinator.com | 2024-02-09

    https://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.

  • genqlient

    a truly type-safe Go GraphQL client

  • Project mention: GitHub - Warashi/compgen: Compgen is a gqlgen plugin designed to simplify the generation of ComplexityRoot for gqlgen. | /r/golang | 2023-06-01

    The 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

  • vtprotobuf

    A Protocol Buffers compiler that generates optimized marshaling & unmarshaling Go code for ProtoBuf APIv2

  • flapigen-rs

    Tool for connecting programs or libraries written in Rust with other languages

  • generator

    Use your AsyncAPI definition to generate literally anything. Markdown documentation, Node.js code, HTML documentation, anything!

  • Project mention: AsyncAPI Codegen, a code generator from AsyncAPI spec v2 and v3. | dev.to | 2024-03-06

    For 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.

  • oto

    Go driven rpc code generation tool for right now. (by pacedotdev)

  • Project mention: tRPC – Move Fast and Break Nothing. End-to-end typesafe APIs made easy | news.ycombinator.com | 2023-08-12
    Project mention: Setting up ArgoCD from scratch | /r/ArgoCD | 2023-05-23

    More details: - https://github.com/shortlink-org/shortlink/tree/main/ops/argocd - https://github.com/shortlink-org/shortlink/tree/main/ops/gitlab

  • bootsharp

    Compile C# solution into single-file ES module with auto-generated JavaScript bindings and type definitions

  • yjit

    Optimizing JIT compiler built inside CRuby

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Codegen related posts

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
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com