{"id":16009484,"url":"https://github.com/fwcd/whiteboard","last_synced_at":"2026-03-03T09:08:50.226Z","repository":{"id":98826922,"uuid":"121029832","full_name":"fwcd/whiteboard","owner":"fwcd","description":"2D drawing application with real-time collaboration","archived":false,"fork":false,"pushed_at":"2020-11-17T01:35:38.000Z","size":333,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-02-15T16:40:08.364Z","etag":null,"topics":["2d-graphics","canvas","drawingboard","paint","whiteboard"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fwcd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-02-10T15:58:27.000Z","updated_at":"2024-04-07T08:09:23.000Z","dependencies_parsed_at":"2023-05-25T16:30:20.568Z","dependency_job_id":null,"html_url":"https://github.com/fwcd/whiteboard","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/fwcd/whiteboard","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fwcd%2Fwhiteboard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fwcd%2Fwhiteboard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fwcd%2Fwhiteboard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fwcd%2Fwhiteboard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fwcd","download_url":"https://codeload.github.com/fwcd/whiteboard/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fwcd%2Fwhiteboard/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30038672,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-03T06:58:30.252Z","status":"ssl_error","status_checked_at":"2026-03-03T06:58:15.329Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["2d-graphics","canvas","drawingboard","paint","whiteboard"],"created_at":"2024-10-08T13:02:30.083Z","updated_at":"2026-03-03T09:08:50.222Z","avatar_url":"https://github.com/fwcd.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Whiteboard\r\n2D drawing application based on [Sketch](https://github.com/fwcd/Sketch) featuring real-time collaborative editing.\r\n\r\n![Screenshot](screenshot.png)\r\n\r\n## Running the client\r\n* `./gradlew :client:run`\r\n\r\n## Running the server\r\n* `./gradlew :server:run`\r\n\r\n## Running the test client\r\n* `./gradlew :testclient:run --console=plain`\r\n\r\n## Extending the Protocol\r\nThe protocol is defined by [a specification](Protocol.md) and has a default Java implementation. To create additional events and requests, both need to be updated:\r\n\r\n* Add the new declaration to [Protocol.md](Protocol.md)\r\n* Navigate to the `shared` module\r\n* For a request:\r\n    * Add the request name to `RequestName`\r\n    * Subclass `Request`\r\n    * Add a new method referencing the subclass to `WhiteboardServer`\r\n* For an event:\r\n    * Add the event name to `EventName`\r\n    * Subclass `Event`\r\n    * Add a new method referencing the subclass to `WhiteboardClient`\r\n* Inside the new subclass:\r\n    * Implement the necessary fields (matching the protocol declaration)\r\n    * Add a protected no-argument-constructor (for Gson)\r\n    * Add a public constructor initializing all fields (including those in superclasses)\r\n    * Add public getters for all added fields\r\n    * Implement toString\r\n* Update `MessageDeserializer`\r\n* Update the `LocalWhiteboardServer`/`LocalWhiteboardClient` implementation\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffwcd%2Fwhiteboard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffwcd%2Fwhiteboard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffwcd%2Fwhiteboard/lists"}