square/kotlinpoet

A Kotlin API for generating .kt source files.

65
/ 100
Established

This tool helps Kotlin and Java developers automatically create new Kotlin source code files. You provide the instructions, and it outputs ready-to-use .kt files, saving you from writing repetitive code by hand. It's designed for software developers building applications with Kotlin or Java.

4,129 stars. Actively maintained with 14 commits in the last 30 days.

Use this if you need to programmatically generate Kotlin source code during your development process.

Not ideal if you are looking to generate code in languages other than Kotlin, or if you prefer to write all your source code manually.

Kotlin development Java development code generation software engineering developer tooling
No Package No Dependents
Maintenance 20 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 19 / 25

How are scores calculated?

Stars

4,129

Forks

306

Language

Kotlin

License

Apache-2.0

Last pushed

Mar 19, 2026

Commits (30d)

14

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/square/kotlinpoet"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.