Your Val Town Ideas!

This is a template val for those who want to start their own Val Town Idea List. Inspired by this val.

  • your super cool ideas start here

Adding your val to the Val Town Idea List Aggregator

If you would like to have this val aggregated here, make sure to do the following:

  1. Add the following metadata to the top of this val's code:
// @vtIdeas 
// @title <insert a nice title>
  1. Rename this val, using a non-reserved name (see the "Reserved Val Names" section here).
  2. Make this val public. Add the following metadata to the top of this val's code:
// @vtIdeas 
// @title <insert a nice title>
  1. Rename this val, using a non-reserved name (see the "Reserved Val Names" section on the aggregator homepage)
Readme
1
2
3
4
5
6
7
8
9
import { ideaList } from "https://esm.town/v/nbbaier/ideaList";
import { extractValInfo } from "https://esm.town/v/pomdtr/extractValInfo";
import { html } from "https://esm.town/v/stevekrouse/html?v=5";
export async function examplePost(req: Request) {
const { author, name } = extractValInfo(import.meta.url);
return html(await ideaList(author, name));
}
👆 This is a val. Vals are TypeScript snippets of code, written in the browser and run on our servers. Create scheduled functions, email yourself, and persist small pieces of data — all from the browser.