GithubHelp home page GithubHelp logo

vsoch / niindex Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 1.0 1.58 MB

brain image directory browsing

Home Page: https://vsoch.github.io/niindex/

License: MIT License

PHP 100.00%
brainmap directory-browser htaccess

niindex's Introduction

Niindex

Nifti indexing for web servers. A demo is available.

Overview

This duo of scripts will transform a web server to automatically render a viewer, neurosynth decoding, and social media sharing (Twitter) for any folder (or subfolder) of your web server directory. Your server (or you) must allow for both directory indexing and configuration of said directory indexing for this to work (a standard for most web servers).

Setup 1: Subdirectory and Recursive Subdirectories

  1. Drop the .niindex.php into the base of your server. This will not change any permissions or behavior, this is simply the location that the .htaccess (discussed below) expects to find it.

  2. Place the .htaccess in any subfolder on your server, and this will enable niindex for that directory and all directories below it.

Setup 2: Single Directory

In the case that you want to limit niindex to only serve one folder, simply change this line in .htaccess:

  DirectoryIndex /.niindex.php

to

  DirectoryIndex .niindex.php

and place the niindex.php along with the .htaccess in your directory of choice.

Feedback

Please provide feedback. Thanks!

niindex's People

Contributors

vsoch avatar

Watchers

 avatar  avatar  avatar

Forkers

tubbz-alt

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.