DEV Community

Neil Thawani
Neil Thawani

Posted on

7 2

I made a microframework for converting handlebars to HTML!

I was building a website using Github Pages and wanted to use templating functionality without having to resort to Jekyll. I found a few repos and code samples from devs who had attempted to solve this same problem, but the best thing I found was an old repo by a developer who hasn't logged in for quite some time called handlebars-to-html. I took his code, cleaned it up and applied it to my website, and then ripped out some of the guts to create a microframework I decided to call Panhandle.

I'm brand new to async/await and the project's not building in the right order, and I think the architecture could be improved a little bit too. However, I spent about 20 hours working on it, it's definitely usable, and I have other stuff that's more pressing in work and life - so that's where I decided to stop.

I'm really proud of what I've done so far, but I know it can be improved a bit. If you think this project/problem are interesting, please feel free to fork and contribute! Thanks!

https://github.com/neilthawani/panhandle

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs