{"id":22010592,"url":"https://github.com/airkro/nginx-simple-index","last_synced_at":"2025-10-11T03:30:28.081Z","repository":{"id":92791917,"uuid":"468949726","full_name":"Airkro/nginx-simple-index","owner":"Airkro","description":"XSLT template for Nginx AutoIndex Pages","archived":false,"fork":false,"pushed_at":"2024-01-17T05:16:19.000Z","size":10,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-30T02:13:34.536Z","etag":null,"topics":["autoindex","nginx","xslt","xslt-stylesheet"],"latest_commit_sha":null,"homepage":"","language":"XSLT","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Airkro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2022-03-12T01:36:08.000Z","updated_at":"2024-03-18T10:01:31.000Z","dependencies_parsed_at":"2023-03-20T02:05:24.011Z","dependency_job_id":null,"html_url":"https://github.com/Airkro/nginx-simple-index","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/Airkro%2Fnginx-simple-index","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Airkro%2Fnginx-simple-index/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Airkro%2Fnginx-simple-index/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Airkro%2Fnginx-simple-index/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Airkro","download_url":"https://codeload.github.com/Airkro/nginx-simple-index/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":236029093,"owners_count":19083729,"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":["autoindex","nginx","xslt","xslt-stylesheet"],"created_at":"2024-11-30T02:13:38.190Z","updated_at":"2025-10-11T03:30:22.784Z","avatar_url":"https://github.com/Airkro.png","language":"XSLT","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nginx-simple-index\n\n![sample](./sample.png)\n\nXSLT template for Nginx AutoIndex Pages\n\n## Usage\n\n```conf\n# nginx.conf\n\nload_module modules/ngx_http_xslt_filter_module.so;\n\nserver {\n  location / {\n    root /mnt;\n\n    autoindex on;\n    autoindex_format xml;\n\n    xslt_stylesheet /path/to/template.xslt;\n    xslt_string_param path $uri;\n  }\n\n  # or\n\n  location /abc/ {\n    autoindex on;\n    autoindex_format xml;\n\n    xslt_stylesheet /path/to/template.xslt;\n    xslt_string_param path $uri;\n    xslt_string_param root /abc/; # same as location\n  }\n}\n```\n\n## Features\n\n- Dark mode\n- BreadCumbs\n- i18n support\n\n## i18n support\n\nParameter lang:\n\n- default: 'en-us'\n- enum: ['zh-cn', 'en-us']\n\nYou can add more languages on 'template.xslt'.\n\n```conf\n# nginx.conf\n\nserver {\n  location / {\n    ...\n    xslt_string_param lang 'zh-cn';\n  }\n}\n```\n\n## Todos\n\n- Mobile friendly\n- Remove all Javascript\n- Symbol link support\n\n## Credits\n\nThis work is based upon:\n\n- [dirlist.xslt](https://gist.github.com/wilhelmy/5a59b8eea26974a468c9) by [Moritz Wilhelmy](https://github.com/wilhelmy)\n- [abdus/nginx-pretty-index](https://github.com/abdus/nginx-pretty-index)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fairkro%2Fnginx-simple-index","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fairkro%2Fnginx-simple-index","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fairkro%2Fnginx-simple-index/lists"}