All Projects → microsoft → Fluidframework

microsoft / Fluidframework

Licence: mit
Library for building distributed, real-time collaborative web applications

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language
lua
6591 projects
Dockerfile
14818 projects
HTML
75241 projects
Mustache
554 projects
shell
77523 projects

Projects that are alternatives of or similar to Fluidframework

Yjs
Shared data types for building collaborative software
Stars: ✭ 5,894 (+64.09%)
Mutual labels:  collaboration, crdt, realtime
simplx
C++ development framework for building reliable cache-friendly distributed and concurrent multicore software
Stars: ✭ 61 (-98.3%)
Mutual labels:  realtime, distributed
dynamic-data-and-capabilities
[ARCHIVED] Dynamic Data and Capabilities in IPFS Working Group
Stars: ✭ 57 (-98.41%)
Mutual labels:  collaboration, crdt
SyncedStore
SyncedStore CRDT is an easy-to-use library for building live, collaborative applications that sync automatically.
Stars: ✭ 1,053 (-70.68%)
Mutual labels:  collaboration, crdt
Server
☁️ Nextcloud server, a safe home for all your data
Stars: ✭ 17,723 (+393.4%)
Mutual labels:  collaboration, distributed
Slate Collaborative
slatejs collaborative plugin & microservice https://slate-collaborative.herokuapp.com/
Stars: ✭ 236 (-93.43%)
Mutual labels:  collaboration, crdt
CoCreateCSS
A lightweight utility-first Atomic CSS framework promoting rapid UI development. No learning curve... Apply your native css property:value directly in class, then extract and transform it.
Stars: ✭ 13 (-99.64%)
Mutual labels:  realtime, collaboration
Plynx
PLynx is a domain agnostic platform for managing reproducible experiments and data-oriented workflows.
Stars: ✭ 192 (-94.65%)
Mutual labels:  collaboration, distributed
convergence-client-javascript
The Convergence JavaScript Client
Stars: ✭ 38 (-98.94%)
Mutual labels:  realtime, collaboration
traffic
Massively real-time traffic streaming application
Stars: ✭ 25 (-99.3%)
Mutual labels:  realtime, distributed
wiz-editor
多人实时富文本 编辑器,可以嵌入各种应用中。支持markdown语法。
Stars: ✭ 208 (-94.21%)
Mutual labels:  realtime, collaboration
Peer Base
Build real-time collaborative DApps on top of IPFS
Stars: ✭ 208 (-94.21%)
Mutual labels:  collaboration, crdt
Swellrt
SwellRT main project. Server, JavaScript and Java clients
Stars: ✭ 205 (-94.29%)
Mutual labels:  collaboration, realtime
CoCreate-dashboard
A simple dashboard component in vanilla javascript. Easily configured using HTML5 attributes and/or JavaScript API.
Stars: ✭ 20 (-99.44%)
Mutual labels:  realtime, collaboration
Bit
A tool for component-driven application development.
Stars: ✭ 14,443 (+302.09%)
Mutual labels:  collaboration, distributed
javascript-examples
Examples for the Convergence Real-time Collaboration Engine
Stars: ✭ 40 (-98.89%)
Mutual labels:  realtime, collaboration
convergence-project
The project used for Convergence Project Management and Issue Reporting
Stars: ✭ 33 (-99.08%)
Mutual labels:  realtime, collaboration
Skypad
Skypad
Stars: ✭ 141 (-96.07%)
Mutual labels:  collaboration, realtime
Blindpad
Collaborative text editor (like Google Docs or CoderPad) with integrated semi-anonymizing voice chat intended to help reduce bias in technical communication.
Stars: ✭ 191 (-94.68%)
Mutual labels:  collaboration, crdt
nova
Web framework for Erlang.
Stars: ✭ 175 (-95.13%)
Mutual labels:  realtime, distributed

Fluid

The Fluid Framework is a library for building distributed, real-time collaborative web applications using JavaScript or TypeScript.

Getting started using the Fluid Framework

You may be here because you want to...

  • Learn more about the Fluid Framework
  • Build a Fluid object

Documentation and guides can be found at https://fluidframework.com/.

Hello World repo can be found at https://github.com/microsoft/FluidHelloWorld.

Core Examples repo can be found at https://github.com/microsoft/FluidExamples.

Have questions? Engage with other Fluid Framework users and developers in the [Discussions] section of our GitHub repo.

Code structure

The core code for both the Fluid client packages and the reference ordering service is contained within this repo.

The repo structure is somewhat unique because it contains two monorepos as well as several standalone packages. The monorepos are managed using Lerna and are versioned separately from one another, but internally all packages in a monorepo are versioned together. Outside the monorepos there are plenty of packages which are versioned independently.

Here's the breakdown of the repo:

Dependencies between packages in various layers of the system are enforced via a build step called layer-check. You can view the full list of packages and layers in docs/PACKAGES.md.

Building

In order to build the Fluid Framework, ensure that you have installed Git and the version of Node.js noted in the .nvmrc file.

Note: we recommend using nvm (for Windows or MacOS/Linux) or fnm to install Node.js, in case you find yourself needing to install different versions of Node.js side-by-side.

Clone a copy of the repo and change to the repo root directory:

git clone https://github.com/microsoft/FluidFramework.git
cd FluidFramework

Run the following to build the client packages:

npm install
npm run build:fast

See also: Contributing

Testing

You can run all of our tests from the root of the repo, or you can run a scoped set of tests by running the test command from the package you're interested in.

Note: Some of the tests depend on test collateral that lives in a submodule here: https://github.com/microsoft/FluidFrameworkTestData. You may choose to fetch that collateral into your local repository, which is required to run all the tests - otherwise some will be skipped.

First install Git LFS from https://git-lfs.github.com/. Then, from the repo root:

git lfs install
git submodule init
git submodule update

Run the tests

npm run test

Include code coverage

npm run test:coverage

Mimic the official CI build

Our CI pipelines run on Linux machines, and the npm scripts all have the ci prefix. To replicate the test steps from the CI pipeline locally, run the following commands for the packages or Lerna monorepos:

Run Non-Windows Windows
PR npm run ci:test npm run test:report && npm run test:copyresults
Official npm run ci:test:coverage npm run test:coverage && npm run test:copyresults

Run tests from within VS Code

We've checked in VS Code configuration enabling F5 from a spec.ts file to run those tests if you set the debug configuration to "Debug Current Test".

Run it locally

Single browser window, two panes

This will use an in-memory implementation of the Fluid server to sync between the two panes in the browser window.

  • Choose an example under /examples
  • Navigate to the example's directory, e.g. /examples/data-objects/clicker
  • npm run start
  • Browse to http://localhost:8080 to interact with two copies of the example side-by-side

Multiple browser instances on the same device

This will run the local Fluid server implementation we call "Tinylicious", so you can sync between multiple browser instances.

First, start Tinylicious by running these commands from /server/tinylicious:

npm install
npm run build
npm run start

Then:

  • Navigate to the example of your choice (same as above)
  • npm run start:tinylicious
  • Browse to http://localhost:8080, copy the full URL you're redirected to, and open in a second window to collaborate

Contributing

There are many ways to contribute to Fluid.

Detailed instructions for working in the repo can be found in the Wiki.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

This project may contain Microsoft trademarks or logos for Microsoft projects, products, or services. Use of these trademarks or logos must follow Microsoft’s Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].