REST Repl
v0.1.0Recursive web-based code editor with LSP support
Apache-2.0 196 downloads
Updated 4 months ago Repository
repleditorlsprecursive
Run
wippy run wolfy-j/replwolfy-j/repl
Recursive web-based code editor with LSP support. Edit the code that edits itself.
Features
- File browser sidebar
- Multi-tab code editor
- LSP integration for Lua (autocomplete, diagnostics, hover)
- Save with Ctrl+S
- File read/write API
- Dark theme (VS Code inspired)
Installation
- name: dependency.repl
kind: ns.dependency
component: wolfy-j/repl
version: ">=0.1.0"
Configuration
Requires .wippy.yaml in your project root for LSP support:
version: "1.0"
lua:
type_system:
enabled: true
lsp:
enabled: true
http_enabled: true
http_address: ":7778"
http_path: "/lsp"
http_allow_origin: "*"
Running
wippy run
Open http://localhost:8090 in your browser.
API Endpoints
GET /api/files?path=.- List files in directoryGET /api/files/{path}- Read file contentPUT /api/files/{path}- Write file contentGET /api/entries- List registry entriesPOST /api/entries- Create entryDELETE /api/entries- Delete entry
License
Apache-2.0