{"id":16254574,"url":"https://github.com/tim-smart/effect-http","last_synced_at":"2025-09-11T05:31:22.957Z","repository":{"id":65785941,"uuid":"588403229","full_name":"tim-smart/effect-http","owner":"tim-smart","description":"A HTTP toolkit for Effect-ts","archived":false,"fork":false,"pushed_at":"2023-08-04T04:38:02.000Z","size":778,"stargazers_count":33,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-03T06:51:08.386Z","etag":null,"topics":["effect-ts","http-client","http-server"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/tim-smart.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}},"created_at":"2023-01-13T03:00:58.000Z","updated_at":"2024-10-23T11:07:43.000Z","dependencies_parsed_at":"2024-10-27T21:33:00.522Z","dependency_job_id":"625d42a2-1102-411a-98b2-bd3557af1c4e","html_url":"https://github.com/tim-smart/effect-http","commit_stats":null,"previous_names":[],"tags_count":46,"template":false,"template_full_name":null,"purl":"pkg:github/tim-smart/effect-http","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tim-smart%2Feffect-http","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tim-smart%2Feffect-http/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tim-smart%2Feffect-http/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tim-smart%2Feffect-http/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tim-smart","download_url":"https://codeload.github.com/tim-smart/effect-http/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tim-smart%2Feffect-http/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274583086,"owners_count":25311738,"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-09-11T02:00:13.660Z","response_time":74,"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":["effect-ts","http-client","http-server"],"created_at":"2024-10-10T15:22:58.216Z","updated_at":"2025-09-11T05:31:22.487Z","avatar_url":"https://github.com/tim-smart.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# effect-http\n\nA runtime agnostic http library for effect-ts\n\n## node.js example\n\n```ts\nimport * as Http from \"@effect-http/core\"\nimport * as HttpNode from \"@effect-http/node\"\nimport { Effect, pipe } from \"effect\"\nimport { createServer } from \"node:http\"\n\nconst app = pipe(\n  Http.router\n    .route(\"GET\", \"/\", Effect.succeed(Http.response.text(\"Hello world!\")))\n    .toHttpApp(),\n\n  Http.httpApp.catchTag(\"RouteNotFound\", () =\u003e\n    Effect.succeed(response.text(\"Not found\", { status: 404 })),\n  ),\n)\n\npipe(\n  app,\n  HttpNode.serve(() =\u003e createServer(), { port: 3000 }),\n  Effect.runFork,\n)\n```\n\n## bun example\n\n```ts\nimport * as Http from \"@effect-http/core\"\nimport * as HttpBun from \"@effect-http/bun\"\nimport { Effect, pipe } from \"effect\"\n\nconst app = pipe(\n  Http.router\n    .route(\"GET\", \"/\", Effect.succeed(Http.response.text(\"Hello world!\")))\n    .toHttpApp(),\n\n  Http.httpApp.catchTag(\"RouteNotFound\", () =\u003e\n    Effect.succeed(Http.response.text(\"Not found\", { status: 404 })),\n  ),\n)\n\npipe(app, HttpBun.serve({ port: 3000 }), Effect.runFork)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftim-smart%2Feffect-http","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftim-smart%2Feffect-http","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftim-smart%2Feffect-http/lists"}