docs: add README.md

This commit is contained in:
Luca 2025-09-20 03:49:05 +02:00
parent 0cd7ccdc6d
commit ef9873e59a
1 changed files with 16 additions and 0 deletions

16
README.md Normal file
View File

@ -0,0 +1,16 @@
# 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:
```javascript
solid([1, 0, 0], [0, 1, 0], [0, 0, 1]).out();
```