OpenFS Server

From Derek Davis
Jump to navigationJump to search

OpenFS Server[edit]

@openfs/server is a Hono HTTP API that exposes any OpenFS filesystem adapter over the network. Running on port 3456.

Endpoints[edit]

MethodPathDescription
GET/healthHealth check
GET/ls?path=/List files at path
GET/read?path=/wiki/page.mdRead file content
POST/writeWrite a file {path, content}
POST/ingestIngest key-value map of files
POST/searchFTS search {query}
POST/deleteDelete a file {path}

Checking server...