https://github.com/superp00t/http-index-fs
Mount a Web index folder to your local filesystem!
https://github.com/superp00t/http-index-fs
file filesystem fuse http index mount web
Last synced: 12 months ago
JSON representation
Mount a Web index folder to your local filesystem!
- Host: GitHub
- URL: https://github.com/superp00t/http-index-fs
- Owner: superp00t
- License: mit
- Created: 2018-07-15T05:12:20.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-07-25T18:15:10.000Z (almost 8 years ago)
- Last Synced: 2024-06-20T03:55:13.593Z (almost 2 years ago)
- Topics: file, filesystem, fuse, http, index, mount, web
- Language: Go
- Homepage:
- Size: 12.7 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
*Warning, this software is experimental may contain yet undetected vulnerabilities. Use at your own risk.*
# Usage
```bash
# install
$ go get -u -v github.com/superp00t/http-index-fs
$ http-index-fs http://localhost:80/ /path/to/mountpoint
```
# Caveats
- I wrote this for the purpose of exposing my media server to Kodi. If it doesn't work for your use case, open an issue or submit a Pull Request.
- Generates **a lot** of HTTP requests. You probably don't want to be using this on any infrastructure you don't own.
- Tested only on NGINX (Almost certainly won't work with Apache.)
- May behave improperly when your any folder in your source HTTP directory contains an index.html file, which will prevent http-index-fs from accessing all the folder's contents.
# Library credits
- [Go Programming Language](https://golang.org/)
- [FUSE Go bindings](https://github.com/hanwen/go-fuse) provides the filesystem virtualization interface
- [GoQuery](https://github.com/PuerkitoBio/goquery) extracts the anchor links in Web index pages
- [Pflag](https://github.com/ogier/pflag) makes CLI programming easier