DEV Community

Cover image for Kyoto: Golang SSR-first Frontend Library
Yurii Zinets
Yurii Zinets

Posted on

Kyoto: Golang SSR-first Frontend Library

https://github.com/yuriizinets/kyoto

This library implements an HTML render engine concept that brings frontend-like components experience to the server side with native html/template on steroids. Supports any serving basis (net/http/gin/etc), that provides io.Writer in response.

Main motivation is to reduce usage of popular SPA/PWA frameworks where it's not needed because it adds a lot of complexity and overhead. There is no reason to bring significant runtime, VirtualDOM, and Webpack into the project with minimal dynamic frontend behavior. This project proves the possibility of keeping most of the logic on the server's side.

References:

Top comments (0)