Avatar

wilhelm

Joined May 8, 2023
Public vals
6
wilhelm avatar
wilhelm
fixi
Script
Fixi.js See https://github.com/bigskysoftware/fixi Version 0.6.4 release Installation Include this snippet in your html: <script type="module" src="https://esm.town/v/wilhelm/fixi"></script> Description 🚲 fixi.js - it ain't much... fixi.js is an experimental, minimalist implementation of generalized hypermedia controls The fixi api consists of six HTML attributes, nine events & two properties Here is an example: <button fx-action="/content" <!-- URL to issue request to --> fx-method="get" <!-- HTTP Method to use --> fx-trigger="click" <!-- Event that triggers the request --> fx-target="#output" <!-- Element to swap --> fx-swap="innerHTML"> <!-- How to swap --> Get Content </button> <output id="output"></output> When this fixi-powered button is clicked it will issue an HTTP GET request to the /content relative URL and swap the HTML content of the response inside the output tag below it.
0
wilhelm avatar
wilhelm
did
HTTP
BlueSky (atproto) Distributed ID handler Want your BlueSky handle to be [username]-did.web.val.run? Fork this val, and go through the steps in your account settings: https://bsky.app/settings/account
2
wilhelm avatar
wilhelm
bsky
HTTP
Showing my BlueSky posts using their public API
2
wilhelm avatar
wilhelm
BlueCardChangeDetector
Cron
Sends me an email if Sweden's requirements for EU Blue Card changes. Checks once an hour.
1
wilhelm avatar
wilhelm
HTHTMX
HTTP
A simple website using Hono, Twind and HTMX. Hono is a tiny web server library. Now with JSX! Twind is a tiny Tailwind replacement HTMX is a tiny way to add interactivity
0
wilhelm avatar
wilhelm
gql
Script
An interactive, runnable TypeScript val by wilhelm
0
Next