replaydb
v0.0.1
Published
decentralized timeseries database
Downloads
4
Maintainers
Readme
ReplayDB
A decentralized database with HTTP and WebSocket interface, based on hyperkafka.
npm i -g replaydb
Usage
$ replaydb path [key] [--port=8080]
Interface
GET /:topic/:offset
Return the message with given offset in the specified topic.
POST /:topic
Append a new message (passed by post body) to the topic.
ws://<HOST>/live/:topic/:offset
Return and listen all messages after the given offset in the specified topic with websocket.
License
The MIT License