Public
vez avatar
vez
comments
HTTP
Comments (just add water) A self-contained comments system Val. Just fork this val and you have a complete (but extremely minimal) comment system! Call on the front-end using: const MY_FORKED_VAL_URL = "https://vez-comments.web.val.run"; const getComments = async () => { const response = await fetch(MY_FORKED_VAL_URL); const json = await response.json(); return json; }; const addComment = async (str) => { try { const response = await fetch(MY_FORKED_VAL_URL, { method: "POST", body: JSON.stringify(str), }); if (response.status >= 400 && response.status < 600) { /* error */ return false; } else { /* success */ return true; } } catch (e) { /* error */ return false; } }; Here's an example of a blog post where I used the val for the comment system: https://vezwork.github.io/polylab/dist/demo/bidirectionalParse/. Check out "view source"!
0
jamisonl avatar
jamisonl
peculiarTanMouse
HTTP
Forked from camajudson/handleDiscordInteraction
0
pomdtr avatar
pomdtr
blob_admin_edit
Script
@jsxImportSource https://esm.sh/hono@4.0.8/jsx
0
browniebroke avatar
browniebroke
btcPriceAlert
Cron
Forked from stevekrouse/btcPriceAlert
0
andreterron avatar
andreterron
myPelotonWorkouts
Script
An interactive, runnable TypeScript val by andreterron
0
ejfox avatar
ejfox
healthdatasimple
HTTP
Forked from ejfox/healthwebhook
0
richardkaplan avatar
richardkaplan
btcPriceAlert
Cron
Forked from stevekrouse/btcPriceAlert
0
vladimyr avatar
vladimyr
keyvhq_blob_example
Script
Forked from vladimyr/keyvhq_example
0
temptemp avatar
temptemp
rabbitstream
HTTP
Forked from tempdev/rabbitstream
0
joseforonda avatar
joseforonda
boliviadigestrss
HTTP
An interactive, runnable TypeScript val by joseforonda
0
jamisonl avatar
jamisonl
copperMammal
HTTP
Forked from camajudson/handleDiscordInteraction
0
shawnbasquiat avatar
shawnbasquiat
emailListManager
HTTP
// This val creates a mailing list manager using blob storage for persistence.
1
pomdtr avatar
pomdtr
blob_admin_create
Script
@jsxImportSource https://esm.sh/hono@4.0.8/jsx
0
philz avatar
philz
blob_admin
HTTP
Forked from stevekrouse/blob_admin
0
stevekrouse avatar
stevekrouse
emeraldGuan
Email
Forked from maxm/emailExample
0
ooskapenaar avatar
ooskapenaar
btcPriceAlert
Cron
Forked from stevekrouse/btcPriceAlert
0
Updated: August 13, 2024