https://github.com/derhuerst/casket
casket is an easy-to-use web file storage.
https://github.com/derhuerst/casket
gui http server
Last synced: 7 months ago
JSON representation
casket is an easy-to-use web file storage.
- Host: GitHub
- URL: https://github.com/derhuerst/casket
- Owner: derhuerst
- License: isc
- Created: 2015-07-19T05:59:05.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2021-07-31T13:36:40.000Z (over 4 years ago)
- Last Synced: 2025-06-15T23:41:38.963Z (8 months ago)
- Topics: gui, http, server
- Language: JavaScript
- Homepage: https://github.com/derhuerst/casket#casket
- Size: 235 KB
- Stars: 13
- Watchers: 3
- Forks: 7
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: license.md
Awesome Lists containing this project
README
# *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](https://github.com/derhuerst/node-spotlight), and it can stream any audio file to an AirPlay receiver.

[](https://www.npmjs.com/package/casket)
[](https://david-dm.org/derhuerst/casket)
[](https://david-dm.org/derhuerst/casket#info=devDependencies)

[](https://github.com/sponsors/derhuerst)
[](https://twitter.com/derhuerst)
## Installing
```shell
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](https://github.com/derhuerst/casket/issues).