{"id":13794158,"url":"https://github.com/lorenzos/Minixed","last_synced_at":"2025-05-12T20:31:35.101Z","repository":{"id":3014499,"uuid":"4033739","full_name":"lorenzos/Minixed","owner":"lorenzos","description":"A minimal but nice-looking PHP directory indexer.","archived":false,"fork":false,"pushed_at":"2024-11-08T12:10:17.000Z","size":27,"stargazers_count":196,"open_issues_count":2,"forks_count":41,"subscribers_count":14,"default_branch":"master","last_synced_at":"2024-11-18T08:56:10.662Z","etag":null,"topics":["directory-lister","file-list","indexer","php","single-file"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/lorenzos.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":"2012-04-15T17:46:48.000Z","updated_at":"2024-11-10T22:55:14.000Z","dependencies_parsed_at":"2024-11-18T08:51:34.253Z","dependency_job_id":null,"html_url":"https://github.com/lorenzos/Minixed","commit_stats":{"total_commits":26,"total_committers":3,"mean_commits":8.666666666666666,"dds":0.07692307692307687,"last_synced_commit":"adfbc794b451368d0681477d890133e9947b26ff"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lorenzos%2FMinixed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lorenzos%2FMinixed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lorenzos%2FMinixed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lorenzos%2FMinixed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lorenzos","download_url":"https://codeload.github.com/lorenzos/Minixed/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253816765,"owners_count":21968878,"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":["directory-lister","file-list","indexer","php","single-file"],"created_at":"2024-08-03T23:00:36.618Z","updated_at":"2025-05-12T20:31:31.458Z","avatar_url":"https://github.com/lorenzos.png","language":"PHP","funding_links":[],"categories":["PHP"],"sub_categories":[],"readme":"\n**Minixed** is a minimal but nice-looking PHP directory indexer.  \nYou can see it as a replacement for the Apache `mod_autoindex`.\n\n\u003e *«How does it look?»* Like [**this**](http://www.lorenzostanco.com/minixed_demo/).  \n\u003e *«I don't like it.»* You are a CSS master, right? Good, you know what to do.\n\nHow to use\n----------\n\nJust drop the [**`index.php`**](https://github.com/lorenzos/Minixed/blob/master/index.php) \nscript in the same directory that contains files you want to index.\n\n\twget https://raw.githubusercontent.com/lorenzos/Minixed/master/index.php\n\n\u003e *«Really? One single file?»* Yes, really. Glad you asked.  \n\u003e *«If so, where are icon files?»* They are hard coded into the source, thanks Base-64.  \n\u003e *«Was it really necessary?»* I don't know, I just loved the idea you need only one file.\n\nIf you want Minixed to work also in subfolders, edit `index.php` setting:\n\n\t$browseDirectories = true; // Navigate into sub-folders\n\nTo force the download of files, avoiding opening them in the browser, enable the Apache `headers` module and add this [**`.htaccess`**](https://github.com/lorenzos/Minixed/blob/master/.htaccess) file:\n\n\twget https://raw.githubusercontent.com/lorenzos/Minixed/master/.htaccess\n\nConfiguration\n-------------\n\nThe script works well out-of-the-box, and generally you want to leave it as it is.\nHowever if you have some particular needs, there are some PHP variables placed \nin the first lines of `index.php` you can edit.\n\nYou can enable navigation into subfolders using:\n\n\t$browseDirectories = true; // Navigate into sub-folders\n\nYou can change the page title (and subtitle) providing strings that can contains\nsome placeholders that will be *parsed* at runtime:\n\n\t$title = 'Index of {{path}}';\n\t$subtitle = '{{files}} objects in this folder, {{size}} total'; // Empty to disable\n\nYou can make breadcrumb links if titles contain `{{path}}`, useful when navigating into subfolders:\n\n\t$breadcrumbs = true; // Make links in {{path}}\n\nYou can tell the script how to build the files list using:\n\t\n\t$showParent = false; // Display a (parent directory) link\n\t$showDirectories = true;\n\t$showDirectoriesFirst = true; // Lists directories first when sorting by name\n\t$showHiddenFiles = false; // Display files starting with \".\" too\n\t\nAnd how that list should look:\n\n\t$alignment = 'left'; // You can use 'left' or 'center'\n\t$showIcons = true;\n\t$dateFormat = 'dd/mm/yyyy HH:ii'; // Used in date() function\n\t$sizeDecimals = 1;\n\t\nFinally, you can customize the content of the meta-tag \"robots\" \nif you want to give some search engine hints:\n\n\t$robots = 'noindex, nofollow'; // Avoid robots by default\n\t\nOf course, if PHP is a friend of yours you can easily\nunderstand the whole script source code, so the only limit to\ncustomization is your imagination.\n\nBug tracking and developing\n---------------------------\n\nIf you find bugs, if you have suggestions, if you modified the script adding \nfeatures or improvements, feel free to contribute by opening \n[**Issues**](https://github.com/lorenzos/Minixed/issues) or \n[**Pull Requests**](https://github.com/lorenzos/Minixed/pulls).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Florenzos%2FMinixed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Florenzos%2FMinixed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Florenzos%2FMinixed/lists"}