{"id":16987371,"url":"https://github.com/frabert/sharpphysfs","last_synced_at":"2025-10-11T19:11:03.097Z","repository":{"id":75081898,"uuid":"50462092","full_name":"frabert/SharpPhysFS","owner":"frabert","description":"Managed wrapper for the PhysFS library","archived":false,"fork":false,"pushed_at":"2017-08-15T11:38:00.000Z","size":85,"stargazers_count":21,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-08-28T17:30:05.068Z","etag":null,"topics":["csharp","dotnet","filesystem","physfs","physfs-library","wrapper"],"latest_commit_sha":null,"homepage":null,"language":"C#","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/frabert.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","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}},"created_at":"2016-01-26T21:54:17.000Z","updated_at":"2025-04-03T03:10:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"6e4518ca-33ee-4e32-ba1b-12c36d10004d","html_url":"https://github.com/frabert/SharpPhysFS","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/frabert/SharpPhysFS","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frabert%2FSharpPhysFS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frabert%2FSharpPhysFS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frabert%2FSharpPhysFS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frabert%2FSharpPhysFS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/frabert","download_url":"https://codeload.github.com/frabert/SharpPhysFS/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frabert%2FSharpPhysFS/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279008443,"owners_count":26084459,"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-11T02:00:06.511Z","response_time":55,"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":["csharp","dotnet","filesystem","physfs","physfs-library","wrapper"],"created_at":"2024-10-14T02:49:17.610Z","updated_at":"2025-10-11T19:11:03.092Z","avatar_url":"https://github.com/frabert.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SharpPhysFS\n## PhysicsFS wrapper for .NET\n\nThis library is a wrapper around the [PhysFS library](https://icculus.org/physfs/) designed\nto work with .NET languages. As such, it employs standard .NET behaviors such as *Exceptions*\nand *IEnumerable*s to represent native objects. It also provides a *Stream* subclass for easy use of the APIs.\n\nThe documentation for the methods is copied from the original doxygen and only slightly adapted.\n\n## Platform support\n\nThe library is designed to work regardless of the underlying OS, so it should run on Windows, Linux\nand OSX equally well. I haven't tested the OSX port though, and I only superficially tried it on Linux.\n\nIf anyone feels so inclined, he/she could contribute by testing it and reporting the results. This would\nbe greatly appreciated.\n\n## Installation\n\nYou can use this library by compiling it as described in the [wiki](https://github.com/frabert/SharpPhysFS/wiki)\nor by adding it as a reference using NuGet:\n\n    Install-Package SharpPhysFS\n\nYou should also include compiled shared library of physfs alongside your binary files to be loaded.\n\n## Usage\n\n````c#\nusing(var pfs = new PhysFS(\"\")) // This ensures correct initialization and deinitialization\nusing(var reader = new StreamReader(pfs.OpenRead(\"/helloworld.txt\")))\n{\n  var contents = reader.ReadToEnd();\n}\n````","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrabert%2Fsharpphysfs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrabert%2Fsharpphysfs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrabert%2Fsharpphysfs/lists"}