{"id":25014286,"url":"https://github.com/gregoryv/ud","last_synced_at":"2026-05-05T05:34:53.516Z","repository":{"id":57551997,"uuid":"188562350","full_name":"gregoryv/ud","owner":"gregoryv","description":"Utility for replacing elements by id within html files.","archived":false,"fork":false,"pushed_at":"2025-03-20T06:40:35.000Z","size":45,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-20T07:36:55.963Z","etag":null,"topics":["go","golang","html","terminal"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":false,"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/gregoryv.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.md","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":"2019-05-25T12:16:05.000Z","updated_at":"2025-03-20T06:40:31.000Z","dependencies_parsed_at":"2022-09-20T12:52:22.404Z","dependency_job_id":"820397fe-d772-4c8e-9207-dde518ac3374","html_url":"https://github.com/gregoryv/ud","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregoryv%2Fud","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregoryv%2Fud/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregoryv%2Fud/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregoryv%2Fud/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gregoryv","download_url":"https://codeload.github.com/gregoryv/ud/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246277360,"owners_count":20751549,"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":["go","golang","html","terminal"],"created_at":"2025-02-05T07:18:59.613Z","updated_at":"2026-05-05T05:34:53.512Z","avatar_url":"https://github.com/gregoryv.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"ARCHIVED! moved to https://sogvin.com/ud\n\n[ud](https://godoc.org/github.com/gregoryv/ud) - Utility for replacing elements by id within html files.\n\n## Quick start\n\n    go get -u github.com/gregoryv/ud\n\nReplace an element by id\n\n    echo \"\u003cem\u003enew thing\u003c/em\u003e\" | ud -w -i \"someid\" -html index.html\n\nwhich is same as\n\n    echo '\u003cem id=\"someid\"\u003enew thing\u003c/em\u003e' | ud -w -html index.html\n\nNote! when `-i` flag is not given `-c` has no effect, it will always\nreplace the identified element.\n\nReplace content of element by id use the `-c` flag\n\n    echo \"\u003cem\u003enew thing\u003c/em\u003e\" | ud -w -c -i \"someid\" -html index.html\n\n\n## Primary usecase\n\nThe primary reason for this tool was to simply generate and update\nimage maps within html when working with graphviz documents\n\n    dot -Tcmapx somegraph.dot | ud -w -html index.html\n\n![](illustration.gv.svg)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregoryv%2Fud","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgregoryv%2Fud","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregoryv%2Fud/lists"}