Replies: 2 comments 1 reply
-
Yes, on a technical level, it's possible. In fact, if you didn't care about security/authentication at all, you would only need to run neovim on your server and change the server Firenvim connects to.
I have similar dreams :) |
Beta Was this translation helpful? Give feedback.
-
I actually managed to pull this off with a bit of hacking but the performance isn't at the level I'm happy with. Doesn't look like firenvim scales well with a 4k textarea (But I wouldn't expect it to). This was a really fun experiment tho. If anyone wants to do this in the future, this is roughly what I did:
I had to stub out all of the qalls too as I only want to detach (but not quit) on detach. Overall if the performance was there (it might be, I might be missing something) Firenvim, could easily be adapted to work like Neovim QT & Neovide remote attach feature assuming you create a dummy web page with a textarea that spawns 100% of the page. |
Beta Was this translation helpful? Give feedback.
-
I am trying to do some research on a project I've wanted to work on for several years (Using the browser to connect to a headless neovim session) and I'm considering leveraging this either as a reference for how to render a nvim client in the browser, or maybe firenvim has already solved the problem for me.
Use Case
I currently run Neovim Headless and connect to it over a reverse-SSH session. To do this I use Neovide as It's the best performing Neovim client with good hardware acceleration (you an use nvim to do this now too). Figure below for reference:
I want to go a step further and do this:
I try and explain this architecture to other Neovim users and they laugh at me because they don't understand why anyone would ever use a Browser to use Neovim. (For me it's Neovim everywhere). This project has similar design goals so I was hoping I could springboard a possible solution so I can start working on this as it has been bugging me for years now.
Beta Was this translation helpful? Give feedback.
All reactions