{"id":15710375,"url":"https://github.com/aws/aws-sam-cli-app-templates","last_synced_at":"2025-10-24T13:03:41.673Z","repository":{"id":37790019,"uuid":"211362544","full_name":"aws/aws-sam-cli-app-templates","owner":"aws","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-21T19:14:33.000Z","size":22550,"stargazers_count":506,"open_issues_count":11,"forks_count":260,"subscribers_count":26,"default_branch":"master","last_synced_at":"2025-04-06T19:09:19.473Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/aws.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":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-27T16:42:59.000Z","updated_at":"2025-03-28T10:36:37.000Z","dependencies_parsed_at":"2022-07-14T10:22:24.023Z","dependency_job_id":"36156418-5f22-4fbe-a283-8a4bfde3a6b9","html_url":"https://github.com/aws/aws-sam-cli-app-templates","commit_stats":{"total_commits":353,"total_committers":110,"mean_commits":3.209090909090909,"dds":0.8668555240793201,"last_synced_commit":"dd7c7bb7fe7d08c041259b1129249b3394133f03"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aws%2Faws-sam-cli-app-templates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aws%2Faws-sam-cli-app-templates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aws%2Faws-sam-cli-app-templates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aws%2Faws-sam-cli-app-templates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aws","download_url":"https://codeload.github.com/aws/aws-sam-cli-app-templates/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248790529,"owners_count":21162029,"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":[],"created_at":"2024-10-03T21:06:57.013Z","updated_at":"2025-10-24T13:03:36.638Z","avatar_url":"https://github.com/aws.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AWS SAM CLI Application Templates\n\nThis repository contains the application templates used in the AWS SAM CLI for `sam init` calls.\n\n## Contributing\n\nWe welcome issue reports and pull requests to help improve these application templates.\n\n### Testing a template locally\n\nYou can create a buildable and deployable project folder from a local template using the below command. The `\u003cproject_name\u003e` can be whatever you want your project to be called, and `\u003cpath/to/init_template\u003e` should point to the existing folder that contains the template.\n\nCommand: `sam init --no-input --location \u003cpath/to/init_template\u003e --name \u003cproject_name\u003e`\n\nFor example: `samdev init --no-input --location /home/myuser/code/aws-sam-cli-app-templates/dotnet8/hello-native-aot --name beauNativeAotTest`\n\n### Testing updated `sam init` locally\n\nTo test an updated workflow of `sam init`, including changes to the prompts to create your new template, you need to push your changes from your fork so they can be downloaded by the SAM CLI. You'll also need a local copy of SAM CLI's source code to modify to point to your fork. Follow SAM CLI's main [DEVELOPMENT_GUIDE.md](https://github.com/aws/aws-sam-cli/blob/develop/DEVELOPMENT_GUIDE.md) to get a local version of SAM CLI setup. With your fork pushed, you can update the [samcli/commands/init/init_templates.py](https://github.com/aws/aws-sam-cli/blob/49fb8f9ad60d1daee67ebc8045266c965a125b3c/samcli/commands/init/init_templates.py#L38-L42) file in your local SAM CLI like below. Make sure to update all three variables.\n\n```\nAPP_TEMPLATES_REPO_COMMIT = \u003cthe commit hash\u003e\nMANIFEST_URL = (\n    f\"https://raw.githubusercontent.com/\u003cyour_github_id\u003e/aws-sam-cli-app-templates/{APP_TEMPLATES_REPO_COMMIT}/manifest-v2.json\"\n)\nAPP_TEMPLATES_REPO_URL = \"https://github.com/\u003cyour_github_id\u003e/aws-sam-cli-app-templates\"\n```\n\nExample\n```\nAPP_TEMPLATES_REPO_COMMIT = \"abcdefg1234567d6e78f319e189d39593c628b7f\"\nMANIFEST_URL = (\n    f\"https://raw.githubusercontent.com/aws/aws-sam-cli-app-templates/abcdefg1234567d6e78f319e189d39593c628b7f/manifest-v2.json\"\n)\nAPP_TEMPLATES_REPO_URL = \"https://github.com/cool-developer-xyz/aws-sam-cli-app-templates\"\n```\n\n## License\n\nThis project is licensed under the Apache-2.0 License.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faws%2Faws-sam-cli-app-templates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faws%2Faws-sam-cli-app-templates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faws%2Faws-sam-cli-app-templates/lists"}