Vellum looks nice
Stuart has released the code for Vellum, his new Python blogging system. I haven’t tried it out yet (the installation process is pretty in depth and I don’t have a properly configured server to hand) but it looks damn sexy. Key features include:
- Funky caching—an idea that originated with Rasmus Lerdorf that was expanded on by Phil Ringnalda a while ago (I blogged it here) where pages are intelligently created by a custom 404 script as and when they are first requested.
- A template system based on Stuart’s Castalian engine, which allows Python to be embedded in HTML using a similar approach to ASP. The template system includes the interesting addition of an ’end’ statement for Python blocks, to get around the problem of Python’s indentation clashing with the indentation used in the HTML of the templates.
- A truly smart looking Plugins system, with plugins that can either extend existing Vellum objects (adding new methods and attributes if required) or use ’hooks’ to add new functionality to the existing code structure. Best of all, plugin installation is as simple as dropping a plugin file in to a directory.
All in all it looks like a really smart system. It’s going to be fun watching it evolve (comments are promised as a soon-to-be-added feature).
More recent articles
- Weeknotes: Parquet in Datasette Lite, various talks, more LLM hacking - 4th June 2023
- It's infuriatingly hard to understand how closed models train on their input - 4th June 2023
- ChatGPT should include inline tips - 30th May 2023
- Lawyer cites fake cases invented by ChatGPT, judge is not amused - 27th May 2023
- llm, ttok and strip-tags - CLI tools for working with ChatGPT and other LLMs - 18th May 2023
- Delimiters won't save you from prompt injection - 11th May 2023
- Weeknotes: sqlite-utils 3.31, download-esm, Python in a sandbox - 10th May 2023
- Leaked Google document: "We Have No Moat, And Neither Does OpenAI" - 4th May 2023
- Midjourney 5.1 - 4th May 2023
- Prompt injection explained, with video, slides, and a transcript - 2nd May 2023