{"id":29623787,"url":"https://github.com/mikemitterer/nginx-multi-theme","last_synced_at":"2026-02-07T14:02:30.298Z","repository":{"id":43083693,"uuid":"511029230","full_name":"MikeMitterer/nginx-multi-theme","owner":"MikeMitterer","description":null,"archived":false,"fork":false,"pushed_at":"2022-07-06T09:00:25.000Z","size":721,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-16T06:44:37.466Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"SCSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MikeMitterer.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":"2022-07-06T07:12:45.000Z","updated_at":"2023-04-26T13:30:12.000Z","dependencies_parsed_at":"2022-09-19T17:44:54.558Z","dependency_job_id":null,"html_url":"https://github.com/MikeMitterer/nginx-multi-theme","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MikeMitterer/nginx-multi-theme","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MikeMitterer%2Fnginx-multi-theme","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MikeMitterer%2Fnginx-multi-theme/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MikeMitterer%2Fnginx-multi-theme/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MikeMitterer%2Fnginx-multi-theme/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MikeMitterer","download_url":"https://codeload.github.com/MikeMitterer/nginx-multi-theme/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MikeMitterer%2Fnginx-multi-theme/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266242072,"owners_count":23898102,"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":"2025-07-21T05:07:59.587Z","updated_at":"2026-02-07T14:02:28.645Z","avatar_url":"https://github.com/MikeMitterer.png","language":"SCSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Multi-Theme for nginx's fancyindex module\n\n![](doc/screenshot1.png)\n\n![](doc/screenshot2.png)\n\n\n## About\n\nThe [fancyindex module](https://github.com/aperezdc/ngx-fancyindex) of\n[nginx](http://nginx.org/) has the powerful capability to be customizable.\nInstead of using an external application, this gives us the ability to use\njust the webserver's capabilities to generate beautiful directory listings.\n\nThis theme provides a simple, flat interface based on\n[Bootstrap 4](https://getbootstrap.com), [Font Awesome](https://fontawesome.com)\nand (for easy navigation in galleries)\n[lightbox2](http://lokeshdhakar.com/projects/lightbox2/). In combination with\nthe browser's preview capability, accessing the majority of files should be\npossible, giving the user easy access without a single line of server-side\ndynamic code.\n\n\n## Usage\n\n1. Install `sassc` (`sudo apt-get install -y sassc` ) and `uglifyjs`  \n   (`sudo npm -g install uglify-js`) \n\n2. Install the FancyIndex-Module: \u003chttps://www.howtoinstall.me/ubuntu/18-04/libnginx-mod-http-fancyindex/\u003e\n\n3. Clone this repo: `git clone https://github.com/MikeMitterer/nginx-multi-theme`  \n\n4. cd into nginx-multi-theme\n \n   1. Configure your vhost to use the theme's resources for fancyindex:\n       ```       \n       location / {\n           # First attempt to serve request as file, then\n           # as directory, then fall back to displaying a 404.\n           try_files $uri $uri/ =404;\n\n           # autoindex on;\n           # autoindex_exact_size off;\n           # autoindex_format html;\n           # autoindex_localtime on;\n\n           # Fancyindex\n           fancyindex on;              # Enable fancy indexes.\n           fancyindex_exact_size off;  # Output human-readable file sizes.\n\n           fancyindex_header /.theme/header.html;\n           fancyindex_footer /.theme/footer.html;\n           fancyindex_css_href /.theme/style.css;\n\n           fancyindex_show_path   off;\n           fancyindex_name_length 255;\n           fancyindex_exact_size  off;\n           fancyindex_localtime   on;\n      \n           # fancyindex_time_format \"%B %e, %Y\";\n\n           location /.theme { \n               # After switching from theme1 to theme2 you have to 'nginx -s reload'\n               # to active your new theme\n               alias /var/jenkins/workspace/Documentation/NGINX-Theme/.themes/theme1;\n           }   \n       }\n       ```\n\n\n\n## Honor\nSpecial Thanks to 'Alexander Haase'. His Theme \u003chttps://github.com/alehaa/nginx-fancyindex-flat-theme\u003e\nheavily inspired me to make this theme!\n\n## License\n\nThe nginx-multi-theme is free software: you can redistribute it and/or\nmodify it under the terms of the GNU General Public License as published by the\nFree Software Foundation, either version 3 of the License, or (at your option)\nany later version.\n\nThis software is distributed in the hope that it will be useful, but **WITHOUT\nANY WARRANTY**; without even the implied warranty of **MERCHANTABILITY** or\n**FITNESS FOR A PARTICULAR PURPOSE**. A Copy of the GNU General Public License\ncan be found in the [LICENSE](LICENSE) file.\n\n\u0026copy; 2022 Mike Mitterer\n\n## MangoLila\nMy compay - [MangoLila](http://www.MangoLila.at/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikemitterer%2Fnginx-multi-theme","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmikemitterer%2Fnginx-multi-theme","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikemitterer%2Fnginx-multi-theme/lists"}