Coder Social home page Coder Social logo

bootstrap-listr's Introduction

Bootstrap Listr

The MIT License GitHub release Travis David

A replacement for default server indices, Bootstrap Listr beautifully displays folders and files in the browser. It is built upon the Bootstrap framework and optionally makes use of Bootswatch themes and Font Awesome icons.

Watch a live demo!

Installation

Download the latest release or clone the repository.

Usage

The simplest way is to use the default configuration. Copy the dist-folder to your webserver, then place all files that should be accessible in the browser go into the _public folder. Point your browser to the dist-folder rather than the files and folder inside _public. If you run 403 or 404 errors, please refer to the FAQ.

Building

Gulp

Gulp tasks are used to configure and build your application. You can install Gulp globally using npm install gulp -g.

You can now run the default task gulp to set up the application. On first run, this will guide you through the installation process, after that it will only upgrade the codebase. To force a clean installation, you can use gulp setup-clean.

Please visit the project wiki for details.

CDN

Instead of running your dependencies locally, you can make use of various content delivery networks (CDN). Initialize your application using gulp init and set dependencies to cdn in your config.json. You can then specify your preferred CDNs (and all other preferences) in this file as well (see below for details!)

Deployment

Deploy the entire dist/ folder to your server. All files that should be accessible in the browser go into the _public folder (you can change the folder in the config). Depending on your Apache settings, you might have to uncomment the RewriteBase setting in the .htaccess file and maybe add parent folder name right after the slash.

Options

You can configure a number of settings in the file config.json:

  • Optional columns for size modified date
  • Document icons
  • File viewer for images, videos, audio, source code and HTML
  • Search box to filter results
  • Column sorting
  • Responsive tables
  • List of ignored files
  • Default location for JavaScript libraries and style sheets
  • Syntax highlighting in file viewer
  • Save to Dropbox
  • Share buttons
  • Google Analytics
  • Language

Please visit the project wiki for details.

Contribute

  1. Fork the repository
  2. Make your changes
  3. Send a pull request with your changes

Credits

This project is built upon—or includes—code from the following people:

Contributors:

License

The MIT License (MIT)

Copyright (c) 2014 Jan T. Sott

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Donate

You are welcome support this project using Flattr or Bitcoin 17CXJuPsmhuTzFV2k4RKYwpEHVjskJktRd

bootstrap-listr's People

Contributors

bitdeli-chef avatar idleberg avatar skythes avatar

Watchers

 avatar  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.