https://github.com/syumai/gpgsync
The Go Playground with coedit mode.
https://github.com/syumai/gpgsync
go golang nodejs socket-io
Last synced: 7 months ago
JSON representation
The Go Playground with coedit mode.
- Host: GitHub
- URL: https://github.com/syumai/gpgsync
- Owner: syumai
- License: mit
- Created: 2020-09-05T13:45:52.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-12-31T14:38:01.000Z (about 4 years ago)
- Last Synced: 2025-04-09T08:04:50.275Z (10 months ago)
- Topics: go, golang, nodejs, socket-io
- Language: JavaScript
- Homepage: https://gpgsync.herokuapp.com
- Size: 144 KB
- Stars: 21
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# gpgsync
* The Go Playground with coedit mode.
## Demo
https://gpgsync.herokuapp.com
### Features
```console
# Open room
https://gpgsync.herokuapp.com/rooms/:roomId
# Use shared content to create room
https://gpgsync.herokuapp.com/p/:sharedContentId
# Open room with shared content
https://gpgsync.herokuapp.com/rooms/:roomId/p/:sharedContentId
```
* shared content ID can be gotten by Go Playground's `share` function.
- example: https://gpgsync.herokuapp.com/rooms/exampleRoom/p/xXqRTAb2hu7
## Usage
```
npm install
node server.js // Runs on http://localhost:8080
```
## Dependencies
* [socket.io](https://socket.io/)
* [ot.js](https://github.com/Operational-Transformation/ot.js)
* [@syumai/goplayground](https://github.com/syumai/goplayground-js)
## References
* Original `The Go Playground` by Go team
- https://play.golang.org/
* Base Idea from ttakuru88: https://github.com/ttakuru88/ot_sample
- Blog: https://kray.jp/blog/algorithm-operational-transformation/
## Author
syumai
## LICENSE
MIT