Top 23 Code-Generator Open-Source Projects
Strong typed, autocompleted resources like images, fonts and segues in Swift projectsProject mention: Did you also know? In Xcode you can use the refactoring tool to wrap a literal string into a call to NSLocalizedString! Even better, you can assign a keyboard shortcut to make it even more efficient 🤓 | reddit.com/r/swift | 2020-12-23
Same was posted on the /r/iOSProgramming post for this, but I'm definitely not going back to using the raw NSLocalizedString call or extensions after I started using R.swift. Type safety and auto complete for all your assets is a real win in my book.
The Swift code generator for your assets, storyboards, Localizable.strings, … — Get rid of all String-based APIs!Project mention: Bamboo Agent On Apple Silicon M1 Any Success Yet | reddit.com/r/atlassian | 2021-02-04
Run Linux Software Faster and Safer than Linux with Unikernels.
A tool for generating code based on a GraphQL schema and GraphQL operations (query/mutation/subscription), with flexible support for custom plugins.Project mention: Here's how to take a GraphQL schema and get typed queries & results out of the box | reddit.com/r/graphql | 2021-05-04
Very cool. I've been using http://graphql-code-generator.com/ and I think it's the same sort of thing? I love tools like this.
Swagger 2.0 implementation for goProject mention: Code Generation | reddit.com/r/golang | 2021-04-10
https://goswagger.io/ (makes swagger compatible API's from definitions or code)
jOOQ is the best way to write SQL in JavaProject mention: Windyquery: A non-blocking Python PostgreSQL query builder | news.ycombinator.com | 2021-05-10
> Given that most query builders allow arbitrary parameters (such as table and column names), you can't actually ensure the query is correct at compile time, regardless of the type of language.
JOOQ  does a great job of providing a type-safe query builder that can guarantee correct queries at compile-time. It indeed also supplies arbitrary strings for names and sql components which will break that guarantee, but apart from that you can extract your databases' schema into typed classes and use those to run your queries.
I really like it, but it is definately not a replacement for an ORM.
Java 1-15 Parser and Abstract Syntax Tree for Java, including preview features to Java 13Project mention: Bulk Refactoring of Java Code | reddit.com/r/java | 2021-01-11
Depending on the type of refactorings needed, you may be able to use something like Java parser to read the code, refractor it, and write it out again.
OpenAPI (f.k.a Swagger) Specification code generator. Supports C#, PowerShell, Go, Java, Node.js, TypeScript, Python, RubyProject mention: Any way to generate Typescript code from API in Mac/OSX or Linux like NSwag Studio? | reddit.com/r/dotnet | 2021-03-21
You can try autorest. I haven't used NSwag but I believe the two are similar. Also it looks like Nswag has a command line tool that you could use.
Scout APM - Leading-edge performance monitoring starting at $39/month. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.
Automatically generate Go test boilerplate from your source code.Project mention: ¿Como estructurar tu aplicación en Go? | dev.to | 2021-05-09
Generate type safe Go from SQL
Command line tool to generate idiomatic Go code for SQL databases supporting PostgreSQL, MySQL, SQLite, Oracle, and Microsoft SQL Server (by xo)
Jennifer is a code generator for Go
Speedment is a Stream ORM Java Toolkit and Runtime
:art: Auto-generated icon font library for iOS, watchOS and tvOS
GraphQL client and GraphQL code generator with GraphQL autocomplete library generation ⚡⚡⚡ for browser,nodejs and react nativeProject mention: Question: Any tools for generating strongly-typed query and mutation builders? | reddit.com/r/graphql | 2021-04-16
There's graphql zeus that has a type safe query builder. I haven't used it yet, but it looks promising
Automatic generation of the Builder pattern for Java
Code generation for immutable classes that has a simple syntax/API without compromising on the features.Project mention: How to deserialize a union type from JSON | reddit.com/r/dartlang | 2021-05-04
I tried to follow the JSON section on the freezed pub dev page. I do not understand it though. It uses a Map which doesn't fit in here (I think), as the value I want to deserialize is either an array or a string.
The Flutter code generator for your assets, fonts, colors, … — Get rid of all String-based APIs.Project mention: FlutterGen: Good-bye Typos! | dev.to | 2020-12-08
If you have any questions regarding this package, in this link you can browse the documentation and you can also check its source code in its repo from GitHub.
binary serialization format
Rust Macro which loads files into the rust binary at compile time during release and loads the file from the fs during dev.Project mention: Introduction to gRPC in Rust | dev.to | 2021-05-03
Images of planets are included in the application binary at compile time using rust_embed crate (at the development time they are loaded from a file system).
I know this because build.sbt knows this.
Pydantic model generator for easy conversion of JSON, OpenAPI, JSON Schema, and YAML data sources.Project mention: What's the best libraries to build a REST API with Openapi compatibility | reddit.com/r/flask | 2021-05-17
To save you some work, if you have already an OpenAPI specification at hand, you can use datamodel-code-generator to generate your Pydantic models from the spec.
SmartCode = IDataSource -> IBuildTask -> IOutput => Build Everything!!!
Type safe SQL builder with code generation and automatic query result data mapping (by go-jet)
What are some of the best open-source Code-Generator projects? This list will help you: