A tool that lets you write articles for wbsb.dev in your favorite text editor.
- Open wbsb.dev.
- Open the browser extension popup and turn on the
Auto connectswitch. - Run the command in the CLI.
- Once both the browser extension and CLI are connected to the bridge server, it is ready to use.
All commands share the following options.
--addr: The address of the bridge server to start, inhost:portformat. By default,127.0.0.1:8787is used.--allow-origin: Origins that are allowed to connect to the bridge server.--path: The endpoint path for the bridge WebSocket server. By default,/wsis used.
wbsb-remote-edit editStart editing an article in your favorite text editor.
Options
--title: The article title.--editor: The editor to use. By default,$EDITORis opened.--file: The Markdown file to use as the editor initial body.--save-to: Save the edited Markdown to the specified file or directory.
wbsb-remote-edit push README.mdSend Markdown to the browser editor.
Arguments
markdown-path: The Markdown file to send to the browser editor. This argument is required.--title: The article title.
wbsb-remote-edit pull Article.mdReceive an article from the browser editor.
Arguments
output-path: The destination file or directory. This argument is required.
Download and extract the file from Release.
For Windows
wbsb-remote-edit-cli--windows-.zip
For Mac
wbsb-remote-edit-cli--darwin-.tar.gz
For Linux
wbsb-remote-edit-cli--linux-.tar.gz
This endpoint is used as the bridge server.
While this switch is on, the extension keeps connecting to the bridge server specified in the Endpoint input.
Download and install the file from Release.
For Chrome
wbsb-remote-edit-chrome-.zip
For Firefox
wbsb-remote-edit-firefox-.xpi
nix develop or nix-direnv
nix build .# -o build/