{"id":19044458,"url":"https://github.com/tilt-dev/local_resource_example","last_synced_at":"2025-10-15T12:38:51.094Z","repository":{"id":105913210,"uuid":"210459146","full_name":"tilt-dev/local_resource_example","owner":"tilt-dev","description":null,"archived":false,"fork":false,"pushed_at":"2023-02-24T23:06:53.000Z","size":21,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-23T23:37:28.589Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tilt-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null}},"created_at":"2019-09-23T21:52:09.000Z","updated_at":"2023-01-25T23:04:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"f91cb3e9-d188-466a-abba-fc7a916b5737","html_url":"https://github.com/tilt-dev/local_resource_example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tilt-dev/local_resource_example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tilt-dev%2Flocal_resource_example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tilt-dev%2Flocal_resource_example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tilt-dev%2Flocal_resource_example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tilt-dev%2Flocal_resource_example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tilt-dev","download_url":"https://codeload.github.com/tilt-dev/local_resource_example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tilt-dev%2Flocal_resource_example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279078727,"owners_count":26098581,"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","status":"online","status_checked_at":"2025-10-15T02:00:07.814Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-08T22:46:22.734Z","updated_at":"2025-10-15T12:38:51.052Z","avatar_url":"https://github.com/tilt-dev.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# What's in this repo?\nThis repo is a simple client+server that exchange greetings. They communicate via [protocol buffers](https://developers.google.com/protocol-buffers)\ngenerated from `helloworld.proto`.\n\nThe purpose of this repo is to show off [our new `local_resource` functionality](https://docs.tilt.dev/local_resource.html). In this Tiltfile, we call:\n```python\nlocal_resource('proto', cmd='go generate ./greeter_server', deps=['helloworld/helloworld.proto'])\n```\nThis call tells Tilt: \"when `helloworld/helloworld.proto` changes, run `go generate ./greeter_server`\". That is,\nTilt generates your protobufs for you automatically, only when the relevant file changes. Even better, you can\nsee output and status of this command in the UI along with the rest of your resources.\n\n## Give it a shot!\n\nPull down this repo, `tilt up`, and once everything's up, make a change to `helloworld.proto`--say, add a field to\nthe `HelloRequest`. Your Local Resource will pick up this change and regenerate `helloworld.pb.go`, and the client and\nserver will both pick up this file change via Live Update and propagate it to their running containers. ⚡️ \n\n### Dependencies\n1. Install [the Go toolchain](https://golang.org/doc/install)\n\n2. Install [protobuf compiler](https://github.com/google/protobuf/blob/master/README.md#protocol-compiler-installation)\n\n3. Install the protoc Go plugin\n\n   ```\n   $ go get -u github.com/golang/protobuf/protoc-gen-go\n   ```\n\n4. [Install Tilt](https://docs.tilt.dev/install.html)\n\n5. `tilt up`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftilt-dev%2Flocal_resource_example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftilt-dev%2Flocal_resource_example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftilt-dev%2Flocal_resource_example/lists"}