SourceView

Note: This script is very much alpha quality, and since it accesses your filesystem do not assume it is secure enough to be public-facing.

SourceView is a simple standalone script which uses a combination of PHP and JavaScript to provide a filesystem browser, and uses highlight to provide syntax highlighting.

Setup is done with a simple configuration file (config.inc.php) and basically allows you to set the base directory it will use as its “root” and a set of path and file “blacklists” to exclude certain things from the listings.

AJAX-type methodology is used to load parts of the filesystem as it is browsed instead of incurring the overhead of parsing the entire tree in one go (which can take a long time if you are browsing the root directory !!!). Requirements

Download

You can get the source code from the Subversion repository:

svn co http://svn.codescape.net/svn/sourceview/trunk sourceview