{"id":43822664,"url":"https://github.com/theEvilReaper/DartPoet","last_synced_at":"2026-02-17T15:01:00.198Z","repository":{"id":154901940,"uuid":"614439325","full_name":"theEvilReaper/DartPoet","owner":"theEvilReaper","description":"A Kotlin API which allows the generation of code for dart","archived":false,"fork":false,"pushed_at":"2026-02-16T21:07:09.000Z","size":2612,"stargazers_count":8,"open_issues_count":5,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-16T21:32:54.725Z","etag":null,"topics":["code-generation","hacktoberfest","kotlin-library"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/theEvilReaper.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-03-15T15:30:39.000Z","updated_at":"2026-02-16T21:07:12.000Z","dependencies_parsed_at":"2025-11-18T16:05:17.386Z","dependency_job_id":null,"html_url":"https://github.com/theEvilReaper/DartPoet","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/theEvilReaper/DartPoet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theEvilReaper%2FDartPoet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theEvilReaper%2FDartPoet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theEvilReaper%2FDartPoet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theEvilReaper%2FDartPoet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/theEvilReaper","download_url":"https://codeload.github.com/theEvilReaper/DartPoet/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theEvilReaper%2FDartPoet/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29548201,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-17T14:33:00.708Z","status":"ssl_error","status_checked_at":"2026-02-17T14:32:58.657Z","response_time":100,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["code-generation","hacktoberfest","kotlin-library"],"created_at":"2026-02-06T02:00:29.838Z","updated_at":"2026-02-17T15:01:00.193Z","avatar_url":"https://github.com/theEvilReaper.png","language":"Kotlin","readme":"# DartPoet\n\n[![license](https://img.shields.io/github/license/theEvilReaper/DartPoet?style=for-the-badge\u0026color=b2234c)](../LICENSE)\n\nDartPoet is a Kotlin-based library designed for generating Dart code programmatically. DartPoet, inspired by the design\nof JavaPoet and KotlinPoet, simplifies the creation of Dart source files by providing a fluent and expressive API. This\nlibrary is particularly\nuseful for developers looking to automate Dart code generation, ensuring consistency and reducing manual coding effort.\n\nThe API allows the creation of the core functionalities of the Dart language, such as classes, methods, fields and more.\nSome of the newer features are not directly supported by the api itself, but can be added by using the `CodeBlock`\nclass.\nAt least the generated code relies on the null-safety feature from Dart. Which means that the code is generated for Dart\nversion `2.12.0` or higher.\n\n\u003e [!CAUTION]\n\u003e\n\u003e The library can be used in production, but it is still in development.\n\u003e This means that some features can contain bugs or may change in the future.\n\u003e We recommend to use the library with caution and to report any issues you encounter.\n\n## Usage\n\nAt the moment the library is only available over the snapshot repository. This means that you have to add the snapshot\nrepository from Maven to your project. The library is not yet available on Maven Central.\n\nThe url to the repository can be found [here](https://s01.oss.sonatype.org/content/repositories/snapshots/)\n\nTo add the library to your project you can use the following snippet:\n\nMaven:\n\n```xml\n\n\u003cdependency\u003e\n    \u003cgroupId\u003edev.themeinerlp\u003c/groupId\u003e\n    \u003cartifactId\u003edartpoet\u003c/artifactId\u003e\n    \u003cversion\u003e0.0.1-SNAPSHOT\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\nGradle:\n\n```kotlin\nimplementation(\"dev.themeinerlp:dartpoet:0.0.1-SNAPSHOT\")\n```\n\n## Contributing\n\nWe are happy to see that you are interested in contributing to our project. Please read\nour [contributing guidelines](CONTRIBUTING.md) before you start.\n\n## Wiki\n\nThe wiki contains all the information you need to get started with the library.\nIt provides explanations for different parts of the library and how to use them.\n\n\u003e [!CAUTION]\n\u003e\n\u003e Due to the state of the project, the wiki is not yet available. We are working on it and will provide it as soon as\n\u003e possible.\n\u003e\n\u003e If you want to see how you can use the library, you can take a look at the tests.\n\u003e They contain examples for different parts of the library.","funding_links":[],"categories":["Kotlin"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FtheEvilReaper%2FDartPoet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FtheEvilReaper%2FDartPoet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FtheEvilReaper%2FDartPoet/lists"}