coco
coco copied to clipboard
running outside the browser in a cli
Really cool approach here.
wondering if the abstraction allows running this on a server ?
Then i can use the same code for front end as for backend stuff like:
- Making reports (html to PDF)
- Making emails. THink mail merge.
- Maybe even pre rendering web pages.
This serves 2 purposes:
- Efficient DOM manipulation.
- Elegantly design HTML components using Go.
Working outside the browser wouldn’t need efficient DOM manipulation. So you’d just be getting the abstraction around Go’s template/html package. That could work for sure.