{"id":20533568,"url":"https://github.com/joeychilson/osrscache","last_synced_at":"2025-07-23T00:03:52.577Z","repository":{"id":247077962,"uuid":"824961598","full_name":"joeychilson/osrscache","owner":"joeychilson","description":"A Go library for reading the Old School Runescape cache.","archived":false,"fork":false,"pushed_at":"2024-08-20T23:21:28.000Z","size":151,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-06T03:14:18.148Z","etag":null,"topics":["cache","go","jagex","osrs","runescape"],"latest_commit_sha":null,"homepage":"","language":"Go","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/joeychilson.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}},"created_at":"2024-07-06T12:07:47.000Z","updated_at":"2024-10-31T06:02:13.000Z","dependencies_parsed_at":"2024-08-08T03:12:05.178Z","dependency_job_id":"84b68fa9-0478-4e88-8c7b-145345741701","html_url":"https://github.com/joeychilson/osrscache","commit_stats":null,"previous_names":["joeychilson/osrscache"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/joeychilson/osrscache","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joeychilson%2Fosrscache","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joeychilson%2Fosrscache/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joeychilson%2Fosrscache/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joeychilson%2Fosrscache/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joeychilson","download_url":"https://codeload.github.com/joeychilson/osrscache/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joeychilson%2Fosrscache/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266592119,"owners_count":23953105,"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-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["cache","go","jagex","osrs","runescape"],"created_at":"2024-11-16T00:22:29.409Z","updated_at":"2025-07-23T00:03:52.521Z","avatar_url":"https://github.com/joeychilson.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# osrscache\n\nA Go library for reading the Old School Runescape cache.\n\nNote: This library is still under development.\n\n## Usage\n\n```go\npackage main\n\nimport (\n\t\"log\"\n\t\"time\"\n\n\t\"github.com/joeychilson/osrscache\"\n\t\"github.com/joeychilson/osrscache/openrs2\"\n)\n\nfunc main() {\n\tstartTime := time.Now()\n\n\tstore, err := openrs2.Open(\"./cache\")\n\tif err != nil {\n\t\tlog.Fatalf(\"opening store: %v\", err)\n\t}\n\n\tcache := osrscache.New(store)\n\n\titems, err := cache.Items()\n\tif err != nil {\n\t\tlog.Fatalf(\"getting items: %v\", err)\n\t}\n\tlog.Printf(\"loaded %d items\", len(items))\n\n\tnpcs, err := cache.NPCs()\n\tif err != nil {\n\t\tlog.Fatalf(\"getting npcs: %v\", err)\n\t}\n\tlog.Printf(\"loaded %d npcs\", len(npcs))\n\n\tobjs, err := cache.Objects()\n\tif err != nil {\n\t\tlog.Fatalf(\"getting objects: %v\", err)\n\t}\n\tlog.Printf(\"loaded %d objects\", len(objs))\n\n\tstructs, err := cache.Structs()\n\tif err != nil {\n\t\tlog.Fatalf(\"getting structs: %v\", err)\n\t}\n\tlog.Printf(\"loaded %d structs\", len(structs))\n\n\tenums, err := cache.Enums()\n\tif err != nil {\n\t\tlog.Fatalf(\"getting enums: %v\", err)\n\t}\n\tlog.Printf(\"loaded %d enums\", len(enums))\n\n\tsprites, err := cache.Sprites()\n\tif err != nil {\n\t\tlog.Fatalf(\"getting sprites: %v\", err)\n\t}\n\tlog.Printf(\"loaded %d sprites\", len(sprites))\n\n\ttextures, err := cache.Textures()\n\tif err != nil {\n\t\tlog.Fatalf(\"getting textures: %v\", err)\n\t}\n\tlog.Printf(\"loaded %d textures\", len(textures))\n\n\tlog.Printf(\"took: %v\", time.Since(startTime))\n}\n```\n\n## Acknowledgements\n\n- [runelite](https://github.com/runelite/runelite)\n- [osrs-wiki](https://github.com/osrs-wiki/cache-mediawiki)\n- [openrs2](https://github.com/openrs2/openrs2)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoeychilson%2Fosrscache","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoeychilson%2Fosrscache","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoeychilson%2Fosrscache/lists"}