Coder Social home page Coder Social logo

naked-pages's Introduction

naked-pages

Default index listing (not only) for NGINX, and some custom error pages ;) This is good choice for someone who want a beauty yet light responsive web listing page. Or maybe h5ai alternative.

Features

  • Using our neat CSS framework - Naked!
  • Responsive page
  • Much more lighter than h5ai

Proof of Concept

PoC

Installation (Apache)

  • Clone this repo to wherever you want
  • From command line, go to inside naked-pages folder and do bower install from there
  • Link the naked-pages to somewhere accessible by your web server (inside your www root directory).
ln -s /full/path/to/naked-pages /path/to/www/root/[custom-folder]

# for example
ln -s /home/xinixman/naked-pages /var/www/_nnn
  • Open your httpd configuration, find something like this:
<IfModule dir_module>
    DirectoryIndex index.html index.php
</IfModule>

Based on example, you should change them to:

<IfModule dir_module>
    DirectoryIndex index.html index.php /_nnn
</IfModule>

If you want to enable your own error page, find (and edit) or add this line to your httpd.conf

# Based on example
ErrorDocument 404 /_nnn/404.php
ErrorDocument 403 /_nnn/403.php

Configuration

All config is only an array described in config/config.php. You can ignore listing your naked-pages directory by tell the config where you install your naked-pages. There you can also ignoring the folder/file based on you patterns, for example if you want to ignore .DS_Store‎, just add .DS_Store‎ fo fileExcludePatterns entry. If you want to show folder / file size you can change showSize to true. Easy heh?

naked-pages's People

Contributors

krisanalfa avatar reekoheek avatar

Stargazers

Thugger069 avatar  avatar Zakharov Sawyer avatar Takehiro Ogura avatar José CABEZA avatar tknr avatar  avatar Hung-I Wang avatar Kiryuu Sakuya avatar 霊烏路  空 avatar 伊欧 avatar Paul.... avatar  avatar Yifan Gao avatar  avatar Ethan avatar  avatar c0nnax avatar Yanzai avatar Quarter avatar Python.Swift avatar Light avatar Jor avatar Htroy avatar moleN avatar  avatar  avatar  avatar  avatar  avatar kino520 avatar Wei He avatar EdisonJwa avatar  avatar Huramkin avatar FairyScript avatar Bo avatar  avatar jackma778 avatar GAURAV avatar  avatar Keedi Kim avatar Jason Leininger avatar

Watchers

James Cloos avatar TerryMa avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.