All Projects → chuckhoupt → autoindex_strapdown

chuckhoupt / autoindex_strapdown

Licence: MIT license
Easily add Markdown README/HEADERs to Apache's directory indexes, rendered by Strapdown.js

Programming Languages

javascript
184084 projects - #8 most used programming language
shell
77523 projects
CSS
56736 projects

Projects that are alternatives of or similar to autoindex strapdown

Apache-Directory-Listing
A directory listing theme for Apache
Stars: ✭ 138 (+305.88%)
Mutual labels:  apache, htaccess, mod-autoindex
htpw
htpw is a project to increase the security of your WordPress!
Stars: ✭ 42 (+23.53%)
Mutual labels:  apache, htaccess
Server Configs Apache
Apache HTTP server boilerplate configs
Stars: ✭ 2,916 (+8476.47%)
Mutual labels:  apache, htaccess
Simple-Social-Network
Micro Social Network developed in PHP, MySQL, BOOTSTRAP 3 and VUE.JS 2
Stars: ✭ 18 (-47.06%)
Mutual labels:  apache, htaccess
Htaccess
✂A collection of useful .htaccess snippets.
Stars: ✭ 11,830 (+34694.12%)
Mutual labels:  apache, htaccess
Goaccess
GoAccess is a real-time web log analyzer and interactive viewer that runs in a terminal in *nix systems or through your browser.
Stars: ✭ 14,096 (+41358.82%)
Mutual labels:  apache
Wecube Platform
WeCube Platform
Stars: ✭ 224 (+558.82%)
Mutual labels:  apache
Apache exporter
Prometheus exporter for Apache.
Stars: ✭ 172 (+405.88%)
Mutual labels:  apache
Qpid Proton
Mirror of Apache Qpid Proton
Stars: ✭ 164 (+382.35%)
Mutual labels:  apache
openwhisk-package-kafka
Apache OpenWhisk package for communicating with Kafka or Message Hub
Stars: ✭ 35 (+2.94%)
Mutual labels:  apache
Docker Php
🐳 Docker For PHP developers - Docker images with PHP, Nginx, OpenLiteSpeed, Apache, Lighttpd, and Alpine
Stars: ✭ 236 (+594.12%)
Mutual labels:  apache
Zulip
Zulip server and web app—powerful open source team chat
Stars: ✭ 14,815 (+43473.53%)
Mutual labels:  apache
Hive Jdbc Uber Jar
Hive JDBC "uber" or "standalone" jar based on the latest Apache Hive version
Stars: ✭ 188 (+452.94%)
Mutual labels:  apache
Openwhisk Deploy Kube
The Apache OpenWhisk Kubernetes Deployment repository supports deploying the Apache OpenWhisk system on Kubernetes and OpenShift clusters.
Stars: ✭ 231 (+579.41%)
Mutual labels:  apache
Guacamole Install Rhel 7
Apache Guacamole installation bash script for RHEL 7 and CentOS 7 including options for Nginx, HTTPS, SSL, LDAP, Let's Encrypt certificates and more
Stars: ✭ 174 (+411.76%)
Mutual labels:  apache
Leetcode
Solutions to LeetCode problems; updated daily. Subscribe to my YouTube channel for more.
Stars: ✭ 3,090 (+8988.24%)
Mutual labels:  apache
Htconvert
Convert .htaccess redirects to nginx.conf redirects
Stars: ✭ 171 (+402.94%)
Mutual labels:  apache
Lamp
Install LAMP(Linux + Apache + MySQL/MariaDB + PHP ) for CentOS/Debian/Ubuntu
Stars: ✭ 2,456 (+7123.53%)
Mutual labels:  apache
Azure Event Hubs
☁️ Cloud-scale telemetry ingestion from any stream of data with Azure Event Hubs
Stars: ✭ 233 (+585.29%)
Mutual labels:  apache
Couchdb Docker
Semi-official Apache CouchDB Docker images
Stars: ✭ 194 (+470.59%)
Mutual labels:  apache

Autoindex-Strapdown Read-Me

Autoindex-Strapdown enhances Apache's mod_autoindex directory listings with Markdown README and HEADER files rendered by Strapdown.js. Setup GitHub-like directory documentation with just Apache!

Screenshot Before and After

Before and After Autoindex-Strapdown

Quick Start

Simply copy the following into a directory's .htaccess file -- That's All!
Then add a README.md or HEADER.md files and enjoy.

# Apache Autoindex Directives
Options +Indexes
IndexOptions FancyIndexing HTMLTable SuppressRules
IndexOptions IconsAreLinks ScanHTMLTitles NameWidth=* DescriptionWidth=*

# Autoindex-Strapdown Directives
AddType text/plain .md
HeaderName HEADER.md
ReadmeName README.md

# Customize by setting theme and title
IndexHeadInsert "<script>conf = {theme: 'bootstrap', title: ''};</script> \
<script src='https://ais.habilis.net/autoindex_strapdown.js'></script> \
<link rel='stylesheet' href='https://ais.habilis.net/autoindex_strapdown.css'>"

# Icons using Bootstrap's Glyphicon set
DefaultIcon https://ais.habilis.net/icons/glyphicon-file.svg
AddIcon https://ais.habilis.net/icons/blank.svg ^^BLANKICON^^
AddIcon https://ais.habilis.net/icons/glyphicon-folder-open.svg ^^DIRECTORY^^
AddIcon https://ais.habilis.net/icons/glyphicon-circle-arrow-up.svg ..
AddIconByType (TXT,https://ais.habilis.net/icons/glyphicon-file.svg) text/*
AddIconByType (IMG,https://ais.habilis.net/icons/glyphicon-picture.svg) image/*
AddIconByType (SND,https://ais.habilis.net/icons/glyphicon-music.svg) audio/*
AddIconByType (VID,https://ais.habilis.net/icons/glyphicon-film.svg) video/*

Customize by setting the theme or title configuration parameter on the first line of the IndexHeadInsert directive. For example:

IndexHeadInsert "<script>conf = {theme: 'cyborg', title: 'My Robot Pics'};</script> \

See the list of themes available from Strapdown.js.

Self-Hosting

For simplicity, the example above is hosted at ais.habilis.net. To install on your own host, download or git-clone Autoindex-Strapdown, and adjust the htaccess directives to point at local URLs for the Javascript, CSS and icons. Add the extra conf option strapdown to self-host Strapdown. I.e.:

conf = {theme: 'bootstrap', title: '', strapdown: '/sd/strapdown.js'}

For a concrete example, see the htaccess-selfhost file which expects Autoindex-Strapdown to be installed on the host at the URL /autoindex_strapdown/.

Background

Since time immemorial, the Apache web server has had the ability to serve up directory listings (indexes), optionally augmented with text or HTML read-me and header files. GitHub partially emulates Apache's auto-indexes with READMEs, but enhances it by adding Markdown formatting -- the prefect compromise between plain text and HTML.

In a sense, Autoindex-Strapdown is an attempt to backport GitHub's enhanced emulation of Apache mod_autoindex back to Apache.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].