YousefED / filebridge

FileBridge is a simple server to interact with a directory on your local file system

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FileBridge

npm version

FileBridge is a simple server to interact with a directory on your local file system. Use it to interact with a filesystem from a web application or other client.

Starting

npx filebridge [dir] [-p 3001]

Reading files

GET /file/<relative path to dir>

Writing files

POST /file/<relative path to dir>

Watching

FileBridge exposes filesystem events (provided by Chokidar) over WebSockets.

Client

A javascript is available as the package filebridge-client. See example usage in the unit test.

About

FileBridge is a simple server to interact with a directory on your local file system

License:MIT License


Languages

Language:TypeScript 96.3%Language:JavaScript 3.7%