New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@nostrdocs/tinycollab

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nostrdocs/tinycollab

Nostr collab relay service, adapted from @fluidframework/tinylicious

0.1.0
latest
npm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

@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.

ParameterDescriptionDefault
db.inMemoryBoolean indicating whether ops are stored in memory or to disktrue
db.pathIf db.inMemory is false the folder on disk to store the ops"/var/tmp/db"
storageStorage path for snapshots"/var/tmp/tinylicious"

See config.json for more settings and their defaults.

FAQs

Package last updated on 12 Mar 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts