casket

2.0.1 • Public • Published

casket

casket is an HTTP server that supports GET, POST and DELETE requests. It can respond in HTML, JSON and plain text format, the HTML-version being a file management UI.

It also supports file search using Spotlight, and it can stream any audio file to an AirPlay receiver.

casket serving a directory

npm version dependency status dev dependency status ISC-licensed support me via GitHub Sponsors chat with me on Twitter

Installing

npm install -g casket

Usage

Usage:
	casket [--name my-little-server] [--dir ~/path/to/dir] [--airplay my-apple-tv.local]

Options:
    --name      -n  The name of the server, as shown in the GUI.
    --dir       -d  The directory to serve, default is the current directory.
    --readonly  -r  Do not allow deletion of files & uploads.
    --no-delete -w  Do not allow deletion of files.
    --no-upload -u  Do not allow file upload.
    --port      -p  Default is 8000.
    --airplay   -a  An AirPlay receiver to stream audio to.

Contributing

If you have a question, found a bug or want to propose a feature, have a look at the issues page.

Readme

Keywords

Package Sidebar

Install

npm i casket

Weekly Downloads

7

Version

2.0.1

License

ISC

Unpacked Size

23.7 kB

Total Files

25

Last publish

Collaborators

  • derhuerst