{"id":37426934,"url":"https://github.com/err0r500/go-idem-proxy","last_synced_at":"2026-01-16T06:19:42.355Z","repository":{"id":57534236,"uuid":"242399859","full_name":"err0r500/go-idem-proxy","owner":"err0r500","description":"a dead simple HTTP proxy bringing idempotency to POST requests","archived":false,"fork":false,"pushed_at":"2020-03-03T16:04:34.000Z","size":43,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-06-20T15:51:44.593Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/err0r500.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}},"created_at":"2020-02-22T19:32:10.000Z","updated_at":"2020-03-03T16:04:36.000Z","dependencies_parsed_at":"2022-09-26T18:21:30.988Z","dependency_job_id":null,"html_url":"https://github.com/err0r500/go-idem-proxy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/err0r500/go-idem-proxy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/err0r500%2Fgo-idem-proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/err0r500%2Fgo-idem-proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/err0r500%2Fgo-idem-proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/err0r500%2Fgo-idem-proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/err0r500","download_url":"https://codeload.github.com/err0r500/go-idem-proxy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/err0r500%2Fgo-idem-proxy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28477635,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T03:13:13.607Z","status":"ssl_error","status_checked_at":"2026-01-16T03:11:47.863Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-16T06:19:41.745Z","updated_at":"2026-01-16T06:19:42.341Z","avatar_url":"https://github.com/err0r500.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Go Idem Proxy\n\nan HTTP proxy to get idempotency on POST requests\n\nRun\n```\ngo-idem-proxy --redis-url=redis:6379 --target-url=http://localhost:3000\n```\n\n- The proxy will expect an `X-idem-token` header (can be overriden with `IDEM_TOKEN=myHeader` env var) on every POST request\n\nif it's not present :\n- it will reject the request with a 400\n- Otherwise, it will check if there's something at the key=\u003cvalue_of_the_header\u003e (in the Redis database)\n\nIf there's something:\n- it will return the cached response without forwarding the request\n- Otherwise, it will forward the request and store the response for later use.\n\nNB : the default `TTL` is set at 60 seconds, you can override that with `CACHE_TTL` env var\n\n## Run Unit tests\n```\ngo test ./...\n```\n\n## Run Integration \u0026 Unit tests\n```\ngo test ./... -tags=integration\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferr0r500%2Fgo-idem-proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ferr0r500%2Fgo-idem-proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferr0r500%2Fgo-idem-proxy/lists"}