remote-editor
1.0.0 • Public • Published Remote Editor For AST Explorer
- Use websockets to transfer source code from a remote editor to ast explorer.
- There can only be one remote session connected because the remote editor is where the server is.
- The ast explorer connects to the websocket server hosted close to your remote editor.
- Set up a cli that starts the websocket server and console the url in the terminal.
- The cli listens to source code changes and posts the changes via the websocket channel to the ast explorer.
Steps on the ast explorer
- The user enters the websocket url.
- The ast explorer connects to the server.
- Once the server acknowledges the connection, the ast explorer starts listening for code pushes.
- When the file changes on server end, the server sends a code push to client.
Readme
Keywords
nonePackage Sidebar
Install
Weekly Downloads
Last publish