Public
Like
EditorDemo
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Viewing readonly version of main branch: v29View latest version
This is a Val Town port of the VTLSP (Val Town Language Server Protocol) demo. It provides a CodeMirror-based editor with language server support.
backend/- Hono server that serves the frontend and handles WebSocket connectionsfrontend/- React-based CodeMirror editor with language server integrationshared/- Shared utilities and types
- CodeMirror editor with TypeScript support
- Language server integration via WebSocket
- Real-time code completion, hover information, and diagnostics
- Signature help and context menus
The main entry point is backend/index.ts which serves both the frontend and handles WebSocket connections for the language server.
This is ported from the Cloudflare Workers version at https://github.com/val-town/vtlsp