{"id":15705170,"url":"https://github.com/pat/gzipped_tar","last_synced_at":"2025-05-12T14:58:18.071Z","repository":{"id":56875631,"uuid":"112927195","full_name":"pat/gzipped_tar","owner":"pat","description":"In-memory reading/writing of .tar.gz files","archived":false,"fork":false,"pushed_at":"2020-04-08T10:39:38.000Z","size":36,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-24T23:02:06.461Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/pat.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-12-03T12:46:51.000Z","updated_at":"2022-09-01T09:13:09.000Z","dependencies_parsed_at":"2022-08-20T22:00:36.567Z","dependency_job_id":null,"html_url":"https://github.com/pat/gzipped_tar","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pat%2Fgzipped_tar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pat%2Fgzipped_tar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pat%2Fgzipped_tar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pat%2Fgzipped_tar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pat","download_url":"https://codeload.github.com/pat/gzipped_tar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232806971,"owners_count":18579339,"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":[],"created_at":"2024-10-03T20:14:54.885Z","updated_at":"2025-01-10T21:06:56.709Z","avatar_url":"https://github.com/pat.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GZipped Tar\n\nA simple interface for reading and writing gzipped tar files (.tar.gz) in memory, without needing for any files to be stored in the file system.\n\n## Installation\n\n```ruby\ngem \"gzipped_tar\", \"~\u003e 0.1.2\"\n```\n\n## Usage\n\nThis library lets you work with gzipped tar files directly. If you're reading, you don't need to extract all the files into the file system, and if you're writing, you can add content in without needing it to be persisted to the file system either.\n\n```ruby\n# Add a path and its content to a gzipped tar archive\nwriter = GZippedTar::Writer.new\nwriter.add \"file.txt\", \"hello world\"\n\n# Write that archive to disk:\nFile.write \"archive.tar.gz\", writer.output\n\n# Read in an existing archive:\nreader = GZippedTar::Reader.new File.read(\"archive.tar.gz\")\n# Or straight from a writer:\nreader = GZippedTar::Reader.new writer.output\n\n# And then get the contents of a path in that file:\nreader.read \"file.txt\" #=\u003e \"hello world\"\n```\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/pat/gzipped_tar. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n\n## Code of Conduct\n\nEveryone interacting in the GZipped Tar project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/pat/gzipped_tar/blob/master/CODE_OF_CONDUCT.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpat%2Fgzipped_tar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpat%2Fgzipped_tar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpat%2Fgzipped_tar/lists"}