{"id":15879610,"url":"https://github.com/veggiemonk/inbtw","last_synced_at":"2025-07-23T01:33:14.336Z","repository":{"id":177932538,"uuid":"661101542","full_name":"veggiemonk/inbtw","owner":"veggiemonk","description":"small Go utility to extract the text in between two tags","archived":false,"fork":false,"pushed_at":"2023-07-09T19:59:41.000Z","size":84,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-02T00:37:41.074Z","etag":null,"topics":["cli","docs","documentation","go","golang","sed","text-processing","tools"],"latest_commit_sha":null,"homepage":"","language":"Go","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/veggiemonk.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-07-01T19:44:52.000Z","updated_at":"2023-07-01T20:35:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"1cbcddf1-04cf-457e-b5b6-c1a3db8b0ffb","html_url":"https://github.com/veggiemonk/inbtw","commit_stats":null,"previous_names":["veggiemonk/inbtw"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/veggiemonk/inbtw","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/veggiemonk%2Finbtw","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/veggiemonk%2Finbtw/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/veggiemonk%2Finbtw/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/veggiemonk%2Finbtw/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/veggiemonk","download_url":"https://codeload.github.com/veggiemonk/inbtw/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/veggiemonk%2Finbtw/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266602801,"owners_count":23954696,"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-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["cli","docs","documentation","go","golang","sed","text-processing","tools"],"created_at":"2024-10-06T03:02:50.329Z","updated_at":"2025-07-23T01:33:14.328Z","avatar_url":"https://github.com/veggiemonk.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# inbtw\n\n`inbtw` (a.k.a. \"in between\"), is a small utility to extract the text in between two tags.\n\n```bash mdox-exec=\"inbtw\" mdox-expect-exit-code=2\ninbtw extracts the text between tags.\n\n\tA tag is defined by \"// [START \" and \"// [END \"\n\n\tExample for a file containing:\n\n\t\t// [START mytag]\n\t\tvar Bla = \"bla\"\n\t\t// [END mytag]\n\n\texecuting:\n\n\t\t\u003e inbtw -tag mytag -f myfile.go\n\n\twill yield:\n\n\t\tvar Bla = \"bla\"\n\t\nUsage of inbtw:\n  -f string\n    \tfile(s) to parse, multiple files can be separated by ',', '-' for stdin.\n  -tag string\n    \ttag containing the text to extract.\n```\n\n## Purpose\n\nTo extract code snippets in order to render them in a document. It requires less maintenance than something like `sed` because it needs line numbers, and less complicated than regex or `awk`.\n\n## Installing\n\n```shell\ngo install github.com/veggiemonk/inbtw@latest \n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fveggiemonk%2Finbtw","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fveggiemonk%2Finbtw","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fveggiemonk%2Finbtw/lists"}