{"id":25961691,"url":"https://github.com/ttab/elephant-twirptools","last_synced_at":"2026-01-29T05:43:28.479Z","repository":{"id":211090182,"uuid":"686957206","full_name":"ttab/elephant-twirptools","owner":"ttab","description":"A docker image that's used to genererate Twirp API code and documentation from protobuf declarations.","archived":false,"fork":false,"pushed_at":"2025-01-10T13:29:40.000Z","size":16,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-01-10T14:34:40.600Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","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/ttab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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":"2023-09-04T09:59:17.000Z","updated_at":"2025-01-10T13:23:16.000Z","dependencies_parsed_at":"2024-01-17T15:28:29.177Z","dependency_job_id":"448584ac-1c25-43cf-95e5-53d064a87dbc","html_url":"https://github.com/ttab/elephant-twirptools","commit_stats":null,"previous_names":["ttab/elephant-twirptools"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttab%2Felephant-twirptools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttab%2Felephant-twirptools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttab%2Felephant-twirptools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttab%2Felephant-twirptools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ttab","download_url":"https://codeload.github.com/ttab/elephant-twirptools/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241912991,"owners_count":20041457,"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":"2025-03-04T19:41:00.449Z","updated_at":"2026-01-29T05:43:28.401Z","avatar_url":"https://github.com/ttab.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Elephant Twirp tools\n\nA docker image that's used to genererate Twirp API code and documentation from protobuf declarations.\n\nUsage:\n\n``` makefile\nproto_file := repository/service.proto\ngenerated_files := repository/service.pb.go \\\n\trepository/service.twirp.go \\\n\tdocs/repository-openapi.json\n\nmodule := $(shell go list -m)\n\nTOOL := docker run --rm \\\n\t-v \"$(shell pwd):/usr/src\" \\\n\t-u $(shell id -u):$(shell id -g) \\\n\tghcr.io/ttab/elephant-twirptools:v8.1.3-0\n\n.PHONY: proto\nproto: $(generated_files)\n\n$(generated_files): $(proto_file) newsdoc/newsdoc.proto Makefile docs\n\t$(TOOL) protoc --go_out=. --twirp_out=. \\\n\t\t--openapi3_out=./docs --openapi3_opt=application=repository,version=v0.0.0 \\\n\t\t$(proto_file)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fttab%2Felephant-twirptools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fttab%2Felephant-twirptools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fttab%2Felephant-twirptools/lists"}