{"id":22603477,"url":"https://github.com/glen-cheney/fancy-index","last_synced_at":"2025-04-05T23:08:49.302Z","repository":{"id":24390168,"uuid":"27790134","full_name":"glen-cheney/fancy-index","owner":"glen-cheney","description":"A responsive Apache index page.","archived":false,"fork":false,"pushed_at":"2024-06-11T17:44:26.000Z","size":710,"stargazers_count":341,"open_issues_count":5,"forks_count":79,"subscribers_count":10,"default_branch":"main","last_synced_at":"2025-03-29T21:09:19.424Z","etag":null,"topics":["apache","file-icons","htaccess","index"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/glen-cheney.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":"2014-12-09T22:19:42.000Z","updated_at":"2025-03-27T01:24:18.000Z","dependencies_parsed_at":"2024-06-11T21:27:34.882Z","dependency_job_id":"754bceae-42e8-4bad-aebd-7c2ad53a0713","html_url":"https://github.com/glen-cheney/fancy-index","commit_stats":null,"previous_names":["glen-cheney/fancy-index","vestride/fancy-index"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glen-cheney%2Ffancy-index","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glen-cheney%2Ffancy-index/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glen-cheney%2Ffancy-index/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glen-cheney%2Ffancy-index/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/glen-cheney","download_url":"https://codeload.github.com/glen-cheney/fancy-index/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247411234,"owners_count":20934653,"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":["apache","file-icons","htaccess","index"],"created_at":"2024-12-08T13:03:20.868Z","updated_at":"2025-04-05T23:08:49.265Z","avatar_url":"https://github.com/glen-cheney.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fancy Index\n\nA responsive Apache index page.\n\nI was tired of seeing the ugly apache-generated index page, so I decided to do something about it. Inspired by [Seti UI](https://github.com/jesseweed/seti-ui) and [atom file-icons](https://github.com/file-icons/atom), this project adds an `.htaccess` file which tells apache to use a table, among other things, instead of `\u003cpre\u003e`.\n\n### Before Fancy Index:\n![before fancy index](before.png)\n\n### After Fancy Index\n![after fancy index](after.png)\n\n\n## Setup\n\nI'm going to assume you're using a `Sites` folder with apache, but it could be done differently. Wherever you see `USERNAME`, use your username.\n\n1. Clone or download the files.\n2. Add them to your `Sites` directory. The structure should be `/Users/USERNAME/Sites/fancy-index`.\n3. Copy the `.htaccess` file up one directory to `/Users/USERNAME/Sites/.htaccess`.\n4. Update your `DocumentRoot` in `/etc/apache2/users/USERNAME.conf` to point to your `Sites`. This will also cause `localhost` to point to `Sites` and you won't have to use the `~USERNAME` to access it.\n\nThis is what mine looks like:\n```apache\nDocumentRoot \"/Users/glen.cheney/Sites\"\n\n\u003cDirectory \"/Users/glen.cheney/Sites\"\u003e\n    AllowOverride All\n    Options Indexes MultiViews FollowSymLinks\n    Require all granted\n\u003c/Directory\u003e\n\n```\n\nNow restart apache `sudo apachectl restart`.\n\nIf you're having trouble or don't see the correct files, follow one of these guides ([Yosemite](http://coolestguidesontheplanet.com/get-apache-mysql-php-phpmyadmin-working-osx-10-10-yosemite/), [El Capitan](http://coolestguidesontheplanet.com/get-apache-mysql-php-and-phpmyadmin-working-on-osx-10-11-el-capitan/), [Sierra](https://coolestguidesontheplanet.com/get-apache-mysql-php-and-phpmyadmin-working-on-macos-sierra/), [High Sierra](https://coolestguidesontheplanet.com/install-apache-mysql-php-and-phpmyadmin-on-macos-high-sierra-10-13/)) to get your Sites folder working.\n\n## Mobile Comparison\n\nNow you don't have to zoom in or be a sniper with your finger!\n\n| Default  | Fancy  |\n|:--------:|:------:|\n|![before fancy index (mobile)](before_mobile.png)  |  ![after fancy index (mobile)](after_mobile.png)|\n\n## Customizing hidden files and directories\n\nIf you want to hide some files or directories, for example the `fancy-index` directory, there is a `IndexIgnore` directive in `.htaccess` file.\n\n1. Edit `.htaccess` file in root directory.\n2. Look for the \"IGNORE THESE FILES\" section.\n3. Update the `IndexIgnore` directive with the path of files and directories to hide, separated by spaces.\n\t* For example: `IndexIgnore .ftpquota .DS_Store .git /fancy-index`\n4. Save the changes.\n5. Reload the index page.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fglen-cheney%2Ffancy-index","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fglen-cheney%2Ffancy-index","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fglen-cheney%2Ffancy-index/lists"}