Avatar

vez

elliot.website
Joined November 10, 2022
Public vals
17
vez avatar
vez
test_val_multiple_exports
Script
An interactive, runnable TypeScript val by vez
1
vez avatar
vez
example
Script
An interactive, runnable TypeScript val by vez
0
vez avatar
vez
untitled_tanHare
HTTP
Forked from stevekrouse/blob_admin
0
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
vez avatar
vez
getComments2
RPC (deprecated)
An interactive, runnable TypeScript val by vez
0
vez avatar
vez
addComment2
RPC (deprecated)
An interactive, runnable TypeScript val by vez
0
vez avatar
vez
reportComments
Script
An interactive, runnable TypeScript val by vez
0
vez avatar
vez
getComments
RPC (deprecated)
An interactive, runnable TypeScript val by vez
0
vez avatar
vez
addComment
Script
An interactive, runnable TypeScript val by vez
0
vez avatar
vez
FigmaFrameToHTML
Script
Forked from rodrigotello/FigmaFrameToHTML
0
vez avatar
vez
editVal
Script
An interactive, runnable TypeScript val by vez
0
vez avatar
vez
getAllVals
Script
An interactive, runnable TypeScript val by vez
0
vez avatar
vez
dot
Script
An interactive, runnable TypeScript val by vez
0
vez avatar
vez
getVal
Script
// Forked from @nate.getVal
0
vez avatar
vez
shittyValTownUI
Script
An interactive, runnable TypeScript val by vez
0
vez avatar
vez
postWebhook1
Script
An interactive, runnable TypeScript val by vez
0