This project is being developed primarily with AI support. Any help with improving the code is welcome!
I don't promise that all functionalities, even those described in the readme, will work.
Control Zed editor from your Stream Deck!
cd zed-streamdeck-extension/src
node server.jsServer will run on http://localhost:21422
cd zed
npm install
npm run buildcd zed
npm run watch# Install dependencies
cd zed
npm install
# Build plugin
npm run build
# Copy to Stream Deck
xcopy /E /Y com.lenerystia.zed.sdPlugin %APPDATA%\Elgato\StreamDeck\Plugins\- Start server:
node zed-streamdeck-server.js - Open Stream Deck
- Use your Zed buttons!
/window/new- Open new Zed window/terminal/toggle- Toggle terminal/navigate/file- Open file picker (Ctrl+P)/edit/save- Save file/edit/format- Format document/build- Build project/run- Run project
# Find process
netstat -ano | findstr :21422
# Kill process (replace PID with actual number)
powershell -Command "Stop-Process -Id PID -Force"- Close Stream Deck
- Rebuild:
npm run build - Restart Stream Deck
Stremdeck-zed/
├── zed-streamdeck-server.js # HTTP server
├── zed/ # Stream Deck plugin
│ ├── src/
│ │ ├── plugin.ts
│ │ └── actions/
│ │ └── zed-action.ts
│ └── com.lenerystia.zed.sdPlugin/
│ └── manifest.json
- Add endpoint to
zed-streamdeck-server.js:
case '/your/action':
sendKeys('ctrl+shift+p');
res.end(JSON.stringify({ status: 'ok' }));
break;- Rebuild plugin:
npm run build - Restart Stream Deck
Made by Marlena Makosza