{"id":15293107,"url":"https://github.com/darwinframework/darwin","last_synced_at":"2025-10-07T06:30:29.739Z","repository":{"id":65174964,"uuid":"571447276","full_name":"DarwinFramework/darwin","owner":"DarwinFramework","description":"🧰 Swiss army knife for creating service based applications in dart, using IoC and a powerful annotation based code generator.","archived":true,"fork":false,"pushed_at":"2023-03-19T16:35:49.000Z","size":468,"stargazers_count":2,"open_issues_count":6,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-18T12:07:10.979Z","etag":null,"topics":["dart","darwin","framework","ioc"],"latest_commit_sha":null,"homepage":"","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DarwinFramework.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null}},"created_at":"2022-11-28T06:34:12.000Z","updated_at":"2023-08-01T14:53:56.000Z","dependencies_parsed_at":"2023-02-12T07:46:19.157Z","dependency_job_id":null,"html_url":"https://github.com/DarwinFramework/darwin","commit_stats":null,"previous_names":[],"tags_count":57,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DarwinFramework%2Fdarwin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DarwinFramework%2Fdarwin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DarwinFramework%2Fdarwin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DarwinFramework%2Fdarwin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DarwinFramework","download_url":"https://codeload.github.com/DarwinFramework/darwin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235599556,"owners_count":19016190,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["dart","darwin","framework","ioc"],"created_at":"2024-09-30T16:39:49.953Z","updated_at":"2025-10-07T06:30:24.268Z","avatar_url":"https://github.com/DarwinFramework.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1\u003e\n    Darwin\n    \u003ca href=\"https://pub.dev/packages/darwin_sdk\"\u003e\n        \u003cimg src=\"https://img.shields.io/pub/v/darwin_sdk\" alt=\"discord\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://discord.gg/6HKuGSzYKJ\"\u003e\n        \u003cimg src=\"https://img.shields.io/discord/1060355106522017924?label=discord\" alt=\"discord\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://helightdev.gitbook.io/darwin\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/docs-gitbook.com-346ddb.svg\" alt=\"gitbook\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/invertase/melos\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/maintained%20with-melos-f700ff.svg\" alt=\"melos\"\u003e\n    \u003c/a\u003e\n\u003c/h1\u003e\n\nDarwin is your swiss army knife for creating service based applications\nin dart, using the inversion of control principle and\na powerful annotation based code-generator.\n\n## Goals\n- 🪟 **Clear and readable!**\nwith almost zero boilerplate and services.\n- 🔋 **Batteries included!**\nplus a variety of packages and integrations.\n- 🚄 **We are speed!**\nFast startups and delayable code generation.\n- 🎨 **Make it your own!**\nMany extension points and configurations.\n\n## Have a look for yourself!\n```dart\n@RestController()\n@Path(\"/api/cats\")\nclass CatController {\n\n  CatService service;\n  CatController(this.service);\n\n  @GET(\"{name}\")\n  Cat retrieveCat(@PathParam() String name) {\n    return service.getNamedCat(name);\n  }\n\n  @POST()\n  Cat saveCat(@Body() cat) =\u003e service.addCat(cat);\n\n  @GET()\n  List\u003cCat\u003e retrieveAll() =\u003e service.getAllCats();\n\n}\n```\n\n## Getting Started\nTo create a new project, you can use our cli tool **charles**\n(install with `dart pub global activate charles`) or our\n[Web Project Generator](https://darwin-starter.web.app/#/).\n\nHave a look at [our example project](https://github.com/DarwinFramework/darwin_example)\nfor sample code or our [Getting Started Guide](https://helightdev.gitbook.io/darwin/core/getting-started) \nat our [Gitbook Wiki](https://helightdev.gitbook.io/darwin/).\n\n## Silent Code Generation\nA neat point about darwins **non-intrusive** code generation is, that it\nhas almost **zero boilerplate** and generally **doesn't require importing\nor referencing generated source code**, except for just a few cases.\nThis allows you to keep on working on your code, without having to wait\nfor the build runner to create your required files for every new service\nyou create and plan to use. This also **minimizes conflicts** with other\nexternal generators and helps to prevent unexpected build runner crashes.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarwinframework%2Fdarwin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdarwinframework%2Fdarwin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarwinframework%2Fdarwin/lists"}