bracey.vim icon indicating copy to clipboard operation
bracey.vim copied to clipboard

SSI support for bracey.vim

Open ChausseBenjamin opened this issue 4 years ago • 1 comments

Many server implementation allow to have server side scripts run when displaying a webpage. For example, You can show a header using <!--#include file="header.html" --> as an html comment.

More information on SSI can be found here: https://www.yourhtmlsource.com/sitemanagement/includes.html

Would it be feasible to implement this in Bracey.vim?

ChausseBenjamin avatar Jun 26 '20 05:06 ChausseBenjamin

Bracey's static server is intentionally very simple. Re-implementing the breadth features provided by other more complex static servers isn't really worth the effort.

I'm open to a mode where it operates as a proxy though. This would make it possible to use SSI by delegating to another server with this feature. The idea being Bracey could provide some kind of interactive editing on top of any dynamic server, though the implementation details of that are pretty tricky.

turbio avatar Jul 11 '20 02:07 turbio