https://github.com/y-js/meme-together
Collaborative Meme Editing *trollface*
https://github.com/y-js/meme-together
Last synced: 2 months ago
JSON representation
Collaborative Meme Editing *trollface*
- Host: GitHub
- URL: https://github.com/y-js/meme-together
- Owner: y-js
- Created: 2015-01-19T13:36:17.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-02-03T13:00:09.000Z (over 9 years ago)
- Last Synced: 2024-04-13T18:06:31.881Z (about 1 year ago)
- Language: HTML
- Size: 122 KB
- Stars: 6
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This is a showcase project for [Yjs](https://github.com/y-js/yjs).
Create memes collaboratively. Everyone is able to see the changes you make in Real-Time. Open this page in another tab and be amazed. You find the complete source code for this example on here. You can also include this in your project, if you want.
Test it out now on [my homepage](http://y-js.org/meme-together/)
# Howto include this
``````
In your body you can use this element like this.
``````
If you start a master client for your instance, you are able to serve thousands of users. Therefore you must set the syncMethod to "master-slave" and start the server with your room. (Check out server.js)
E.g.:
``````
By default, meme-together creates a room that has the value of `window.location.host`. Therefore every server has another instance. You can also set, or retrieve the current room: `$("meme-together")[0].room`.