{"id":29022037,"url":"https://github.com/nixzhu/flash","last_synced_at":"2025-06-26T02:37:37.879Z","repository":{"id":301117745,"uuid":"1008206218","full_name":"nixzhu/Flash","owner":"nixzhu","description":"A modern, Swift-native HTTP client library with middleware support and built-in retry mechanisms.","archived":false,"fork":false,"pushed_at":"2025-06-25T07:50:54.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-25T08:42:07.096Z","etag":null,"topics":["http","middleware","retry-policy","swift"],"latest_commit_sha":null,"homepage":"","language":"Swift","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/nixzhu.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,"zenodo":null}},"created_at":"2025-06-25T07:32:22.000Z","updated_at":"2025-06-25T07:50:45.000Z","dependencies_parsed_at":"2025-06-25T08:52:56.374Z","dependency_job_id":null,"html_url":"https://github.com/nixzhu/Flash","commit_stats":null,"previous_names":["nixzhu/flash"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/nixzhu/Flash","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nixzhu%2FFlash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nixzhu%2FFlash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nixzhu%2FFlash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nixzhu%2FFlash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nixzhu","download_url":"https://codeload.github.com/nixzhu/Flash/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nixzhu%2FFlash/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261988002,"owners_count":23240948,"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":["http","middleware","retry-policy","swift"],"created_at":"2025-06-26T02:37:35.419Z","updated_at":"2025-06-26T02:37:37.865Z","avatar_url":"https://github.com/nixzhu.png","language":"Swift","readme":"[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fnixzhu%2FFlash%2Fbadge%3Ftype%3Dswift-versions)](https://swiftpackageindex.com/nixzhu/Flash)\n[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fnixzhu%2FFlash%2Fbadge%3Ftype%3Dplatforms)](https://swiftpackageindex.com/nixzhu/Flash)\n\n# Flash\n\nA modern, Swift-native HTTP client library with middleware support and built-in retry mechanisms. Flash provides a clean, async/await-based API for making HTTP requests with powerful customization options.\n\n## Features\n\n- 🚀 **Modern Swift**: Built with async/await and `Sendable` support\n- 🔧 **Middleware System**: Intercept and modify requests/responses with custom middleware\n- 🔄 **Retry Policies**: Built-in support for fixed delay and exponential backoff retry strategies\n- 📝 **Type-Safe**: Strongly-typed request builders with compile-time safety\n- 🎯 **Lightweight**: Minimal dependencies, built on top of `URLSession`\n- 🔍 **Flexible**: Support for GET, POST, PUT, PATCH and DELETE requests with JSON body handling\n\n## Installation\n\n### Swift Package Manager\n\nThe [Swift Package Manager](https://swift.org/package-manager/) is a tool for automating the distribution of Swift code and is integrated into the `swift`compiler.\n\nOnce your Swift package is set up, add Flash as a dependency to the `dependencies` value in your `Package.swift` file or to the package list in Xcode.\n\n```swift\ndependencies: [\n    .package(url: \"https://github.com/nixzhu/Flash.git\", from: \"0.3.0\"),\n]\n```\n\nTypically, you will want to depend on the `Flash` target:\n\n```swift\n.product(name: \"Flash\", package: \"Flash\")\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnixzhu%2Fflash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnixzhu%2Fflash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnixzhu%2Fflash/lists"}