https://github.com/busybox-org/gin-fancyindex
gin-fancyindex
https://github.com/busybox-org/gin-fancyindex
fancyindex gin golang
Last synced: 7 months ago
JSON representation
gin-fancyindex
- Host: GitHub
- URL: https://github.com/busybox-org/gin-fancyindex
- Owner: busybox-org
- License: apache-2.0
- Created: 2022-05-17T12:49:16.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-13T08:39:25.000Z (about 1 year ago)
- Last Synced: 2024-06-13T11:48:01.560Z (12 months ago)
- Topics: fancyindex, gin, golang
- Language: HTML
- Homepage:
- Size: 8.21 MB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GIN-FancyIndex
Develop a compact and lightweight file directory index server based on gin
+ Inspired by [caddy](https://caddyserver.com/) [file_server](https://caddyserver.com/docs/caddyfile/directives/file_server)## Parameters
+ `PORT`: the port to listen on. default: 8080
+ `RELATIVE_PATH`: the path to serve. default: `/`
+ `ROOT`: the root directory to serve. default: `/share`
+ `AUTH`: enable authentication. default: false
+ `AUTH_USER`: the username to use for authentication. default: `admin`
+ `AUTH_PASS`: the password to use for authentication. default: `admin`## RUN
```bash
docker pull xmapst/gin-fancyindex
docker run -it -p 8080:8080 -v /share:/share xmapst/gin-fancyindex:latest
```browser open [http://localhost:8080](http://localhost:8080)

[](https://app.fossa.com/projects/git%2Bgithub.com%2Fxmapst%2Fgin-fancyindex?ref=badge_shield)
## License
[](https://app.fossa.com/projects/git%2Bgithub.com%2Fxmapst%2Fgin-fancyindex?ref=badge_large)