{"id":40892218,"url":"https://github.com/staticaland/between","last_synced_at":"2026-01-22T02:10:04.028Z","repository":{"id":300653947,"uuid":"1006729171","full_name":"staticaland/between","owner":"staticaland","description":null,"archived":false,"fork":false,"pushed_at":"2025-06-25T21:49:31.000Z","size":30,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-19T11:38:38.086Z","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/staticaland.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2025-06-22T22:05:29.000Z","updated_at":"2025-06-25T21:49:26.000Z","dependencies_parsed_at":"2025-06-22T23:23:54.089Z","dependency_job_id":"bdbea865-28f7-4272-9c53-e8e1f2b02c06","html_url":"https://github.com/staticaland/between","commit_stats":null,"previous_names":["staticaland/between"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/staticaland/between","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/staticaland%2Fbetween","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/staticaland%2Fbetween/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/staticaland%2Fbetween/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/staticaland%2Fbetween/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/staticaland","download_url":"https://codeload.github.com/staticaland/between/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/staticaland%2Fbetween/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28650881,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T01:17:37.254Z","status":"online","status_checked_at":"2026-01-22T02:00:07.137Z","response_time":144,"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":"2026-01-22T02:10:01.918Z","updated_at":"2026-01-22T02:10:03.999Z","avatar_url":"https://github.com/staticaland.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# between\n\nA CLI tool that replaces text between two markers in files.\n\n## Installation\n\n### Homebrew (macOS/Linux)\n\nFirst, tap the repository:\n\n```bash\nbrew tap staticaland/between\n```\n\nThen, install the cask:\n\n```bash\nbrew install --cask between\n```\n\n### From Source\n\n```bash\ngo build -o between\n```\n\nOr install directly:\n\n```bash\ngo install\n```\n\n## Usage\n\n### Basic Example\n\nReplace content between default HTML-style markers:\n\n```bash\nbetween replace -f index.html --content \"Updated content\"\n```\n\nThis finds `\u003c!-- BEGIN --\u003e` and `\u003c!-- END --\u003e` markers and replaces everything between them.\n\n### Custom Markers\n\nUse custom markers for different file types:\n\n```bash\n# YAML configuration\nbetween replace -f config.yaml \\\n  --start-marker \"# BEGIN CONFIG\" \\\n  --end-marker \"# END CONFIG\" \\\n  --content \"database_url: postgres://localhost/mydb\"\n\n# Markdown documentation\nbetween replace -f docs.md \\\n  --start-marker \"## Generated Content\" \\\n  --end-marker \"## End Generated\" \\\n  --content \"This section is automatically updated\"\n```\n\n### Real-world Examples\n\nUpdate API documentation:\n\n```bash\nbetween replace -f README.md \\\n  --start-marker \"\u003c!-- API_ENDPOINTS --\u003e\" \\\n  --end-marker \"\u003c!-- /API_ENDPOINTS --\u003e\" \\\n  --content \"$(curl -s http://localhost:3000/api/docs)\"\n```\n\nUpdate configuration from template:\n\n```bash\nbetween replace -f app.config \\\n  --start-marker \"# AUTO-GENERATED\" \\\n  --end-marker \"# END AUTO-GENERATED\" \\\n  --content \"$(cat config-template.txt)\"\n```\n\n## Command Reference\n\n```sh\nbetween replace [flags]\n\nFlags:\n  -f, --file string          File to process (required)\n      --content string       New content to insert (required)\n      --start-marker string  Start marker (default \"\u003c!-- BEGIN --\u003e\")\n      --end-marker string    End marker (default \"\u003c!-- END --\u003e\")\n  -h, --help                help for replace\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstaticaland%2Fbetween","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstaticaland%2Fbetween","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstaticaland%2Fbetween/lists"}