Readme
- Github-Like Calendar using the db
- Add ability to import a csv, or a table from a local db to val town sqlite
- download / upload blobs
- Push clone/pull/push vals (allow to edit them locally)
- rename vals
- publish / unpublish vals
- Add ability to run sql queries
- Replace pinned section by a folder defined as a val
import { api } from "https://esm.town/v/pomdtr/api";
export const dynamicFolder = async () => {
const { data: posts } = await api(`/v1/search/vals?q=${encodeURIComponent("@post")}`);
return {
folder: "Blog",
items: [
{
folder: "Posts",
items: posts.sort((a, b) => a.createdAt > b.createAt).map(post => `${post.author.username}.${post.name}`),
},
"@pomdtr/blog",
],
};
};
- Preview and edit blobs from VS Code (ex: excalidraw schema)
- Save and run sql queries ?
- Language Server
- go to definition to switch between vals
- Leverage the dynamic folder val of the vscode extension
- Create a PWA hosted on val.town to send notifications on the user device
- Create an sqlite dashboard inspired by https://inloop.github.io/sqlite-viewer/
Create a val that:
- statically analyze val code to find single/default import
- extract param types
- use it to generate a form, availaible on the val http endpoint
- dynamically import the val
- return val output as JSON, or html if a string is returned
Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
Comments
Nobody has commented on this val yet: be the first!
pomdtr-valtownideas.web.val.run
Updated: December 9, 2023