Public
yawnxyz avatar
yawnxyz
gettingOpenAiStreamingtoWork
HTTP
Blatantly copied code from theseephist's webgen: https://www.val.town/v/thesephist/webgen. Couldn't get streaming to work in valtown myself!!
0
cephalization avatar
cephalization
smsjournalertextrelay
HTTP
* This val creates a webhook endpoint that receives text messages and sends SMS replies using the TextBelt API. * It uses blob storage to keep track of message history and conversation state. * The TextBelt API is used for sending SMS messages without requiring an API key. * The conversation history is stored as an array of message objects containing sender, content, date, and phone number. * OpenAI's GPT-4 is used to generate contextual responses based on the conversation history.
2
janpaul123 avatar
janpaul123
valle_tmp_065083194034399444924236047421617
HTTP
// Initialize sample stories and store them in blob storage
0
joseforonda avatar
joseforonda
digest
HTTP
An interactive, runnable TypeScript val by joseforonda
0
janpaul123 avatar
janpaul123
valle_tmp_130746396595421232473002690954744
HTTP
This code sets up a simple comment box system styled with Tailwind CSS. * It leverages Deno's blob storage for persistence, * and renders an HTML form to accept new comments, * while displaying all existing comments.
0
todepond avatar
todepond
getCloudLabCount
HTTP
// TODO: Convert to sqlite
0
tmcw avatar
tmcw
beigeGoat
Script
title: Beige Goat category: blob This val is a quick demo of setting and getting a blob.
0
janpaul123 avatar
janpaul123
valle_tmp_331733911360176721193636644811242
HTTP
// Initialize sample stories and store them in blob storage
0
pomdtr avatar
pomdtr
reading_and_writing_blobs
Script
#example
0
janpaul123 avatar
janpaul123
valle_tmp_7848874273078958552804771654705
HTTP
// Initialize sample stories and store them in blob storage
0
gwoods22 avatar
gwoods22
cookieFetch
Script
🍪 Cookie Fetch 🍪 Simple wrapper for fetch that manages cookies in blob storage according to the responses set-cookie header.
0
janpaul123 avatar
janpaul123
valle_tmp_857735669745683227119074105407037
HTTP
This code sets up a simple comment box system. * It leverages Deno's blob storage for persistence, * and renders an HTML form to accept new comments, * while displaying all existing comments. * TailwindCSS is used to style the HTML elements.
0
neverstew avatar
neverstew
getSpotifyAccessToken
Script
getSpotifyAccess Token Request an access token for use with the Spotify Web API. Requires environment variables from your Spotify Developers account. SPOTIFY_CLIENT_ID SPOTIFY_CLIENT_SECRET Uses Blob storage to cache the spotify_accessToken based on when the expires_in value in the Spotify Access Token response. Example import { getSpotifyAccessToken } from "https://esm.town/v/dthyresson/getSpotifyAccessToken"; const accessToken = await getSpotifyAccessToken(); console.debug(accessToken)
0
janpaul123 avatar
janpaul123
valle_tmp_941646362281053813810573876504528
HTTP
This code sets up a styled comment box system using Tailwind CSS. * It leverages Deno's blob storage for persistence, * and renders an HTML form to accept new comments, * while displaying all existing comments.
0
todepond avatar
todepond
spagUpload
HTTP
Forked from todepond/labUploadUpload
0
janpaul123 avatar
janpaul123
valle_tmp_880820168898077728093213546584606
HTTP
// Initialize sample stories and store them in blob storage
0
Updated: August 13, 2024