{"id":13436693,"url":"https://github.com/ajax16384/ngx_http_untar_module","last_synced_at":"2026-02-21T17:04:26.484Z","repository":{"id":65586353,"uuid":"173445454","full_name":"ajax16384/ngx_http_untar_module","owner":"ajax16384","description":"Nginx HTTP Untar Module","archived":false,"fork":false,"pushed_at":"2026-02-05T07:03:02.000Z","size":18,"stargazers_count":12,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-05T19:27:34.608Z","etag":null,"topics":[],"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/ajax16384.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}},"created_at":"2019-03-02T12:30:09.000Z","updated_at":"2026-02-05T07:03:07.000Z","dependencies_parsed_at":"2023-01-30T18:15:26.023Z","dependency_job_id":null,"html_url":"https://github.com/ajax16384/ngx_http_untar_module","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/ajax16384/ngx_http_untar_module","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajax16384%2Fngx_http_untar_module","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajax16384%2Fngx_http_untar_module/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajax16384%2Fngx_http_untar_module/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajax16384%2Fngx_http_untar_module/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ajax16384","download_url":"https://codeload.github.com/ajax16384/ngx_http_untar_module/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajax16384%2Fngx_http_untar_module/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29688218,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T15:51:39.154Z","status":"ssl_error","status_checked_at":"2026-02-21T15:49:03.425Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-07-31T03:00:51.336Z","updated_at":"2026-02-21T17:04:26.479Z","avatar_url":"https://github.com/ajax16384.png","language":"C","funding_links":[],"categories":["C","Streaming, media and image processing"],"sub_categories":[],"readme":"# Nginx HTTP Untar module\r\nThis [nginx](https://nginx.org/) module can serve static file content directly from tar archives.\r\nInspired by [nginx-unzip-module](https://github.com/youzee/nginx-unzip-module).\r\n\r\n## Pre-built Packages (Ubuntu / Debian)\r\n\r\nPre-built packages for this module are freely available from the GetPageSpeed repository.\r\n\r\n\u003e **Note:** GetPageSpeed is a third-party repository and is not affiliated with the author of this module.\r\n\r\n```bash\r\n# Install the repository keyring\r\nsudo install -d -m 0755 /etc/apt/keyrings\r\ncurl -fsSL https://extras.getpagespeed.com/deb-archive-keyring.gpg \\\r\n  | sudo tee /etc/apt/keyrings/getpagespeed.gpg \u003e/dev/null\r\n\r\n# Add the repository (Ubuntu example - replace 'ubuntu' and 'jammy' for your distro)\r\necho \"deb [signed-by=/etc/apt/keyrings/getpagespeed.gpg] https://extras.getpagespeed.com/ubuntu jammy main\" \\\r\n  | sudo tee /etc/apt/sources.list.d/getpagespeed-extras.list\r\n\r\n# Install nginx and the module\r\nsudo apt-get update\r\nsudo apt-get install nginx nginx-module-untar\r\n```\r\n\r\nThe module is automatically enabled after installation. Supported distributions include Debian 12/13 and Ubuntu 20.04/22.04/24.04 (both amd64 and arm64). See [the complete setup instructions](https://apt-nginx-extras.getpagespeed.com/apt-setup/).\r\n\r\n## Features\r\n* Zero-copy: outputs content directly from archive file (no temporary files)\r\n* Caching parsed archive file entries: reduce archive scan-search time\r\n* Supported tar item types: normal file, long file name data\r\n\r\n## Configuration example\r\n```nginx\r\n  location ~ ^/(.+?\\.tar)/(.*)$ {\r\n      untar_archive \"$document_root/$1\";\r\n      untar_file \"$2\";\r\n      untar;\r\n  }\r\n```\r\n## Module directives\r\n***\r\n**untar_archive** `string`\r\n\r\n**context:** `http, server, location`\r\n\r\nSpecifies tar archive name.\r\n***\r\n**untar_file** `string`\r\n\r\n**context:** `http, server, location`\r\n\r\nSpecifies file to be extracted from **untar_archive**.\r\n***\r\n**untar**\r\n\r\n**context:** `location`\r\n\r\nInvokes untar of **untar_file** from **untar_archive**\r\n***\r\n## Known limitations\r\n* only GET,HEAD verbs supported\r\n* no archive entries listing\r\n* base tar format support (only normal files: no symlink, sparse e.t.c)\r\n\r\n## TODO\r\n* Limit cache archive descriptors, free expired archive descriptors\r\n* GNU extension modification time format\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fajax16384%2Fngx_http_untar_module","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fajax16384%2Fngx_http_untar_module","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fajax16384%2Fngx_http_untar_module/lists"}