I created a small websocket server under node.js tiddlywiki to live communicate with external tools (e.g. vs code and R).
The codes can be found here: https://tw-livebridge.bangyou.me/
I used this bidirectional communication features of TW into VS Code and R to open and/or edit a tiddler.
- TiddlyEdit (VS Code extension) – allows seamless editing of tiddlers directly from VS Code.
- rtiddlywiki (R package) – enables preview of R Markdown files inside TiddlyWiki.
These tools don’t use the plugin code directly; instead, they rely on the real-time communication channel established by TW LiveBridge.
This small websocket server might be useful in other external programs.