{"id":16243659,"url":"https://github.com/dustin/confsed","last_synced_at":"2025-04-08T11:00:04.424Z","repository":{"id":10923264,"uuid":"13225088","full_name":"dustin/confsed","owner":"dustin","description":"JSON REST API stream editor.","archived":false,"fork":false,"pushed_at":"2013-11-14T18:46:10.000Z","size":108,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-14T07:20:00.621Z","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/dustin.png","metadata":{"files":{"readme":"README.markdown","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}},"created_at":"2013-09-30T19:33:14.000Z","updated_at":"2013-11-14T18:46:16.000Z","dependencies_parsed_at":"2022-08-30T03:40:32.076Z","dependency_job_id":null,"html_url":"https://github.com/dustin/confsed","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dustin%2Fconfsed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dustin%2Fconfsed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dustin%2Fconfsed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dustin%2Fconfsed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dustin","download_url":"https://codeload.github.com/dustin/confsed/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247829473,"owners_count":21002994,"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":"2024-10-10T14:15:49.180Z","updated_at":"2025-04-08T11:00:04.400Z","avatar_url":"https://github.com/dustin.png","language":"Go","readme":"# rewriting REST\n\nconfsed is a tool that proxies HTTP requests to a REST API that\nreturns JSON, allowing rewrites of string responses.\n\nI wrote this because I'm NATting a service that self-describes, but\ndoesn't know how to address itself when sending clients off to\ndifferent ports.\n\nI'm using this currently with a double-natted service (couchbase\nserver in docker in virtualbox via vagrant) successfully.\n\n# Usage\n\nWrite a JSON rewrite rule thing:\n\n```json\n{\n    \"original\": \"rewritten\",\n    \"1.2.3.4\": \"5.6.7.8\"\n}\n```\n\nThen run\n\n    confsed -rewriteconf myconf.json http://origin/\n\nNow, make all requests to the confsed server (default port is `7081`)\nand the magic happens.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdustin%2Fconfsed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdustin%2Fconfsed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdustin%2Fconfsed/lists"}