Skip to content

CypherpunkSamurai/CodeServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CodeServer

GoVersion Websockets LSP

A Golang project that bridges LSP over websockets for VSCode like Autocompletion for Ace Editor (used by Replit), Monaco Editor (used by VSCode) and Code Mirror.

🤔 How Does this work?

This uses the github.com/gorilla/websockets/ library to bridge cmd.Exec over websockets. This allows us to do cool things like run a LSP server and get it's output using websocket.

⚠️ Note: This project was created in 2020 out of my own need to code on a mobile device with LSP Autocompletion. The target editor for this "Ace Editor" had no public LSP Clients back then to interact with this websocket server, thus this project was abandoned in favour of Neovim.

🔨 How to build

  1. clone the repo
git clone https://github.com/CypherpunkSamurai/CodeServer.git
  1. Run the go build
go build
  1. Run the binary
./codeserver
# or for windows
codeserver.exe

😊 Credits

  • Golang Developers
  • Gorilla Websocket Library

About

Bridge any LSP or shell command to websocket.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published