Skip to content

MellonScholarlyCommunication/KoreografeyeServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KoreografeyeServer

An experimental LDN inbox server with a Koreografeye backend.

Install

yarn

Example

Start the LDN inbox:

npx KoreografeyeServer start-server

Copy an example Event Notification in the inbox:

cp data/offer.jsonld inbox

Start the LDN inbox handler with the default rule set (./rules):

npx KoreografeyeServer handle-inbox

Example2

Start an experimental service with two LDN server that in a loop keep sying 'hi' to eachother.

Start server 1 (inbox: ./inbox1)

yarn server1

Start server2 (inbox: ./inbox2)

yarn server2

Start an inbox handler for ./inbox1:

yarn handle1

Start an inbox handler for ./inbox1:

yarn handle2

Inject the demo announce to ./inbox1:

cp data/announce.jsonld ./inbox1

Now in intervals of 10 seconds you'll see notifications appear and disappear in both inboxes.

See also

About

A Koreografeye backed LDN inbox server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published