Readme

A blog written, developed and hosted on val.town.

How ?

Each article on this blog is contained single val, with a #blog tag.

See this example article.

// #blog // title: Example Post import { article } from "https://esm.town/v/pomdtr/article"; 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 article(author, name)); }

Each of these post work on it's own.

This val is able to:

  • list them with the /v1/search api (with a #blog query)
    • post with different author than the owner of this val will be filtered out
    • only public vals will be listed
  • render the readme of those vals using remark (with github styling)

This process run each time a user visit the web endpoint, so the blog is always up to date.

You can get your own instance of the blog by just forking this val.

Code
HTTP
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-blog.web.val.run
Updated: February 12, 2024