{"id":23543221,"url":"https://github.com/inkel/lruc","last_synced_at":"2025-08-24T03:32:53.387Z","repository":{"id":64304875,"uuid":"108548384","full_name":"inkel/lruc","owner":"inkel","description":"Reverse cURL: one liner HTTP server with deep response configuration","archived":false,"fork":false,"pushed_at":"2023-11-22T17:34:00.000Z","size":15,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-20T20:30:44.042Z","etag":null,"topics":["go","golang","http","tool"],"latest_commit_sha":null,"homepage":"https://inkel.github.io/posts/reverse-curl/","language":"Go","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/inkel.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":"2017-10-27T13:17:26.000Z","updated_at":"2023-11-22T15:08:40.000Z","dependencies_parsed_at":"2024-06-20T15:53:18.324Z","dependency_job_id":null,"html_url":"https://github.com/inkel/lruc","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/inkel/lruc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inkel%2Flruc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inkel%2Flruc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inkel%2Flruc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inkel%2Flruc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/inkel","download_url":"https://codeload.github.com/inkel/lruc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inkel%2Flruc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271785862,"owners_count":24820557,"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-08-24T02:00:11.135Z","response_time":111,"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":["go","golang","http","tool"],"created_at":"2024-12-26T06:19:01.676Z","updated_at":"2025-08-24T03:32:53.364Z","avatar_url":"https://github.com/inkel.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lruc - reverse cURL\nSee [this Twitter thread](https://twitter.com/thorstenball/status/923890186479656960). I plan to update the docs later.\n\n## Usage\n```\nUsage of lruc:\n  -addr string\n        Address to listen for requests (default \":8080\")\n  -body -\n        Response body. Use - to read from a stdin (default \"Hello, World!\")\n  -code int\n        HTTP response code (default 200)\n  -content-type string\n        Content-Type (default \"text/plain\")\n  -header\n        HTTP response headers. Zero, one or more are accepted. Eg `-header \"Access-Control-Allow-Origin: *\" -header \"Access-Control-Allow-Methods: POST, GET, OPTIONS\"`\n```\n\n## As a Docker container\nTo install the latest (development) version:\n\n```\ndocker pull inkel/lruc:latest\n```\n\nThen run it as:\n\n```\ndocker run -P inkel/lruc:latest -code 200 -body \"Lorem ipsum dolor sit amet\"\n```\n\nBy default it will expose the port `8080`. If you use the `-addr` you will need to tell Docker to publish a different port, for example:\n\n```\ndocker run -p 1234:1234 inkel/lruc:latest -addr :1234\n```\n\n## License\nSee [LICENSE](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finkel%2Flruc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finkel%2Flruc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finkel%2Flruc/lists"}