{"id":16971774,"url":"https://github.com/juancarlospaco/harpoon","last_synced_at":"2025-03-21T20:16:48.427Z","repository":{"id":47199385,"uuid":"383229744","full_name":"juancarlospaco/harpoon","owner":"juancarlospaco","description":"HTTP Harpoon, HTTP Client","archived":false,"fork":false,"pushed_at":"2022-02-09T16:17:00.000Z","size":71,"stargazers_count":47,"open_issues_count":1,"forks_count":3,"subscribers_count":4,"default_branch":"nim","last_synced_at":"2025-01-26T14:48:41.166Z","etag":null,"topics":["async","high-performance","http","http-client","https","network","nim","nim-lang"],"latest_commit_sha":null,"homepage":"https://juancarlospaco.github.io/harpoon","language":"Nim","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/juancarlospaco.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"custom":["https://gist.github.com/juancarlospaco/37da34ed13a609663f55f4466c4dbc3e"]}},"created_at":"2021-07-05T18:18:44.000Z","updated_at":"2025-01-16T10:42:00.000Z","dependencies_parsed_at":"2022-09-04T13:21:38.350Z","dependency_job_id":null,"html_url":"https://github.com/juancarlospaco/harpoon","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/juancarlospaco%2Fharpoon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juancarlospaco%2Fharpoon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juancarlospaco%2Fharpoon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juancarlospaco%2Fharpoon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/juancarlospaco","download_url":"https://codeload.github.com/juancarlospaco/harpoon/tar.gz/refs/heads/nim","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244860611,"owners_count":20522466,"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":["async","high-performance","http","http-client","https","network","nim","nim-lang"],"created_at":"2024-10-14T00:54:33.078Z","updated_at":"2025-03-21T20:16:48.401Z","avatar_url":"https://github.com/juancarlospaco.png","language":"Nim","funding_links":["https://gist.github.com/juancarlospaco/37da34ed13a609663f55f4466c4dbc3e"],"categories":[],"sub_categories":[],"readme":"# HTTP Harpoon: Clandestine HTTP Client.\n\n- Same API as stdlib `HttpClient`.\n- 1 file, 0 dependencies, 300 lines, pure Nim.\n- No Curl nor LibCurl dependencies.\n- Async and sync client.\n- Works with ARC and ORC.\n- Works with `strictFuncs`.\n- Uses `Uri` type for URL.\n- Response has `isIpv6: bool` attribute.\n- `GET` and `POST` from JSON to JSON directly.\n- `downloadFile` that takes `openArray` of URLs.\n- HTTP Headers can be compile-time immutable `const`.\n- Proxy support, with Auth.\n- Timeout support for Async and Sync.\n- Option to skip parsing Headers or Status or Body, if you dont need them.\n- HTTP Methods use `HttpMethod` enum, not strings. Status code use `HttpCode` not integers.\n- No heavy objects, designed as a tiny `proc` attached to a vanilla `Socket`.\n- Share a `Socket` with multiple clients, reuse `Socket`.\n- Theres no open/close functions for the client, just call `get()` or `post()`.\n- Works with Threads, Tasks, and other Async implementations.\n- Uses very few symbols from stdlib, very future proof.\n- `runnableExamples` with `doAssert` for everything.\n- Documentation online.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuancarlospaco%2Fharpoon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjuancarlospaco%2Fharpoon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuancarlospaco%2Fharpoon/lists"}