{"id":18941460,"url":"https://github.com/mchmarny/daprme","last_synced_at":"2025-04-15T20:32:01.448Z","repository":{"id":38324035,"uuid":"301707667","full_name":"mchmarny/daprme","owner":"mchmarny","description":"New app wizard for creation of a new Dapr project. Including Dapr component selection and app scaffolding of a new app based on user choices.","archived":false,"fork":false,"pushed_at":"2022-10-24T03:05:37.000Z","size":169,"stargazers_count":5,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-29T02:11:05.613Z","etag":null,"topics":["bindings","component","dapr","pubsub","service","state","tempalte","wizard"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mchmarny.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":null,"support":null}},"created_at":"2020-10-06T11:43:07.000Z","updated_at":"2021-07-03T23:51:50.000Z","dependencies_parsed_at":"2022-09-07T17:41:38.104Z","dependency_job_id":null,"html_url":"https://github.com/mchmarny/daprme","commit_stats":null,"previous_names":["dapr-templates/daprme"],"tags_count":24,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mchmarny%2Fdaprme","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mchmarny%2Fdaprme/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mchmarny%2Fdaprme/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mchmarny%2Fdaprme/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mchmarny","download_url":"https://codeload.github.com/mchmarny/daprme/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249148027,"owners_count":21220464,"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":["bindings","component","dapr","pubsub","service","state","tempalte","wizard"],"created_at":"2024-11-08T12:28:09.016Z","updated_at":"2025-04-15T20:32:00.819Z","avatar_url":"https://github.com/mchmarny.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# daprme\n\n[![Go Report Card](https://goreportcard.com/badge/github.com/dapr-templates/daprme)](https://goreportcard.com/report/github.com/dapr-templates/daprme) ![Test](https://github.com/dapr-templates/daprme/workflows/Test/badge.svg) ![Release](https://github.com/dapr-templates/daprme/workflows/Release/badge.svg) [![codecov](https://codecov.io/gh/dapr-templates/daprme/branch/master/graph/badge.svg)](https://codecov.io/gh/dapr-templates/daprme)\n\nThis new app wizard CLI guides you through the creation of a new Dapr project. Including the Dapr component selection and scaffolding of a new application.\n\nCurrently supported application types:\n\n* Command-line (e.g. CLI)\n* HTTP Service \n* gRPC Service \n\n\u003e Each one of these applications supports options have client to call into Dapr API\n\nCurrently supported development languages: \n\n* Go \n* Node.js (under development)\n\n\u003e The `daprme` wizard is template driven, PRs with support for other languages welcomed\n\n\n## Installation\n\n### Mac OS using Homebrew\n\n```sh\nbrew tap dapr-templates/daprme\nbrew install dapr-templates/daprme/daprme\n```\n\n### Other\n\n1. Download the latest [daprme](https://github.com/dapr-templates/daprme/releases/latest) release for your OS\n2. Move it to your desired in PATH location (e.g. `/usr/local/bin`)\n\n## Usage \n\n\u003e Assuming the `daprme` CLI is already in PATH (see Installation above)\n\nRun `daprme` and follow the prompts\n\n```shell\ndaprme\n```\n\nTo specify the output directory (defaults to current), provide the `--out` flag, for example:\n\n```shell\ndaprme --out ~/Downloads\n```\n\nTo re-use an existing app manifest provide the `--file` flag, for example:\n\n```shell\ndaprme --file ~/dapr-templates/my-common-app.yaml\n```\n\nHere is an example of an app template for a gRPC service application type in Go with a couple of components:\n\n\u003e The `daprme` prompt will guide you through template definition and output resulting manifest at the end, so no need to write any YAML by hand. \n\n```yaml\nMeta:\n  Name: demo\n  Type: gRPC\n  Lang: go\n  Main: main.go\n  Port: 50050\n  UsesClient: true\n  Owner: mchmarny\nPubSubs:\n- Type: pubsub.redis\n  Name: redis-pubsub\n  Topic: messages\nBindings:\n- Type: bindings.cron\n  Name: cron-binding\nServices:\n- Name: myService\n- Name: myOtherService\nComponents:\n- Type: secretstores.local.env\n  Name: localenv-secret\n- Type: state.redis\n  Name: redis-store\n```\n\n## Adding Language Support \n\nTo learn about ways you can contribute and how to setup your development environment check the [CONTRIBUTING.md](./CONTRIBUTING.md) doc. \n\nThe best place to start is adding support for additional languages. `daprme` is uses Go templating, so adding addition language support is as simple as providing language specific templates in the [template](./template) directory. In the template, you can use any value from the context `daprme` passes to these templates.\n\nIn addition, you will need to implement the language specific provider interface `Configurable` in [pkg/lang](./pkg/lang) package. It lists the templates and provides language specific configuration. \n\n\u003e When possible, aim for runnable project vs advanced features that require users to perform additional \"plumbing\" steps. \n\n## Code of Conduct\n\nPlease refer to our included [Code of Conduct](./CODE_OF_CONDUCT.md)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmchmarny%2Fdaprme","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmchmarny%2Fdaprme","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmchmarny%2Fdaprme/lists"}