Public
nerdymomocat avatar
nerdymomocat
add_to_notion_w_ai
Script
Uses instructor and open ai (with gpt-4-turbo) to process any content into a notion database entry. Use addToNotion with any database id and content. await addToNotion( "DB_ID_GOES_HERE", "CONTENT_GOES HERE"//"for example: $43.28 ordered malai kofta and kadhi (doordash) [me and mom] jan 3 2024" ); Prompts are created based on your database name, database description, property name, property type, property description, and if applicable, property options (and their descriptions). Supports: checkbox, date, multi_select, number, rich_text, select, status, title, url, email Uses NOTION_API_KEY , OPENAI_API_KEY stored in env variables and uses Valtown blob storage to store information about the database. Use get_notion_db_info to use the stored blob if exists or create one, use get_and_save_notion_db_info to create a new blob (and replace an existing one if exists).
0
pperi avatar
pperi
blob_admin
HTTP
Forked from stevekrouse/blob_admin
0
jmpailhon avatar
jmpailhon
btcPriceAlert
Cron
Forked from stevekrouse/btcPriceAlert
0
mauriciobc avatar
mauriciobc
MiauFood
HTTP
// This approach uses Val Town's Blob storage for persistence and a simple HTML interface.
0
vawogbemi avatar
vawogbemi
blob_admin
HTTP
Forked from stevekrouse/blob_admin
0
ashryanio avatar
ashryanio
getJsonAndRenderAsImage
HTTP
Forked from ashryanio/getBlobAndRenderAsImage
0
pomdtr avatar
pomdtr
edit_blob
Script
An interactive, runnable TypeScript val by pomdtr
0
nicosql avatar
nicosql
renderFormAndSaveData
HTTP
Forked from andreterron/renderFormAndSaveData
1
nbbaier avatar
nbbaier
vt_backup_endpoint
HTTP
Forked from nbbaier/envVals
0
mahictn avatar
mahictn
laudableAquaGerbil
HTTP
Forked from mahictn/snake_game
0
sethblanchard avatar
sethblanchard
blob_admin
HTTP
Forked from stevekrouse/blob_admin
0
pomdtr avatar
pomdtr
serve_blobs
HTTP
Serve prefixed blobs. Usage import { serveBlobs } from "https://esm.town/v/pomdtr/serve_blobs" export default serveBlobs({ root: "public/" }) All your blobs prefixed by public/ will be publicly accessible. Ex: Go to https://pomdtr-public.web.val.run/example.json to view the blob public/example.json from my account.
3
vlad avatar
vlad
watchReaderAndSendToMatrix
Cron
An interactive, runnable TypeScript val by vlad
0
janpaul123 avatar
janpaul123
indexValsBlobs
Script
Forked from janpaul123/indexValsTurso
0
calintamas avatar
calintamas
blob_admin
HTTP
Forked from stevekrouse/blob_admin
0
dthyresson avatar
dthyresson
getSpotifyTrackUrl
Script
getSpotifyTrackUrl Get a Spotify Track Url using the Spotify Web API given an artist and a song title. Track info is cached by the query and also the spotify track id, so your popular queries won't have to fetch from Spotify over and over. Examples import { getSpotifyTrackUrl } from "https://esm.town/v/dthyresson/getSpotifyTrackUrl"; const reni = await getSpotifyTrackUrl("Stone Roses", "Fools Gold"); const ian = await getSpotifyTrackUrl("Joy Division", "Love Will Tear Us Apart"); const kim = await getSpotifyTrackUrl("Pixies", "Velouria"); console.log(reni) console.log(ian) console.log(kim) Info Uses getSpotifyAccessToken which requires you to set environment variables from your Spotify Developers account. SPOTIFY_CLIENT_ID SPOTIFY_CLIENT_SECRET Your access token is cached by getSpotifyAccessToken to avoid fetching over and over.
0
Updated: August 13, 2024