Skip to content

r-mulder/http-file-watcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

http-watch-server

A simple HTTP server with file watcher and webhook notification.

Features

  • Serves files from a directory over HTTP
  • Watches for file changes and sends notifications to a webhook
  • Configurable via environment variables or command-line arguments

Installation

npm install -g http-watch-server

Usage

http-watch-server --port PORT --webhook WEBHOOK_URL

Or shorter variables:

http-watch-server -p PORT -w WEBHOOK_URL

Configuration

  • PORT: Port to run the HTTP server (default: 8080)
  • WEBHOOK_URL: Webhook endpoint for notifications

License

MIT

About

HTTP server with file watcher and webhook notification.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published