@nostrdocs/tinycollab
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

@nostrdocs/tinycollab

Tinycollab is a minimal, self-contained, test implementation of the Fluid Framework service packaged as a Nostr relay.

What is this for?

Tinycollab is for testing real-time collab experiences and applications built on Fluidframework patterns and distributed over Nostr protocol

Getting Started

You can install, build, and start this service by cloning TinyCollab from source

git clone https://github.com/nostrdocs/tinycollab.git

Build and run it locally:

npm i
npm run build
npm run start

Alternatively, you can run the latest version by

npx @nostrdocs/tinycollab@latest

Now you can test your development experience against this local instance of Tinycollab

Configuration

Port

Tinycollab uses port 7070 by default. You can change the port number by setting an environment variable named TINYCOLLAB_PORT to the desired number. For example:

$env:TINYCOLLAB_PORT=6502
npm run start

Storage

The config.json file can be used to configure the Tinylicious service.

Parameter Description Default
db.inMemory Boolean indicating whether ops are stored in memory or to disk true
db.path If db.inMemory is false the folder on disk to store the ops "/var/tmp/db"
storage Storage path for snapshots "/var/tmp/tinylicious"

See config.json for more settings and their defaults.

Readme

Keywords

none

Package Sidebar

Install

npm i @nostrdocs/tinycollab

Weekly Downloads

0

Version

0.1.0

License

none

Unpacked Size

295 kB

Total Files

171

Last publish

Collaborators

  • okjodom