{"id":18595111,"url":"https://github.com/bucanero/libtinytar","last_synced_at":"2025-05-05T16:42:09.353Z","repository":{"id":104983447,"uuid":"285634547","full_name":"bucanero/libtinytar","owner":"bucanero","description":"A library that provides .tar, .tar.gz, and .tar.bz2 archive creation and extraction to the PS3","archived":false,"fork":false,"pushed_at":"2022-01-24T16:31:21.000Z","size":101,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-30T22:25:33.910Z","etag":null,"topics":["bz2","bzip2","compression-library","extracts-contents","gzip","tar","untar"],"latest_commit_sha":null,"homepage":"http://www.bucanero.com.ar/","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/bucanero.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":"2020-08-06T17:46:12.000Z","updated_at":"2022-07-20T19:36:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"84a49991-87d2-4a81-a9dc-77bada2ed938","html_url":"https://github.com/bucanero/libtinytar","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bucanero%2Flibtinytar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bucanero%2Flibtinytar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bucanero%2Flibtinytar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bucanero%2Flibtinytar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bucanero","download_url":"https://codeload.github.com/bucanero/libtinytar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252535153,"owners_count":21763905,"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":["bz2","bzip2","compression-library","extracts-contents","gzip","tar","untar"],"created_at":"2024-11-07T01:18:24.111Z","updated_at":"2025-05-05T16:42:09.347Z","avatar_url":"https://github.com/bucanero.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tinytar library\n\nThis library provides `.tar`, `.tar.gz` (GZip), and `.tar.bz2` (BZip2) archive handling, creation, and extraction to the PlayStation 3 using the [PSL1GHT SDK](https://github.com/ps3dev/PSL1GHT/).\n\n## Features\n\n- Extract contents from `.tar`, `.tar.gz`, and `.tar.bz2` files\n- Create `.tar`, `.tar.gz`, and `.tar.bz2` archives\n\n### Source Version\n\n - libbzip2 [1.0.6](https://github.com/bucanero/psl1ght-libs/tree/master/bzip2)\n - based on [untar.c](https://github.com/libarchive/libarchive/blob/master/contrib/untar.c)\n - based on [tarball.cpp](https://github.com/lindenb/cclindenb/blob/master/src/core/lindenb/io/tarball.cpp)\n\n## Exports\n\n### `tar` Creation\n\n - tar(): creates a `.tar` uncompressed archive\n ```c\nint tar(const char* dstFile, const char* srcPath);\nint tarEx(const char* dstFile, const char* srcPath, tar_callback_t callback);\n ```\n - tar_gz(): creates a `.tar.gz` (GZip) compressed archive\n ```c\nint tar_gz(const char* dstFile, const char* srcPath);\nint tarEx_gz(const char* dstFile, const char* srcPath, tar_callback_t callback);\n ```\n - tar_bz2(): creates a `.tar.bz2` (BZip2) compressed archive\n ```c\nint tar_bz2(const char* dstFile, const char* srcPath);\nint tarEx_bz2(const char* dstFile, const char* srcPath, tar_callback_t callback);\n ```\n\n### `tar` Extraction\n\n - untar(): extracts contents from a `.tar` uncompressed archive\n ```c\nint untar(const char* srcFile, const char* dstPath);\nint untarEx(const char* srcFile, const char* dstPath, tar_callback_t callback);\n ```\n - untar_gz(): extracts contents from a `.tar.gz` (GZip) compressed archive\n ```c\nint untar_gz(const char* srcFile, const char* dstPath);\nint untarEx_gz(const char* srcFile, const char* dstPath, tar_callback_t callback);\n ```\n - untar_bz2(): extracts contents from a `.tar.bz2` (BZip2) compressed archive\n ```c\nint untar_bz2(const char* srcFile, const char* dstPath);\nint untarEx_bz2(const char* srcFile, const char* dstPath, tar_callback_t callback);\n ```\n\n## Build/Install\n\nBuild the library with: \n```\nmake\n```\n\nInstall the library to your PSL1GHT setup with:\n```\nmake install\n```\n\n## Documentation\n\n - [BZip2 manual](https://github.com/bucanero/psl1ght-libs/blob/master/bzip2/manual.pdf)\n\n## Sample app\n\nYou can find a sample PSL1GHT app using the library [here](./example).\n\n## License\n\n`libuntar` is released under the [MIT License](./LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbucanero%2Flibtinytar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbucanero%2Flibtinytar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbucanero%2Flibtinytar/lists"}