Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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!
- Host: GitHub
- URL: https://github.com/codedust/html5-file-browser
- Owner: codedust
- License: gpl-3.0
- Created: 2016-02-07T03:19:59.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2019-02-26T22:47:45.000Z (almost 6 years ago)
- Last Synced: 2024-08-01T12:30:59.022Z (4 months ago)
- Language: JavaScript
- Homepage:
- Size: 1.05 MB
- Stars: 15
- Watchers: 3
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-starred - codedust/html5-file-browser - A HTML5 file browser that does not depend on any server-side code - contributions welcome! (others)
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.