{"id":49733015,"url":"https://github.com/autodruid/photon-parser","last_synced_at":"2026-05-17T06:04:51.706Z","repository":{"id":349688164,"uuid":"1203327650","full_name":"AutoDruid/photon-parser","owner":"AutoDruid","description":"Blazing fast photon parser protocol16","archived":false,"fork":false,"pushed_at":"2026-05-07T21:44:37.000Z","size":187,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-07T23:37:41.795Z","etag":null,"topics":["network","parser","photon","protocol16"],"latest_commit_sha":null,"homepage":"","language":"Go","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/AutoDruid.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-07T00:09:44.000Z","updated_at":"2026-04-23T04:38:04.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/AutoDruid/photon-parser","commit_stats":null,"previous_names":["michelprogram/photon-parser","autodruid/photon-parser"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/AutoDruid/photon-parser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AutoDruid%2Fphoton-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AutoDruid%2Fphoton-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AutoDruid%2Fphoton-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AutoDruid%2Fphoton-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AutoDruid","download_url":"https://codeload.github.com/AutoDruid/photon-parser/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AutoDruid%2Fphoton-parser/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32810382,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"online","status_checked_at":"2026-05-09T02:00:06.633Z","response_time":123,"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":["network","parser","photon","protocol16"],"created_at":"2026-05-09T07:04:41.385Z","updated_at":"2026-05-17T06:04:51.693Z","avatar_url":"https://github.com/AutoDruid.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# photon-parser\n\n## Download\n\n**As a Go dependency** (recommended when you only need the library in your module):\n\n```bash\ngo get github.com/AutoDruid/photon-parser@latest\n```\n\n**Clone the repository** (for contributing, running examples, or local development):\n\n```bash\ngit clone https://github.com/AutoDruid/photon-parser.git\ncd photon-parser\n```\n\n## Introduction\n\n**photon-parser** is a Go library that decodes Photon session envelopes and command payloads from raw bytes—useful for inspecting captures, learning how the wire format is structured, and building tools around Photon traffic. This project is **explanatory and educational**: it documents and parses protocol data for understanding; it does **not** endorse any particular use, and **maintainers are not responsible** for how you apply it (including compliance, game or service terms, or any risk you take when handling real traffic). The library supports **protocol version 16** and **protocol version 18** (distinct parameter layouts and reliable-header parameter counting). For more information look at the [documentation](https://autodruid.github.io/documentation/photon-parser/).\n\n## How it works\n\nParsing is **sequential**: an internal `Reader` holds the input buffer and a **cursor** that advances as fields are read—there is no upfront full decode into a giant tree. **Lazy access** shows up in how you read values after parse: scalars are read when you call accessor methods; **arrays, dictionaries, and other composite parameters** are exposed as Go `iter` sequences (or similar pull-based access) so underlying bytes are processed as you iterate, instead of allocating everything up front.\n\n## Local development\n\nThis repo pins Go and tooling in `.mise/config.toml`. With [mise](https://mise.jdx.dev/) installed:\n\n1. Clone the repository and `cd` into it.\n2. Run `mise install` in the project root so the pinned **Go** and **golangci-lint** versions are available.\n3. Use the defined tasks (run `mise tasks` to list them)\n\nFrom any subdirectory, mise resolves config upward; staying under the repo root ensures these tasks use the pinned toolchain.\n\n## Contributing\n\nContributions are welcome. **Open an issue** to describe a bug, a protocol gap, or a feature you have in mind so maintainers can discuss scope and approach. When you are ready to implement a fix or enhancement, **resolve it with a pull request** that references the issue and keeps the change focused and easy to review.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fautodruid%2Fphoton-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fautodruid%2Fphoton-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fautodruid%2Fphoton-parser/lists"}