REST Repl

v0.1.0
0 PublicApp

Recursive web-based code editor with LSP support

Apache-2.0 196 downloads
Updated 4 months ago Repository
repleditorlsprecursive

Run

wippy run wolfy-j/repl

wolfy-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 directory
  • GET /api/files/{path} - Read file content
  • PUT /api/files/{path} - Write file content
  • GET /api/entries - List registry entries
  • POST /api/entries - Create entry
  • DELETE /api/entries - Delete entry

License

Apache-2.0