{"id":13553708,"url":"https://github.com/mountainflo/collaborative-text-editor","last_synced_at":"2026-01-20T00:07:10.534Z","repository":{"id":57747957,"uuid":"229461017","full_name":"mountainflo/collaborative-text-editor","owner":"mountainflo","description":"Collaborative Realtime Texteditor with gRPC","archived":false,"fork":false,"pushed_at":"2023-02-25T03:28:18.000Z","size":476,"stargazers_count":29,"open_issues_count":6,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-03T05:32:06.733Z","etag":null,"topics":["codemirror","collaborative-editing","crdt","grpc","grpc-go","grpc-web","realtime-collaboration"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mountainflo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2019-12-21T17:30:16.000Z","updated_at":"2024-10-03T13:02:47.000Z","dependencies_parsed_at":"2024-01-19T18:02:35.586Z","dependency_job_id":null,"html_url":"https://github.com/mountainflo/collaborative-text-editor","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/mountainflo/collaborative-text-editor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mountainflo%2Fcollaborative-text-editor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mountainflo%2Fcollaborative-text-editor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mountainflo%2Fcollaborative-text-editor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mountainflo%2Fcollaborative-text-editor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mountainflo","download_url":"https://codeload.github.com/mountainflo/collaborative-text-editor/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mountainflo%2Fcollaborative-text-editor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28590676,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T00:01:37.455Z","status":"ssl_error","status_checked_at":"2026-01-19T23:58:17.328Z","response_time":67,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["codemirror","collaborative-editing","crdt","grpc","grpc-go","grpc-web","realtime-collaboration"],"created_at":"2024-08-01T12:02:31.643Z","updated_at":"2026-01-20T00:07:10.518Z","avatar_url":"https://github.com/mountainflo.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","others"],"sub_categories":[],"readme":"# Collaborative Realtime Texteditor [![Build Status](https://travis-ci.com/mountainflo/collaborative-text-editor.svg?token=4zw9EzexndWUV9DTxZpz\u0026branch=master)](https://travis-ci.com/mountainflo/collaborative-text-editor)\n\nCollaborative realtime texteditor with gRPC using RGAs (Replicated Growable Arrays).\n\n![Screenshoot Collaborative Texteditor](documentation/collab-texteditor-browser.png)\n\nWith the collaborative realtime texteditor several users can edit documents together in realtime.\nVia Remote-Cursors the current editing positions of the other users are always visible.\n\nThe implementation of the collaborative realtime editor is using a variant of RGAs (Replicated Growable Arrays).\nThe RGA-protocol is implemented as Timestamped Insertion Tree (TI Tree) and guarantees \"Eventual Consistency\".\n\nFor more details about the implementation see: [documentation.md](documentation/documentation.md)\n\n## Running the project\n\nThe project is built with docker-compose. Before getting started you have to install ```docker-compose```.\n\nYou can start the ```production```-configuration with the following docker-compose command:\n\n```sh\ndocker-compose -f docker-compose.yml -f docker-compose.prod.yml up --build\n```\n\nOpen a browser tab, and go to: ```http://localhost:8081/index.html```\n\nTo shutdown the containers: ```docker-compose down```\n\n\n## Local development\n\n### Remote debugging and hot reloads\n\nThe ```dev```-configuration uses hot-reloads (for js and scss files) and offers remote debugging for go files via `delve`.\n\nCreate a \"Go Remote Debugging\"-Configuration in your IDE and listen to port `40000`.\n\n\nStart the ```dev```-configuration with:\n\n```sh\ndocker-compose -f docker-compose.yml -f docker-compose.dev.yml up --build\n```\n\n\n### Compiling proto files for go\n\n```sh\ngo get -u google.golang.org/grpc\ngo get -u github.com/golang/protobuf/protoc-gen-go\n\nprotoc -I collabTexteditorService/ collabTexteditorService/collabTexteditorService.proto --go_out=plugins=grpc:collabTexteditorService\n```\n\n### Compiling proto files for js\n\n```sh\nprotoc -I collabTexteditorService collabTexteditorService/collabTexteditorService.proto \\\n--js_out=import_style=commonjs:./frontend/src \\\n--grpc-web_out=import_style=commonjs,mode=grpcwebtext:./frontend/src\n```\n\n### Debugging with docker\n\nTo open the console of a specific container run:\n\n```sh\ndocker exec -it collaborative-text-editor_frontend-client_1 /bin/bash\n```\n\nThe following command gives you a list of status of all containers:\n\n```sh\ndocker-compose ps\n```\n\n### Bundling and building js-Frontend\n\n```sh\nnpm install\nnpm run build\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmountainflo%2Fcollaborative-text-editor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmountainflo%2Fcollaborative-text-editor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmountainflo%2Fcollaborative-text-editor/lists"}