Public
neverstew avatar
neverstew
blobDirList
Script
List things in a blob directory Blobs can be organised using "directories" e.g. /animals all-animals.txt /dogs sausage.txt /cats tom.txt is really only three files: /animals/all-animals.txt , /animals/dogs/sausage.txt and /animals/cats/tom.txt because directories don't really exist, we're just making longer filenames. When you want to list things only "in a directory" and none of the child "directories", you can use this val. import { blobDirList } from "https://esm.town/v/neverstew/blobDirList"; console.log(await blobDirList("/animals")); // returns only "/animals/all-animals.txt"
2
hanaswan avatar
hanaswan
btcPriceAlert
Cron
Forked from stevekrouse/btcPriceAlert
0
dupontgu avatar
dupontgu
persistentCounter
Script
Use the Counter class (with a given key) to create a persistent counter that uses your blob storage under the hood. You can get/set/increment/decrement the value from any val.
0
janpaul123 avatar
janpaul123
getValsContextWindow
Script
An interactive, runnable TypeScript val by janpaul123
0
jdan avatar
jdan
svgMapOfCountry
Script
An interactive, runnable TypeScript val by jdan
0
juansebsol avatar
juansebsol
blob_admin
HTTP
Forked from stevekrouse/blob_admin
0
tangent avatar
tangent
blob_admin
HTTP
Forked from stevekrouse/blob_admin
0
janpaul123 avatar
janpaul123
valle_tmp_6558189023937331447348397779094
HTTP
// Serve main page with stories
0
janpaul123 avatar
janpaul123
valle_tmp_70427092421104433856545248978618
HTTP
// Initialize sample stories and store them in blob storage
0
pomdtr avatar
pomdtr
tree_example
HTTP
View Example View Extension Repository #example
0
Ravikumarraj avatar
Ravikumarraj
splendidAzureKiwi
HTTP
@jsxImportSource https://esm.sh/react@18.2.0
0
pomdtr avatar
pomdtr
val_town_by_example_toc
Cron
// edit this if you want to add new items to the home page
0
jdan avatar
jdan
basicAuthButton
HTTP
basicAuthButton An authenticated micro-app for tracking the last time I took a medication. Both GET / and POST /press are authenticated using honoBasicAuthMiddleware . GET / Views the value of basicAuthButton:last-pressed in blob storage. POST /press Updates the value of basicAuthButton:last-pressed in blob storage with the current timestamp.
1
charlypoly avatar
charlypoly
websiteHasChanged
Script
An interactive, runnable TypeScript val by charlypoly
0
janpaul123 avatar
janpaul123
valle_tmp_04779227870600944224693473656022
HTTP
// Initialize sample stories and store them in blob storage
0
dupontgu avatar
dupontgu
slamBotPost
Cron
// Replace with your actual access token and Mastodon instance URL
0
Updated: August 13, 2024