Go to file
Luca 44853e1119 docs(README.md): add note regarding `time` global 2025-09-21 00:08:57 +02:00
scripts initial commit 2025-09-20 03:24:59 +02:00
.editorconfig initial commit 2025-09-20 03:24:59 +02:00
.gitignore initial commit 2025-09-20 03:24:59 +02:00
README.md docs(README.md): add note regarding `time` global 2025-09-21 00:08:57 +02:00
app.js initial commit 2025-09-20 03:24:59 +02:00
index.html initial commit 2025-09-20 03:24:59 +02:00
keymap.lua initial commit 2025-09-20 03:24:59 +02:00
package-lock.json initial commit 2025-09-20 03:24:59 +02:00
package.json initial commit 2025-09-20 03:24:59 +02:00
style.css initial commit 2025-09-20 03:24:59 +02:00
vite.config.js initial commit 2025-09-20 03:24:59 +02:00

README.md

hydra-rce

Send code to Hydra from Neovim

Usage

  • Add contents of keymap.lua to your Neovim config
  • Install dependencies
    • Server: aiohttp, websockets
    • Hydra: simply run npm install
  • Run server (scripts/server.py) and Hydra (npm run dev)
  • Try running the following snippet by selecting it in visual mode and pressing Alt+Enter:
solid([1, 0, 0], [0, 1, 0], [0, 0, 1]).out();

Note: If Hydra is not visible (i.e. when you don't have it next to your editor/on another screen), the time global is only updated roughly once a second.