{"id":51018102,"url":"https://github.com/techouse/qs-swift-vapor","last_synced_at":"2026-06-21T13:30:53.478Z","repository":{"id":365568836,"uuid":"1271915363","full_name":"techouse/qs-swift-vapor","owner":"techouse","description":"Small Vapor integration for QsSwift","archived":false,"fork":false,"pushed_at":"2026-06-17T23:56:07.000Z","size":344,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-18T00:10:57.836Z","etag":null,"topics":["linux","macos","qs","querystring","swift","swiftpm","url-parsing","url-query","vapor"],"latest_commit_sha":null,"homepage":"https://techouse.github.io/qs-swift-vapor/","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/techouse.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"techouse","custom":["https://paypal.me/ktusar"]}},"created_at":"2026-06-17T05:56:45.000Z","updated_at":"2026-06-17T23:56:10.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/techouse/qs-swift-vapor","commit_stats":null,"previous_names":["techouse/qs-swift-vapor"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/techouse/qs-swift-vapor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techouse%2Fqs-swift-vapor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techouse%2Fqs-swift-vapor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techouse%2Fqs-swift-vapor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techouse%2Fqs-swift-vapor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/techouse","download_url":"https://codeload.github.com/techouse/qs-swift-vapor/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techouse%2Fqs-swift-vapor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34534278,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-19T02:00:06.005Z","response_time":61,"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":["linux","macos","qs","querystring","swift","swiftpm","url-parsing","url-query","vapor"],"created_at":"2026-06-21T13:30:52.482Z","updated_at":"2026-06-21T13:30:53.465Z","avatar_url":"https://github.com/techouse.png","language":"Swift","funding_links":["https://github.com/sponsors/techouse","https://paypal.me/ktusar"],"categories":[],"sub_categories":[],"readme":"# QsSwiftVapor\n\nSmall Vapor integration for [QsSwift](https://github.com/techouse/qs-swift).\n\n[![SwiftPM version](https://img.shields.io/github/v/release/techouse/qs-swift-vapor?logo=swift\u0026label=SwiftPM)](https://github.com/techouse/qs-swift-vapor/releases/latest)\n[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Ftechouse%2Fqs-swift-vapor%2Fbadge%3Ftype%3Dswift-versions)](https://swiftpackageindex.com/techouse/qs-swift-vapor)\n[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Ftechouse%2Fqs-swift-vapor%2Fbadge%3Ftype%3Dplatforms)](https://swiftpackageindex.com/techouse/qs-swift-vapor)\n[![License](https://img.shields.io/github/license/techouse/qs-swift-vapor)](LICENSE)\n[![Test](https://github.com/techouse/qs-swift-vapor/actions/workflows/test.yml/badge.svg)](https://github.com/techouse/qs-swift-vapor/actions/workflows/test.yml)\n[![codecov](https://codecov.io/gh/techouse/qs-swift-vapor/graph/badge.svg?token=kTTCSYGcej)](https://codecov.io/gh/techouse/qs-swift-vapor)\n[![Codacy Badge](https://app.codacy.com/project/badge/Grade/54ba6b2d7f724636904088e7e74ec53a)](https://app.codacy.com/gh/techouse/qs-swift-vapor/dashboard?utm_source=gh\u0026utm_medium=referral\u0026utm_content=\u0026utm_campaign=Badge_grade)\n[![GitHub Sponsors](https://img.shields.io/github/sponsors/techouse)](https://github.com/sponsors/techouse)\n[![GitHub Repo stars](https://img.shields.io/github/stars/techouse/qs-swift)](https://github.com/techouse/qs-swift-vapor/stargazers)\n\n`QsSwiftVapor` adds one request helper that parses the request's encoded query string with QsSwift, bypassing Vapor's\ntyped query container when you need qs-compatible nested query-string behavior.\n\n## Installation\n\nAdd the package to your SwiftPM dependencies:\n\n```swift\n.package(url: \"https://github.com/techouse/QsSwiftVapor.git\", from: \"1.0.0\")\n```\n\nThen add the product to your Vapor target:\n\n```swift\n.product(name: \"QsSwiftVapor\", package: \"QsSwiftVapor\")\n```\n\n## Usage\n\n```swift\nimport QsSwift\nimport QsSwiftVapor\nimport Vapor\n\napp.get(\"search\") { req async throws -\u003e [String: String] in\n    let query = try req.parseQsQuery(\n        options: DecodeOptions(strictNullHandling: true)\n    )\n\n    return [\n        \"parsed\": String(describing: query),\n    ]\n}\n```\n\n`parseQsQuery(options:)` reads `req.url.query` and passes it directly to `Qs.decode`. It does not use `req.query`, so\nVapor's form decoder does not collapse duplicate keys, reinterpret name-only parameters as boolean flags, or apply\nVapor-specific typed decoding behavior.\n\n## Non-goals\n\n- No typed `Decodable` query helper.\n- No middleware or global query decoder configuration.\n- No Vapor `URI` query-building helper.\n\nUse QsSwift's Foundation `URLComponents` and `URL` helpers for URL construction.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechouse%2Fqs-swift-vapor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechouse%2Fqs-swift-vapor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechouse%2Fqs-swift-vapor/lists"}