The Lost Rodent
The Lost Rodent is a lightweight, modular library that stands in for stock directory indexers. It supports templates, and can be used to enable indexing of directories on Apache or Nginx installations that explicitly disable it.
Created as a spin off of NotSoFancy, an earlier indexing project in 2004, The Lost Rodent in its classic mode attempts to emulate the look and feel of how the Mozilla project used to render Gopherspace.
- Syntax highlighting of source code with the Prism library
- Support for displaying documents in plain text and Markdown using the Parsedown library
- Retrieves EXIF information from JPEG files on view
- Somewhat more responsive theme for 2014 with icons from the Faenza project
- Selectively substitute file names with text descriptors
- Automatically parse .URL files into hyperlinks
- i18n ready (see /lang/)
The Lost Rodent comes with sample files for installation on Apache and Nginx. It should work with more servers: anything that supports PHP and URL rewriting meets the minimum requirements.
- Copy the included htaccess file to .htaccess in the directory your plan to index.
- Copy the lostrodent/ folder to the same directory.
- Edit lostrodent/config.php accordingly.
- Copy the lostrodent/ folder to the directory you plan to index.
- Copy the included nginx file to /etc/nginx/sites-available/lostrodent.
- Edit 'root' and 'server_name' to match your server address and the folder to which you copied lostrodent/.
- Restart Nginx.
The Lost Rodent ships with code from the Prism project and Parsedown, both under the MIT license. The original licensing text is included with each.
Prism is created by Lea Varou and can be obtained from her GitHub at https://github.com/LeaVerou/prism.
Parsedown is created by Emanuil Rusev and can be obtained from his GitHub at https://github.com/erusev/parsedown.