https://github.com/rwth-acis/syncmeta
Near real-time collaborative modeling framework
https://github.com/rwth-acis/syncmeta
collaborative modeling yjs
Last synced: 3 months ago
JSON representation
Near real-time collaborative modeling framework
- Host: GitHub
- URL: https://github.com/rwth-acis/syncmeta
- Owner: rwth-acis
- License: other
- Created: 2014-04-30T13:35:48.000Z (over 11 years ago)
- Default Branch: main
- Last Pushed: 2023-11-22T15:00:04.000Z (almost 2 years ago)
- Last Synced: 2024-04-09T17:36:17.197Z (over 1 year ago)
- Topics: collaborative, modeling, yjs
- Language: JavaScript
- Homepage:
- Size: 35.4 MB
- Stars: 11
- Watchers: 28
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Authors: AUTHORS.txt
Awesome Lists containing this project
README
# SyncMeta - Near real-time collaborative modeling framework
For the full documentation, please visit the [SyncMeta Documentation](https://github.com/rwth-acis/syncmeta/wiki).
## Build and RunThe easiest way to build and run Syncmeta is to use Docker. If you don't have Docker installed, you can find the installation instructions [here](https://docs.docker.com/get-docker/).
### Using Docker
Run the following command
```sh
docker compose -f "docker-compose.yml" up -d --build
```This will build the Syncmeta Docker image and run the containers for Syncmeta and the y-websocket. After the container started to run, the application will be accessible via
### Dev server
There is also the possibility to launch a local dev server. On the first usage, you need to install the dependencies for the `example-app` and the `widgets`. Navigate to the respective folders and run `npm i`.
Now, navigate back to the `example-app` folder of the repository and run
```sh
npm run dev
```This will run watchers that will rerun the build process on any changes you make to the app or widgets.
The application will be accessible via
## Usage
When the application is up and running, you will see two options on the main page: the meta-modeling space and the modeling space. As their names imply, you can create the metamodel in the meta modeling space and after creating the meta model, it can be uploaded to the modeling space with the 'Generate Metamodel' button. The created metamodel can be tried instantly in the modeling space in this way.
## Updating and Publishing
We follow a SemVer-like versioning scheme, where new releases are tagged with a version number.
If you want to publish a new release, you need to create a new tag and push it to the repository. Furthermore, you need to update the version number in the `package.json` file to match the tag you just created.
The repository is configured to automatically bundle the widgets and publish them to NPM if you publish a new release.
The CI is configured in `.github\workflows\npm-publish.yml`.
The CI checks if the tag matches the version number in the `package.json` file and if so, it will publish the widgets to NPM.## Demo Videos
* [SyncMeta vs. SyncLD](https://youtu.be/owLa2jO3NJg) SyncMeta vs. Domain-dependent IMS LD Collaborative Authoring Tool, using OT.
* [SyncMeta](https://youtu.be/La8vw8OAauE) SyncMeta using Operational Transformation.
* [SyncMeta Nudges](https://youtu.be/Clc0q7k75Ko) SyncMeta with Collaborative Modeling Recommendations, using Operational Transformation.
* [Community Application Editor](https://youtu.be/Vuyj2e32ePk) Model-Driven Web Engineering Framework based on SyncMeta, using Operational Transformation.
* [Community Application Editor Live Coding](https://youtu.be/vxW6k_L0iOk) Model-Driven Web Engineering Framework with model-to-code synchronization, live coding and live preview, based on SyncMeta, using Yjs.
* [Storytelling Tool](https://youtu.be/enKijrMpYe0) Collaborative Storytelling with 3D Objects realized with SyncMeta using Yjs