Skip to content
This repository has been archived by the owner on May 7, 2020. It is now read-only.

For serving files on a server running on the local network. (read-only access)

License

Notifications You must be signed in to change notification settings

ShawonAshraf/LocalFileServer

Repository files navigation

LocalFileServer

Creates a read only file server to be used for sharing files locally

Build Status

Screenshot

screenshot of index

Usage

  • Clone and cd into the directory.
  • Create a directory named files in the root of the directory.
  • Put the files you want to serve in the files directory.
# install dependencies
yarn install

# start
yarn start

# watch for file changes using nodemon
yarn run start-watch

File Listing

Everytime a user hits the endpoint "/", the server will fetch the list of files from files directory and list them in the index view.

File listing is done using utils/file-listing.js

Logging

Server logs every request using morgan in combined format. More information can be found here

License

MIT

About

For serving files on a server running on the local network. (read-only access)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published