Code-Generator

Open-source projects categorized as Code-Generator

Top 23 Code-Generator Open-Source Projects

  • sqlc

    Generate type-safe code from SQL

  • Project mention: Give Up Sooner | dev.to | 2024-03-13

    "Is there a way to get sqlc to use pointers for nullable columns instead of the sql.Null types?"

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

  • 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
  • R.swift

    Strong typed, autocompleted resources like images, fonts and segues in Swift projects

  • Project mention: SPM and localization | /r/swift | 2023-11-30
  • GoSwagger

    Swagger 2.0 implementation for go

  • Project mention: How do you provide documentation for your REST APIs? | /r/golang | 2023-11-24
  • SwiftGen

    The Swift code generator for your assets, storyboards, Localizable.strings, … — Get rid of all String-based APIs!

  • Project mention: Create, Push, and Present Any View Controller in 1 LOC using Metaprogramming | dev.to | 2023-06-18

    It is important to say that there is an elegant solution to the resource consistency problem that we haven’t adapted yet. Instead of testing raw values of UIStoryboard.Name cases, we could just generate the UIStoryboard.Name enum. Please refer to SwiftGen for the details.

  • jOOQ

    jOOQ is the best way to write SQL in Java

  • Project mention: ORMs are nice but they are the wrong abstraction | news.ycombinator.com | 2024-02-01
  • JavaParser

    Java 1-17 Parser and Abstract Syntax Tree for Java with advanced analysis functionalities.

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

    Automatically generate Go test boilerplate from your source code.

  • Project mention: Russ Cox: Go Testing by Example | news.ycombinator.com | 2023-12-05

    A huge time-saver for me when generating table-driven test boilerplate in Go has been using gotests[0] to generate the template.

    If you use VSCode with the Go extension it's already available there as a command "Go: Generate Unit Tests for Function/Package".

    [0] https://github.com/cweill/gotests

  • autorest

    OpenAPI (f.k.a Swagger) Specification code generator. Supports C#, PowerShell, Go, Java, Node.js, TypeScript, Python

  • xo

    Command line tool to generate idiomatic Go code for SQL databases supporting PostgreSQL, MySQL, SQLite, Oracle, and Microsoft SQL Server (by xo)

  • Project mention: Open-sourcing SQX, a way to build flexible database models in Go | news.ycombinator.com | 2023-09-02

    i like xo's approach https://github.com/xo/xo but it is as is. I would love if something similar comes along that is used by db practititoners that is actively used and supported.

  • jennifer

    Jennifer is a code generator for Go

  • Project mention: How to minimize RAM usage during Go binary compilation | /r/golang | 2023-07-11

    We have a repo/library called fasten-sources which is made up of mostly generated code (using dave/jennifer)

  • datamodel-code-generator

    Pydantic model and dataclasses.dataclass generator for easy conversion of JSON, OpenAPI, JSON Schema, and YAML data sources.

  • Project mention: Datamodel-code-generator: Pydantic model/dataclass from OpenAPI, JSON, YAML | news.ycombinator.com | 2023-11-16
  • Speedment

    Speedment is a Stream ORM Java Toolkit and Runtime

  • jet

    Type safe SQL builder with code generation and automatic query result data mapping

  • Project mention: Open-sourcing SQX, a way to build flexible database models in Go | news.ycombinator.com | 2023-09-02

    We are really happy using jet. It lets you write type safe SQL and can read the results into structs- including joins into slice fields.

    https://github.com/go-jet/jet

  • php-generator

    🐘 Generates neat PHP code for you. Supports new PHP 8.3 features.

  • bashly

    Bash command line framework and CLI generator

  • Project mention: Bashly: Command line application to generate feature-rich bash CLI tools | news.ycombinator.com | 2024-02-20
  • freezed

    Code generation for immutable classes that has a simple syntax/API without compromising on the features.

  • Project mention: Dart 3.3 | news.ycombinator.com | 2024-02-15

    There is the `sealed` class modifier which allows for exhaustive matching on possible types: https://dart.dev/language/class-modifiers#sealed

    There's also a package called freezed which offers similar utility (you might already be familiar with this seeing as you mentioned pattern matching): https://pub.dev/packages/freezed

    I recall there being a reason unions aren't generally implemented, though I'm not sure where I read it. It was to do with union types being unnecessarily complex for the compiler and the code they tend to produce, at no real benefit to the programmer or the resulting program. Go's lack of unions is essentially based around the same reasoning.

  • rust-embed

    Rust Macro which loads files into the rust binary at compile time during release and loads the file from the fs during dev.

  • flutter_gen

    The Flutter code generator for your assets, fonts, colors, … — Get rid of all String-based APIs.

  • python-betterproto

    Clean, modern, Python 3.6+ code generator & library for Protobuf 3 and async gRPC

  • argbash

    Bash argument parsing code generator

  • taco

    The Tensor Algebra Compiler (taco) computes sparse tensor expressions on CPUs and GPUs

  • Project mention: The Distributed Tensor Algebra Compiler (2022) | news.ycombinator.com | 2023-06-15

    I agree! Much of this work was done as part of the overarching TACO project (https://github.com/tensor-compiler/taco), in an attempt to distribute sparse tensor computations (https://rohany.github.io/publications/sc2022-spdistal.pdf). MLIR recently (~mid 2022) began implementing the ideas from TACO into a "sparse tensor" dialect, so perhaps some of these ideas could make it into there. I'm working with MLIR these days, and if I could re-do the project now I would probably utilize and targetb the MLIR linalg infrastructure!

  • astring

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

  • 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). The latest post mention was on 2024-03-13.

Code-Generator related posts

Index

What are some of the best open-source Code-Generator projects? This list will help you:

Project Stars
1 sqlc 10,709
2 graphql-code-generator 10,605
3 R.swift 9,394
4 GoSwagger 9,260
5 SwiftGen 9,084
6 jOOQ 5,874
7 JavaParser 5,211
8 gotests 4,847
9 autorest 4,476
10 xo 3,559
11 jennifer 3,175
12 datamodel-code-generator 2,281
13 Speedment 2,078
14 jet 2,010
15 php-generator 2,009
16 bashly 1,918
17 freezed 1,805
18 rust-embed 1,495
19 flutter_gen 1,392
20 python-betterproto 1,369
21 argbash 1,353
22 taco 1,198
23 astring 1,133
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com