{"id":21917345,"url":"https://github.com/blukai/vdf","last_synced_at":"2026-05-17T06:42:24.352Z","repository":{"id":98221019,"uuid":"98656878","full_name":"blukai/vdf","owner":"blukai","description":"📃 Package for working with Valve Data Format (key value)","archived":false,"fork":false,"pushed_at":"2017-07-28T20:10:41.000Z","size":4,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-04T12:07:13.659Z","etag":null,"topics":["key-value","lexer","parser","steam","valve","vdf"],"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/blukai.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}},"created_at":"2017-07-28T14:22:10.000Z","updated_at":"2019-05-17T16:21:11.000Z","dependencies_parsed_at":"2023-05-18T17:15:54.868Z","dependency_job_id":null,"html_url":"https://github.com/blukai/vdf","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/blukai/vdf","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blukai%2Fvdf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blukai%2Fvdf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blukai%2Fvdf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blukai%2Fvdf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blukai","download_url":"https://codeload.github.com/blukai/vdf/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blukai%2Fvdf/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279010335,"owners_count":26084738,"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","status":"online","status_checked_at":"2025-10-12T02:00:06.719Z","response_time":53,"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":["key-value","lexer","parser","steam","valve","vdf"],"created_at":"2024-11-28T19:30:21.182Z","updated_at":"2025-10-12T05:50:29.439Z","avatar_url":"https://github.com/blukai.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Valve Data Format\nPackage for working with [Valve Data Format](https://developer.valvesoftware.com/wiki/KeyValues) writen in Go. Lexer based on Rob Pike's [talk](https://youtu.be/HxaD_trXwRE).\n\n###### I found some already existed parsers written in Go, but I did not like them and I decided to write my own.\n\n## Start using it\n1. Download and install it:\n```go\ngo get github.com/blukai/vdf\n```\n2. Import it in your code:\n```go\nimport \"github.com/blukai/vdf\"\n```\n3. Parse VDF file:\n```go\ndat, err := ioutil.ReadFile(\"./vdfFile.txt\")\nif err != nil {\n\tlog.Fatal(err)\n}\nm := vdf.Parse(string(dat))\n```\n...and u can easily convert it's to json by adding:\n```go\njsonized, err := json.MarshalIndent(m, \"\", \"  \")\nif err != nil {\n\tlog.Fatal(err)\n}\n\nerr = ioutil.WriteFile(\"./jsonFile.json\", jsonized, 0644)\nif err != nil {\n\tlog.Fatal(err)\n}\n```\n\n---\n\nIf you found a bug, pr's are welcome, otherwise open an issue.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblukai%2Fvdf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblukai%2Fvdf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblukai%2Fvdf/lists"}