Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/codedust/html5-file-browser

A HTML5 file browser that does not depend on any server-side code - contributions welcome!
https://github.com/codedust/html5-file-browser

Last synced: about 1 month ago
JSON representation

A HTML5 file browser that does not depend on any server-side code - contributions welcome!

Awesome Lists containing this project

README

        

HTML5 file browser
---

This HTML5 file browser allows to browse and share files in a public server directory. Unlike some other solutions out there, this file browser does not depend on any server-side code. Instead, directory listings are used to parse the list of available files.

![A screenshot showing the file preview](files/screenshot.png)

### Configuration
#### Apache
This program comes with a `.htaccess` file that enables directory listings for the `files/` directory. Simply upload this file browser to any directory on your server and you are done.

#### Nginx
For `nginx`, auto-indexing has to be turned on for the `/files/` directory:
```
location /somedir/files/ {
autoindex on;
}
```

#### Python
For testing purposes or to share files in a LAN, Python can be used. Run `python -m http.server 8080` (or `python2 -m SimpleHTTPServer 8080` if your system is horribly outdated) from within this directory (the directory where `README.md` can be found) and you are done.

### License
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.