Build-your-own ide

152 points AlAn_GaToR

https://preview.redd.it/nx7fuwk04yzd1.png?width=3022&format=png&auto=webp&s=3ab0711e50bee1a14dae47a3a05d159553355177

As promised from a week ago, I've uploaded my Rust-based IDE server code to GitHub. Thanks to everyone who showed interest!

This is a Rust-based IDE server that lets you build whatever frontend you want. Web, terminal, VR, AI whatever. The server handles all the heavy lifting (file operations, LSP, etc.) through a simple WebSocket API.

GitHub: https://github.com/JaLnYn/websocket-ide

Current state:

  • Basic file operations working
  • LSP support (completion, hover, go-to-def (only tested for "rust-analyzer"))
  • Real-time file watching

I'm very much a beginner when it comes to IDE architecture, so I'd love to get feedback on:

  • Code structure
  • Performance bottlenecks
  • Missing features
  • Security considerations
  • Really, anything you think could be better

Want to help build something cool? Here's how:

  1. Try building a frontend - CLI, web, whatever interests you. I would really appreciate feedback on how to make the api more use-friendly.
  2. Open issues for bugs or missing features you find
  3. Share your ideas for what you'd build with this!
  4. Star the repo if you want to keep track of updates :)

I'd love to see what creative interfaces people come up with.

Also open to name suggestions. "websocket-ide" isn't very creative 😅