DEV Community

Jeff Lindsay
Jeff Lindsay

Posted on

3 1

Re-adding Vecty support to vtemplates

I did a quick unscheduled stream to add Vecty back to vtemplate since I refactored it into a real library. As expected there were a few things I had to fix, but mostly minor. The new architecture works great. Most of my trouble came from making sure my reflected library was doing reflection correctly. Like I mentioned before, reflection can be tricky.

I rewrote my old Markdown demo prototype to use vtemplate and it works! I was hoping to get slots in so components can use their inner HTML, but I ran out of time. That's next, though, and shouldn't be that difficult. I think after that I can just start wrapping this up into a user friendly web framework, which is its own task. I want to make it easy to load template files living next to the Go file for a component, and rework my dev harness into a proper development server.

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read more →

Top comments (0)

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