GhostText protocol wishlist
Open
discussion
enhancement
- Dominant language
- JavaScript
- Stars
- 3.6k
- Forks
- 133
- PR merge metrics
- No merged PRs in 30d
Description
## Current
- https://github.com/fregante/GhostText/blob/main/PROTOCOL.md
## Future
1. Just connect to WebSocket, no intermediary HTTP server
- alternatively, just use `EventSource` and HTTP/2 instead of WebSocket
2. Add timestamp to messages in order to discard messages that are out of order
2. Send the full URL on connection so that the editor can use the filename and/or set the syntax
2. the text selection can be sent separately from the content
2. the editor should not send the syntax back
2. send editor description/title/label (via `label`, `[title]`, `[aria-label]`, etc) to be used as tab title
Contributor guide
Assessment
This issue has not been assessed yet.