ircnvim
ircnvim copied to clipboard
Suggestion: Implement this as a weechat frontend
Hi
I've always looked for an irc client that lets me fully use vim editing capabilities, so this is very close to what I want. But feature-wise, it will be very hard to compete with weechat(which has been around for a while, is highly extensible, and has a great plugin echosystem). The good thing about weechat is that it can run as a server, with the frontend running at a different machine.
Take my use case for example, I have a weechat server running in a vps and use it with glowing-bear through ssh. Glowing bear is just a javascript frontend that connects to a local weechat using websockets.
So here's my suggestion: Consider implementing this project as a frontend for weechat. The protocol is very well documented, and by building on top of weechat you'd get the best of two worlds: a very robust/secure/fully-featured irc client with vim editing capabilities! My guess is that you'll also have much less code to maintain(might even be possible to parse the weechat protocol in pure vimscript/job control, without requiring an additional server component)
Thanks for the suggestion, I like it a lot!
I think using something mature like weechat as a backend is basically necessary for this plugin to be practical at all. My homebrewed backend doesn't support SSL/TLS, and there are tons of obscure parts of the IRC protocol that it isn't aware of, etc.
I looked at documentation you linked, and it looks pretty manageable. I'm going to take a stab at getting it working when I find some time.
That is a great idea. Eager to see that coming one day! :+1: