https://github.com/ladutsko/jhfs
Java HTTP File Server
https://github.com/ladutsko/jhfs
bootstrap bootstrap4 linux service sharing spring-boot spring-boot-2 systemd systemd-service thymeleaf thymleaf3 web windows
Last synced: 3 months ago
JSON representation
Java HTTP File Server
- Host: GitHub
- URL: https://github.com/ladutsko/jhfs
- Owner: ladutsko
- License: mit
- Created: 2018-06-20T14:04:00.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-09-05T11:11:30.000Z (almost 8 years ago)
- Last Synced: 2025-03-26T07:43:44.590Z (over 1 year ago)
- Topics: bootstrap, bootstrap4, linux, service, sharing, spring-boot, spring-boot-2, systemd, systemd-service, thymeleaf, thymleaf3, web, windows
- Language: Java
- Size: 456 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Java HTTP File Server
## Build
```
./gradlew clean build
```
## Install
Binaries are available in `build/distributions` folder:
|||
|-|-:|
|Red Hat, Fedora, CentOS, etc.|jhfs-*.noarch.rpm|
|Debian, Ubuntu, etc.|jhfs_*_all.deb|
|Windows|jhfs-*-windows.zip|
## How to use
By default jHFS is configured to share files from the folder `/var/jhfs/welcome` on Linux
and `C:\jhfs\welcome` on Windows.
So, just copy your files into appropriate folder, start the service and check a result in browser:
```
http://:8000/
```
You can add some comments to any files in shared folder - add text or html file with the same name
plus `.comment` extension like the following:
```
MyPublicFile.txt
MyPublicFile.txt.comment
```
Edit the configuration file `/etc/jhfs/application.yml` on Linux
or `\config\application.yml` on Windows
to change shared folder list, port number and code page for comment files.
Profit!