{"id":18624708,"url":"https://github.com/meteatamel/cloud-code-custom-templates","last_synced_at":"2025-11-03T19:30:28.499Z","repository":{"id":85651952,"uuid":"568841289","full_name":"meteatamel/cloud-code-custom-templates","owner":"meteatamel","description":"Repository for various custom samples for Cloud Code","archived":false,"fork":false,"pushed_at":"2023-03-15T13:35:22.000Z","size":1192,"stargazers_count":0,"open_issues_count":13,"forks_count":3,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-12-27T05:41:55.835Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/meteatamel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-11-21T14:22:34.000Z","updated_at":"2023-04-22T03:04:15.000Z","dependencies_parsed_at":"2023-04-09T00:06:00.548Z","dependency_job_id":null,"html_url":"https://github.com/meteatamel/cloud-code-custom-templates","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meteatamel%2Fcloud-code-custom-templates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meteatamel%2Fcloud-code-custom-templates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meteatamel%2Fcloud-code-custom-templates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meteatamel%2Fcloud-code-custom-templates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/meteatamel","download_url":"https://codeload.github.com/meteatamel/cloud-code-custom-templates/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239418578,"owners_count":19635208,"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-11-07T04:30:19.293Z","updated_at":"2025-11-03T19:30:28.443Z","avatar_url":"https://github.com/meteatamel.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Custom templates for Cloud Code\n\n## What are these templates?\n\nThis repository contains some starter Cloud Functions and Cloud Run templates\nfor Cloud Code for VS Code for different languages. Each template includes\nminimal starter code for HTTP or CloudEvent triggered Cloud Functions or Cloud\nRun services that use the recommended libraries ([CloudEvents\nSDK](https://cloudevents.io/) and [Google CloudEvents\nlibraries](https://github.com/googleapis/google-cloudevents)) for each language.\nThey also includes lightweight `gcloud` based scripts to quickly test services\nlocally, deploy to the cloud, and test in the cloud.\n\n## Why these templates?\n\nCloud Code comes with some default Cloud Run and Cloud Functions templates\n(hosted in\n[cloud-code-samples](https://github.com/GoogleCloudPlatform/cloud-code-samples)\nrepo) but they're limited:\n\n* Only four languages are supported (Node.js, Python, Go, and Java) in Cloud\n  Functions templates and deployment. I’ve especially missed the NET support.\n* Templates for Cloud Run and Cloud Functions are only for HTTP triggered\n  services. No templates for event triggered services.\n* Testing only works against deployed HTTP triggered services. No testing\n  support for locally running services or event triggered services.\n\n## How do I use these templates?\n\nYou can use these templates in standalone Cloud Code for VS Code or the Cloud\nCode in the editor of Cloud Shell in the browser.\n\nTo use these templates as starter projects:\n\n1. Click on `Cloud Code` in VS Code.\n1. Select `New Application` -\u003e `Custom Application` -\u003e `Import Sample from Repo`\n1. Point to this repository.\n1. Choose a template as a starter project and follow the instructions in the\n   `README.md`of the template.\n\n![Install templates](install.gif)\n\n## Templates\n\n### Cloud Functions\n\n.NET:\n\n* [.NET: Cloud Functions - hello-http](dotnet/functions/hello-http) - An\n  HTTP triggered .NET Cloud Functions template.\n* [.NET: Cloud Functions - hello-gcs](dotnet/functions/hello-gcs) - A\n  Cloud Storage triggered .NET Cloud Functions template.\n* [.NET: Cloud Functions - hello-pubsub](dotnet/functions/hello-pubsub) - A\n  Pub/Sub triggered .NET Cloud Functions template.\n* [.NET: Cloud Functions - hello-auditlog](dotnet/functions/hello-auditlog) - An\n  AuditLog triggered .NET Cloud Functions template.\n\nJava:\n\n* [Java: Cloud Functions - hello-http](java/functions/hello-http) - An\n  HTTP triggered Java Cloud Functions template.\n* [Java: Cloud Functions - hello-gcs](java/functions/hello-gcs) - A\n  Cloud Storage triggered Java Cloud Functions template.\n* [Java: Cloud Functions - hello-pubsub](java/functions/hello-pubsub) - A\n  Pub/Sub triggered Java Cloud Functions template.\n* [Java: Cloud Functions - hello-auditlog](java/functions/hello-auditlog) - An\n  AuditLog triggered Java Cloud Functions template.\n\nNode.js:\n\n* [Node.js: Cloud Functions - hello-http](nodejs/functions/hello-http) - An\n  HTTP triggered Node.js Cloud Functions template.\n* [Node.js: Cloud Functions - hello-gcs](nodejs/functions/hello-gcs) - A\n  Cloud Storage triggered Node.js Cloud Functions template.\n* [Node.js: Cloud Functions - hello-pubsub](nodejs/functions/hello-pubsub) - A\n  Pub/Sub triggered Node.js Cloud Functions template.\n* [Node.js: Cloud Functions - hello-auditlog](nodejs/functions/hello-auditLog) - An\n  AuditLog triggered Node.js Cloud Functions template.\n\nPython:\n\n* [Python: Cloud Functions - hello-http](python/functions/hello-http) - An\n  HTTP triggered Python Cloud Functions template.\n* [Python: Cloud Functions - hello-gcs](python/functions/hello-gcs) - A\n  Cloud Storage triggered Python Cloud Functions template.\n* [Python: Cloud Functions - hello-pubsub](python/functions/hello-pubsub) - A\n  Pub/Sub triggered Python Cloud Functions template.\n* [Python: Cloud Functions - hello-auditlog](python/functions/hello-auditLog) - An\n  AuditLog triggered Python Cloud Functions template.\n\n### Cloud Run\n\n.NET:\n\n* [.NET: Cloud Run - hello-http](dotnet/run/hello-http) - An HTTP triggered .NET\n  Cloud Run template.\n* [.NET: Cloud Run - hello-gcs](dotnet/run/hello-gcs) - A Cloud Storage triggered\n  .NET Cloud Run template.\n* [.NET: Cloud Run - hello-pubsub](dotnet/run/hello-pubsub) - A Pub/Sub triggered\n  .NET Cloud Run template.\n* [.NET: Cloud Run - hello-auditlog](dotnet/run/hello-auditlog) - An AuditLog\n  triggered .NET Cloud Run template.\n\nJava:\n\n* [Java: Cloud Run - hello-http](java/run/hello-http) - An HTTP triggered Java\n  Cloud Run template.\n* [Java: Cloud Run - hello-gcs](java/run/hello-gcs) - A Cloud Storage triggered\n  Java Cloud Run template.\n* [Java: Cloud Run - hello-pubsub](java/run/hello-pubsub) - A Pub/Sub triggered\n  Java Cloud Run template.\n* [Java: Cloud Run - hello-auditlog](dotnet/run/hello-audit-log) - An AuditLog\n  triggered Java Cloud Run template.\n\nNode.js:\n\n* [Node.js: Cloud Run - hello-http](nodejs/run/hello-http) - An HTTP triggered Node.js\n  Cloud Run template.\n* [Node.js: Cloud Run - hello-gcs](nodejs/run/hello-gcs) - A Cloud Storage triggered\n  Node.js Cloud Run template.\n* [Node.js: Cloud Run - hello-pubsub](nodejs/run/hello-pubsub) - A Pub/Sub triggered\n  Node.js Cloud Run template.\n* [Node.js: Cloud Run - hello-auditlog](nodejs/run/hello-auditLog) - An AuditLog\n  triggered Node.js Cloud Run template.\n\nPython:\n\n* [Python: Cloud Run - hello-http](python/run/hello-http) - An HTTP triggered\n  Python Cloud Run template.\n* [Python: Cloud Run - hello-gcs](python/run/hello-gcs) - A Cloud Storage triggered\n  Python Cloud Run template.\n* [Python: Cloud Run - hello-pubsub](python/run/hello-pubsub) - A Pub/Sub triggered\n  Python Cloud Run template.\n* [Python: Cloud Run - hello-auditlog](python/run/hello-auditLog) - An AuditLog\n  triggered Python Cloud Run template.\n\n-------\n\nThis is not an official Google product.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeteatamel%2Fcloud-code-custom-templates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmeteatamel%2Fcloud-code-custom-templates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeteatamel%2Fcloud-code-custom-templates/lists"}