# Openziti for real-time code editing

**URL:** <https://openziti.discourse.group/t/openziti-for-real-time-code-editing/1740>\
**Category:** Building/Development\
**Created:** [October 28, 2023, 3:59pm UTC](https://openziti.discourse.group/t/openziti-for-real-time-code-editing/1740 "2023-10-28T15:59:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gaurishhs](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/gaurishhs/32/1472_2.png) [@gaurishhs](https://openziti.discourse.group/u/gaurishhs)\
**Post date:** [October 28, 2023, 3:59pm UTC](https://openziti.discourse.group/t/openziti-for-real-time-code-editing/1740/1 "2023-10-28T15:59:39Z")

</div>

Hi! I just discovered OpenZiti and it looks like an amazing piece of software. I even went through the zrok project which looks fantastic! I'm trying to build a FOSS real-time code-editing plugin for (n)vim and openziti seems like a really good choice to me. However, I'm wondering if it could sync file-changes in real-time. zrok's implementation of caddy file server seems to update only on reloads. Something like websockets could be really helpful. Please guide me on how this could be possible via openziti?

I think using websockets for file-sharing and editing on-the go would be a better choice than choosing ziti for real-time editing.

---

<div class="post-metadata">

**Author:** ![michael.quigley](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/michael.quigley/32/1123_2.png) [@michael.quigley](https://openziti.discourse.group/u/michael.quigley)\
**Post date:** [October 28, 2023, 7:57pm UTC](https://openziti.discourse.group/t/openziti-for-real-time-code-editing/1740/2 "2023-10-28T19:57:40Z")

</div>

Hi! You certainly could use a websocket for real-time updates... and this would actually work just fine over an OpenZiti connection. Under the covers, OpenZiti connections act just like a conventional TCP connection, which is what websockets build on top of.
