Skip to content
/ hfs Public
forked from rejetto/hfs

HFS is a web file server to run on your computer. Share folders or even a single file thanks to the virtual file system.

License

Notifications You must be signed in to change notification settings

liuhw2016/hfs

 
 

Repository files navigation

HFS: HTTP File Server

logo and motto

Introduction

HFS is the best way via web to access or share files from your disk.

  • It's a server software, share files fresh from your disk. Don't rely on services, be independent!
  • It's all very fast. Try download zipping 100GB, it starts immediately!
  • Easy to use. HFS tries to detect problems and suggest solutions.
  • Share even a single file with our virtual file system, even with a different name, all without touching the real file. Present things the way you want!
  • Watch all activities in real-time.
  • Control bandwidth, decide how much to give.

This project is in an early stage, few things are missing, but it already rocks!

This is a full rewrite of the Delphi version. You won't find all previous features here (yet), but still we got:

How does it work

  • run HFS on your computer, configuration page automatically shows up
  • select what files and folders you want to be accessible
  • possibly create accounts and limit access to files
  • access those files from a phone or another computer just using a browser

Features

  • https
  • unicode
  • virtual file system
  • mobile friendly front-end
  • search
  • accounts
  • resumable downloads
  • download folders as zip archive
  • simple website serving
  • plug-ins
  • log file
  • speed throttler
  • admin web interface
  • virtual hosting (plug-in)
  • anti-brute-force (plug-in)

Installation

  1. go to https://github.com/rejetto/hfs/releases
  2. click on Assets
  3. download the right version for your computer
  4. launch hfs file
  5. the browser should automatically open on localhost address, so you can configure the rest in the Admin panel.
    • if a browser cannot be opened on the computer where you are installing HFS, you should enter this command in HFS console: create-admin <PASSWORD>

If you access Admin panel via localhost, by default HFS won't require your to login. If you don't like this behavior, disable it in the Admin panel or enter this console command config localhost_admin false.

Other systems

If your system is not Windows/Linux/Mac, you can try this alternative version:

  1. install node.js version 16+ from https://nodejs.org/
  2. download and unzip hfs-node.zip
  3. launch ./run

Plug-ins

To install a plugin you just copy its folder inside plugins folder.

Delete it to uninstall.

HFS will ignore all folders with -disabled at the end of the name.

Why you should upgrade from HFS 2.x to 3

As you can see from the list of features, we already have some goods that you cannot find in HFS 2. Other than that, you can also consider:

  • it's more robust: it was designed to be an always-running server, while HFS 1-2 was designed for occasional usage (transfer and quit)
  • passwords are never really stored, just a non-reversible hash is
  • more flexible permissions

But you may still want to stay with HFS 2.x (so far) for the following reasons

  • smaller
  • more tested
  • classic window interface (can be easier for some people)

License

GPLv3

About

HFS is a web file server to run on your computer. Share folders or even a single file thanks to the virtual file system.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 95.2%
  • JavaScript 2.1%
  • SCSS 1.8%
  • Other 0.9%