{"id":21262876,"url":"https://github.com/stackql/psql-wire","last_synced_at":"2025-07-11T04:31:21.186Z","repository":{"id":40693618,"uuid":"469681593","full_name":"stackql/psql-wire","owner":"stackql","description":"PostgreSQL server wire protocol. Build your own server and start serving connections.","archived":false,"fork":false,"pushed_at":"2024-01-10T10:48:23.000Z","size":127,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-05-01T11:44:47.638Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"jeroenrinzema/psql-wire","license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stackql.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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}},"created_at":"2022-03-14T10:21:01.000Z","updated_at":"2024-01-02T06:49:49.000Z","dependencies_parsed_at":"2024-01-10T04:48:45.301Z","dependency_job_id":"149ab6fb-5874-432e-86ed-f8f3fd336fb7","html_url":"https://github.com/stackql/psql-wire","commit_stats":null,"previous_names":[],"tags_count":38,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackql%2Fpsql-wire","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackql%2Fpsql-wire/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackql%2Fpsql-wire/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackql%2Fpsql-wire/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stackql","download_url":"https://codeload.github.com/stackql/psql-wire/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225674895,"owners_count":17506272,"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":[],"created_at":"2024-11-21T04:59:36.367Z","updated_at":"2025-07-11T04:31:21.181Z","avatar_url":"https://github.com/stackql.png","language":"Go","readme":"# PSQL wire protocol 🔌\n\n**Note**: this work is a fork of [jeroenrinzema/psql-wire](https://github.com/jeroenrinzema/psql-wire).\n\nA pure Go [PostgreSQL](https://www.postgresql.org/) server wire protocol implementation.\nBuild your own PostgreSQL server with 15 lines of code.\nThis project attempts to make it as straightforward as possible to set-up and configure your own PSQL server.\nFeel free to check out the [examples](https://github.com/stackql/psql-wire/tree/main/examples) directory for various ways on how to configure/set-up your own server.\n\n\u003e 🚧 This project does not include a PSQL parser. Please check out other projects such as [auxten/postgresql-parser](https://github.com/auxten/postgresql-parser) to parse PSQL SQL queries.\n\n```go\npackage main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\twire \"github.com/stackql/psql-wire\"\n)\n\nfunc main() {\n\twire.ListenAndServe(\"127.0.0.1:5432\", func(ctx context.Context, query string, writer wire.DataWriter) error {\n\t\tfmt.Println(query)\n\t\treturn writer.Complete(\"\", \"OK\")\n\t})\n}\n```\n\n---\n\n## Contributing\n\nThank you for your interest in contributing to psql-wire!\nCheck out the open projects and/or issues and feel free to join any ongoing discussion.\n\nEveryone is welcome to contribute, whether it's in the form of code, documentation, bug reports, feature requests, or anything else. We encourage you to experiment with the project and make contributions to help evolve it to meet your needs!\n\nSee the [contributing guide](https://github.com/stackql/psql-wire/blob/main/CONTRIBUTING.md) for more details.\n\n\n## Acknowledgements\n\nWe sincerely and gratefully acknowledge:\n\n- All involved with [the original fork](https://github.com/jeroenrinzema/psql-wire).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackql%2Fpsql-wire","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstackql%2Fpsql-wire","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackql%2Fpsql-wire/lists"}