Val Town Blog 10月02日
Val Town 更新速递:新功能与改进
index_new5.html
../../../zaker_core/zaker_tpl_static/wap/tpl_guoji1.html

 

Val Town 在过去两周内发布了大量更新,包括 Val Town Pro 的推出、新标志、重命名 Val 功能、代码搜索、HNFollow 应用、关于迁移出 Supabase 的博客、更简单的隐私控制、更一致的评估性能等。团队致力于打造自包含的 Web 原语,使 Val 类似 Github 仓库一样病毒式传播。未来计划包括 OAuth 助手、错误报告、子域 API、自动保存、公共文件夹等。Val Town 将始终免费,但提供 Pro 版本供付费用户使用,以获得更长的运行时间、更多的 fetch、更长的日志保留时间、更多的数据存储和无限私有 Val。

💡 Val Town 更新了多项功能,包括 Val Town Pro 的推出,提供更长的运行时间、更多的 fetch、更长的日志保留时间、更多的数据存储和无限私有 Val。

🌐 团队致力于打造自包含的 Web 原语,使 Val 类似 Github 仓库一样病毒式传播,提升 Val 的可见性和传播力。

🚀 未来计划包括 OAuth 助手、错误报告、子域 API、自动保存、公共文件夹等,以提升用户体验和功能丰富性。

🔍 新增代码搜索功能,允许用户搜索文件夹名称和当前版本 Val 的完整代码,极大地提高了开发效率。

🔄 用户现在可以重命名 Val,无需创建新 Val 并删除旧 Val,简化了用户操作流程。

🎨 推出了新的标志,用户可以通过右键点击标志或访问 val.town/brand 获取这些资源。

🗣️ HNFollow 应用进行了第五次迭代,用户可以一键安装并无限定制,提升了社区互动性。

Val Town Newsletter 8

on

We shipped A LOT in the last two weeks, including Val Town Pro, a new logo, theability to rename Vals, code search, hnFollow, a blog about Migrating offSupabase, simpler privacy controls, more consistent evaluation performance, andmuch more!

We love seeing all the cool Vals y’all are making, and included some of ourfavorites below. Please message us or post in the Discord if you’re doingsomething cool — it’s hard to stay on top of it all! Our dream is for a Val tobe a self-contained, web primitive, that can go viral like how a Github Repo canbe on the front page of HN, subreddits, and Twitter. We’re also hoping to makeour feed of Vals more consistently interesting, andhope 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 inwhat order we’ll get to everything, but we’re planning OAuth helpers, errorreporting, 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 youhave opinions on what we should tackle sooner rather than later.

Val Town will always be free, with generous limits. Now there is a way to payfor more.

Introducing Val Town Pro: run longer and morefrequent vals, make more fetches, retain logs longer, store more data, and makeunlimited private vals.

Screenshot 2023-05-31 at 12.04.57.png

We worked with the fantastic Will Dove to craft abasic logo we’re excited about.

valtown-logotype-blackOnWhite.https://blog.val.town/_astro/valtown-logotype-blackonwhite.DpEFX3qQ_Z2eUwhy.svglogotype-blackonwhite.DpEFX3qQ_Z2eUwhy.svg

You can access these assets at by right-clicking the logo (hat tip to Linear andVercel) or by going directly to val.town/brand.

In addition to val name search, you can now search folder names and thefull-text of the code of the current version of Vals. Search is so important andleaves room for endless improvement. Code-search is particularly hard becauseengines that work well on natural language don’t work well on code. We’ve barelybegun to work on this problem. This version of search merely does an ilikequery 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 someoneelse has already done it.

At long last you can rename Vals! This is the oldest and biggest complaint usershave about Val Town. You used to have to create a new val with the new name andthen go back and delete the old val with the old name. Now vals are canonicallyrepresented by their ID in the database, and changing their names is a singleoperation. Over time we will make this refactor even more seamless, guiding youthrough 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 installwith one click and infinitely customize. We think we’re pointing towards a newweb primitive that you can:

    write like a functionrun like a scriptfork like a repoinstall like an app

This is our 5th iteration of this same “HN Follow” app. We launched the3rd version on Hacker News six months ago.This version was well received(133 upvotes and 30https://blog.val.town/_astro/screenshot_2023-05-31_at_130711.C18DPd6s_Z1XKwUy.webp1.png" loading="lazy" decoding="async" src="/_astro/screenshot_2023-05-31_at_130711.C18DPd6s_Z1XKwUy.webp">

We recently moved off of Supabase, and got a lot of questions about it. Weworked hard to writea fair and honest post,and were really pleased by how it turned out, how it was recieved by the folksat Supabase, and

Val Privacy used to be tied to specific versions of vals. Now privacy is aproperty of all versions of a val, and you can easily toggle it back andforth.

Due to a memory leak somewhere deep in deno+v8, Val execution time would slowlycreep up to up to 4 seconds, even for simple Vals! We invested a lot of time inour monitoring infrastructure around execution time, and also got a workaroundin place that brings execution time back down in the more reasonable 300-500msrange. You cantime us yourself frominside Val Town!

The initial version of workspaces & folders was hacked together over theChristmas holiday into a JSON column in our database. We rewrote it so that eachfolder is represented as a proper row in the database, so everything will befaster and there will be way fewer bugs. We also took the opportunity tosimplify how folders show up in the interface. Now they appear at the top inalphabetical order, instead of inline with Vals. We’ll continue to invest in Valorganization,https://blog.val.townhttps://blog.val.town/_astro/screenshot_2023-05-31_at_171511.DM7d5MmI_Fp1dk.webpp>

Now you can use langchain in Val Town! Thanks to Wade Warren for reportingthe issue and Jacob Leefor the super quick fix.

    tutorial broken up into separate pagesprettier → dprint (faster, less memory footprint)archive & delete buttons → organize menu (simpler val header)auto-fix static imports (because we only allow dynamic imports currently)replyTo in console.email(usecase)massively deprioritize untitled vals from autocompletehide “inspiration” in the new Val editor in folders (Mary Rose Cook asked fora “tidy ship”)scheduled vals run immediately when scheduled (not sure if we’ll keep thisbehavior)make usernames citext (to prevent collisions due to uppercase/lowercase)catch more errors with a cleaner error pageupgrade to deno 1.33.3database cleanups & performance improvements, no more materialized views, soeverything should be consistent instantly (no waiting a minute for changes topropagate)

We try to balance quality-of-life improvements with shiny new superpowers. Asalways, we really appreciate your input on what we should work on, and how weshould prioritize it. Here’s generally what we’re excited to work on in thecoming weeks:

    Cron-syntax Scheduled Vals (Almost made today’s newsletter! You may see ittonight!)Big refactors & simplifications of the ValEditor and Workspace componentsAutosave Val work-in-progressTypescript types for imports from npmError Reporting - get notifications when your vals errorMore/better proxies for fetchSwagOAuth Helpers - get auth tokens to your favorite appsPublic foldersSubdomain API - needed to make ChatGPT pluginsVal “app store” or “template collection”Val READMEsComments on valsVal version pinningIntegrated LLMs (have AI write your vals for you)More web-standard and JS compatibilityVSCode Plugin (edit vals from VSCode)

Not technically Val, @rlesser’sVal Town Dark Mode Arc Boostis one of our favorite community projects!

Edit this page

Fish AI Reader

Fish AI Reader

AI辅助创作,多种专业模板,深度分析,高质量内容生成。从观点提取到深度思考,FishAI为您提供全方位的创作支持。新版本引入自定义参数,让您的创作更加个性化和精准。

FishAI

FishAI

鱼阅,AI 时代的下一个智能信息助手,助你摆脱信息焦虑

联系邮箱 441953276@qq.com

相关标签

Val Town Web 原语 开源项目 代码搜索 OAuth 助手 错误报告
相关文章