We shipped A LOT in the last two weeks, including Val Town Pro, a new logo, the ability to rename Vals, code search, hnFollow, a blog about Migrating off Supabase, simpler privacy controls, more consistent evaluation performance, and much more!
We love seeing all the cool Vals y’all are making, and included some of our favorites below. Please message us or post in the Discord if you’re doing something cool — it’s hard to stay on top of it all! Our dream is for a Val to be a self-contained, web primitive, that can go viral like how a Github Repo can be on the front page of HN, subreddits, and Twitter. We’re also hoping to make our feed of Vals more consistently interesting, and hope to have some movement in that direction by the next update!
The roadmap over the coming months is very exciting. We don’t know exactly in what order we’ll get to everything, but we’re planning OAuth helpers, error reporting, subdomain API, autosave, public folders, val version pinning, typescript imports, comments, READMEs, a vscode plugin, embedded LLMs somewhere, swag, and much more! We’re very eager for feedback, so please reach out if you have opinions on what we should tackle sooner rather than later.
- Val Town Pro (beta)
- New Logo
- Logo right-click
- Search Val code
- Rename Vals
- Migrating off Supabase Blog
- Simpler privacy controls
- More consistent performance
- Workspaces Refactor
- Langchain support
- Cool Vals
Val Town Pro (beta)
Val Town will always be free, with generous limits. Now there is a way to pay for more.
Introducing Val Town Pro: run longer and more frequent vals, make more fetches, retain logs longer, store more data, and make unlimited private vals.
We worked with the fantastic Will Dove to craft a basic logo we’re excited about.
You can access these assets at by right-clicking the logo (hat tip to Linear and Vercel) or by going directly to val.town/brand.
Search Val code
In addition to val name search, you can now search folder names and the full-text of the code of the current version of Vals. Search is so important and leaves room for endless improvement. Code-search is particularly hard because engines that work well on natural language don't work well on code. We've barely begun to work on this problem. This version of search merely does an
ilike query in postgres. However even just this basic version is incredibly powerful. Before you make something new in VT, take a moment to search to see if someone else has already done it.
At long last you can rename Vals! This is the oldest and biggest complaint users have about Val Town. You used to have to create a new val with the new name and then go back and delete the old val with the old name. Now vals are canonically represented by their ID in the database, and changing their names is a single operation. Over time we will make this refactor even more seamless, guiding you through replacing the name change across all references, and/or creating a "symlink".
This “app” was built in an experimental style on Val Town that you can install with one click and infinitely customize. We think we’re pointing towards a new web primitive that you can:
- write like a function
- run like a script
- fork like a repo
- install like an app
Migrating off Supabase Blog
Simpler privacy controls
Val Privacy used to be tied to specific versions of vals. Now privacy is a property of all versions of a val, and you can easily toggle it back and forth.
More consistent performance
Due to a memory leak somewhere deep in deno+v8, Val execution time would slowly creep up to up to 4 seconds, even for simple Vals! We invested a lot of time in our monitoring infrastructure around execution time, and also got a workaround in place that brings execution time back down in the more reasonable 300-500ms range. You can time us yourself from inside Val Town!
The initial version of workspaces & folders was hacked together over the Christmas holiday into a JSON column in our database. We rewrote it so that each folder is represented as a proper row in the database, so everything will be faster and there will be way fewer bugs. We also took the opportunity to simplify how folders show up in the interface. Now they appear at the top in alphabetical order, instead of inline with Vals. We’ll continue to invest in Val organization, and this refactor laid the groundwork for that work.
- tutorial broken up into separate pages
- prettier → dprint (faster, less memory footprint)
- archive & delete buttons → organize menu (simpler val header)
- auto-fix static imports (because we only allow dynamic imports currently)
- massively deprioritize untitled vals from autocomplete
- hide “inspiration” in the new Val editor in folders (Mary Rose Cook asked for a “tidy ship”)
- scheduled vals run immediately when scheduled (not sure if we’ll keep this behavior)
- make usernames citext (to prevent collisions due to uppercase/lowercase)
- catch more errors with a cleaner error page
- upgrade to deno 1.33.3
- database cleanups & performance improvements, no more materialized views, so everything should be consistent instantly (no waiting a minute for changes to propagate)
We try to balance quality-of-life improvements with shiny new superpowers. As always, we really appreciate your input on what we should work on, and how we should prioritize it. Here’s generally what we’re excited to work on in the coming weeks:
- Cron-syntax Scheduled Vals (Almost made today’s newsletter! You may see it tonight!)
- Big refactors & simplifications of the ValEditor and Workspace components
- Autosave Val work-in-progress
- Typescript types for imports from npm
- Error Reporting - get notifications when your vals error
- More/better proxies for
- OAuth Helpers - get auth tokens to your favorite apps
- Public folders
- Subdomain API - needed to make ChatGPT plugins
- Val “app store” or “template collection”
- Val READMEs
- Comments on vals
- Val version pinning
- Integrated LLMs (have AI write your vals for you)
- More web-standard and JS compatibility
- VSCode Plugin (edit vals from VSCode)