Elektrine lite

โ† Feed

@blinry@chaos.social

Post #531197

2025-02-05 22:33 UTC

Over the last couple of evenings, I put together a prototype for editing a @hedgedoc document from Neovim! ๐ŸŽ‰ This involved forking the rust-socketio crate to add support for Socket.IO 2.x, slightly extending our @ethersync editor plugin, and writing some "connecting glue". Not quite ready to publish โ€“ but would this be interesting/useful for any of you? EDIT: In the long run, this would support any editor that has a plugin speaking the Ethersync Protocol, see https://ethersync.github.io/ethersync/editor-plugin-dev-guide.html :)

Replies (11)

  • @blinry@chaos.social 2026-05-06 19:53

    I'm trying to get the @teamtype@fosstodon.org โ€“ @hedgedoc@fosstodon.org bridge into a publishable state this week, to allow you to edit HedgeDoc documents using editors like Neovim and VS Code! I could use your help to decide which HedgeDoc versions we should support: Could you go to the main page of your favorite HedgeDoc instance, scroll to the bottom, and check which release is linked from the "Source Code" link? ๐Ÿ™ (If you use multiple instances, feel free to check for all of them, the poll is multiple-choice.)

    Open ##2701904

  • @ljrk@todon.eu 2025-02-05 22:34

    @blinry@chaos.social @hedgedoc@fosstodon.org @ethersync@fosstodon.org OMG, yes, very much! Especially since HedgeDoc 2.0 lacks vim support right now 0:-)

    Open ##2701906

  • @scy@chaos.social 2025-02-05 22:34

    @blinry@chaos.social Oh, absolutely! This looks great!

    Open ##2701913

  • @DerMolly@toot.kif.rocks 2025-02-05 22:36

    @blinry@chaos.social @hedgedoc@fosstodon.org @ethersync@fosstodon.org Looks cool.

    Open ##2701914

  • @tinguin@chaos.social 2025-02-05 22:38

    @blinry@chaos.social Yes, please! @hedgedoc@fosstodon.org @ethersync@fosstodon.org

    Open ##2701915

  • @emcrx@infosec.exchange 2025-02-05 22:57

    @blinry@chaos.social This is so cool to see!! When I started working on HedgeDoc I always thought it would be nice if it could be used cross-editor... I hope that HedgeDoc 2.x will be even easier to integrate with Ethersync but I feel sanguine as both use CRDTs under the hood and the new WebSocket API should be more developer friendly than socketio.

    Open ##2701916

  • @chrysn@chaos.social 2025-02-05 23:01

    @blinry@chaos.social @hedgedoc@fosstodon.org @ethersync@fosstodon.org This would be super useful. All note taking that happens at #IETF happens in hedgedoc, and while it's nice that it works for everyone, I keep fighting the editor's behavior. Replacing that fighting with muscle memory attuned to my trusty .vimrc would free up valuable brain cycles of those who sketch protocols live while talking.

    Open ##2701917

  • @yonk@chaos.social 2025-02-05 23:13

    @blinry@chaos.social @hedgedoc@fosstodon.org @ethersync@fosstodon.org omg yes please, this is literally something on my eternal list of side projects I will never get to, but it would make my life so much better!

    Open ##2701925

  • @blinry@chaos.social @hedgedoc@fosstodon.org @ethersync@fosstodon.org how does this work? is it LS based (read: could be adapted for helix) or sth else?

    Open ##2701926

  • @kronn@ruby.social 2025-02-06 06:04

    @blinry@chaos.social @hedgedoc@fosstodon.org @ethersync@fosstodon.org This seems awesome. Like many others this is/was on my personal list of things I want to see getting better in the world.

    Open ##2701928

  • @tuxflo@chaos.social 2025-02-06 07:30

    @blinry@chaos.social @hedgedoc@fosstodon.org @ethersync@fosstodon.org YES! Would be useful and interesting to me.

    Open ##2701929