Skip to content

Krestianstvo SDK 4 is the OSS implementation of Croquet architecture in functional reactive paradigm using Solid JS. For developing serverless collaborative and multiplayer applications.

License

Notifications You must be signed in to change notification settings

tranoo/krestianstvo-tranoo

 
 

Repository files navigation

Krestianstvo SDK 4 | Solid JS

image

Krestianstvo SDK 4 is the Open Source implementation of the Croquet application architecture in Functional Reactive Paradigm.

Live Demo

https://play.krestianstvo.org

Documentation

https://docs.krestianstvo.org

Q&A Discord channel

Krestianstvo SDK 4 is mainly developed using Solid JS with the prototype in S.JS. Other implementations are also underway for Rust, Swift and Squeak Smalltalk programming languages.

The applications built with Krestianstvo SDK 4 are using just Signals, Effects and reactive computations to get the original scene of Croquet's Objects with Message passing but implemented in Functional Reactive Paradigm (FRP).

Virtual Time and Reflector are based on Virtual World Framework's implementation, modified to suit FRP. Support for running applications built with SDK in peer-to-peer Web, mesh and decentralised networks even without Reflector server is underway, by using Krestianstvo Luminary.

Krestianstvo SDK 4 - is minimal and distributed as a standalone ESM JavaScript module to be bundled within any Solid JS or Astro web applications.

Getting all the benefits from Functional Reactive Paradigm (FRP), Krestianstvo SDK 4 become just an ideal framework for developing and deploying multi-user, collaborative serverless apps with ease. It is brining closer to the realisation the ideas about an End-User Mobile Web XR Virtual Learning Environment founded in the previous versions of Krestianstvo SDK.

Croquet FRP implementations founded in SDK 4
Language FRP library Status
krestianstvo JavaScript Solid JS active development
krestianstvo-s.js JavaScript S.js prototype
krestianstvo-electric Clojure Electric prototype
krestianstvo-rust Rust Leptos in work
krestianstvo-swift Swift Bow-Swift future work
krestianstvo-squeak Smalltalk S.Squeak future work

Develop Applications

npm install krestianstvo --save

CodeSandbox demo project

or

Clone and run Krestianstvo | Core

git clone https://github.com/NikolaySuslov/krestianstvo 
npm install  
npm run dev  

By default Vite will start the development server: http://localhost:5173
Copy this link to Web browser.

You need to run local Reflector server or connect to the public one.
Public running reflector server address: https://time.krestianstvo.org

Run your local server

git clone https://github.com/NikolaySuslov/lcs-reflector 
npm install  
npm run start 

By default Reflector server will start at: http://localhost:3001

Build and deploy

The project is using Vite for bundling the Krestianstvo library

npm run build  
npm run serve

Glitch demo bundled project with Reflector

Contributing

All code is published under the MIT license

About

Krestianstvo SDK 4 is the OSS implementation of Croquet architecture in functional reactive paradigm using Solid JS. For developing serverless collaborative and multiplayer applications.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 98.5%
  • Other 1.5%