Avatar

stevekrouse

mayor of val town
Likes
452
stevekrouse avatar
gpt4Example
@stevekrouse
Script
GPT4 Example This uses the brand new gpt-4-1106-preview . To use this, set OPENAI_API_KEY in your Val Town Secrets .
stevekrouse avatar
gpt4vDemo
@stevekrouse
Script
An interactive, runnable TypeScript val by stevekrouse
stevekrouse avatar
remarkDemoJSX
@stevekrouse
HTTP (deprecated)
Forked from stevekrouse/remarkDemo
stevekrouse avatar
lookup
@stevekrouse
HTTP (deprecated)
Lookup the val behind an http val URL Example usage: https://stevekrouse-lookup.web.val.run/https://nbbaier-servepdf.web.val.run/download
nbbaier avatar
servePDF
@nbbaier
HTTP (deprecated)
https://nbbaier-servePDF.web.val.run to view the PDF in browser https://nbbaier-servePDF.web.val.run/download to download the PDF
neverstew avatar
sendPDF
@neverstew
Script
Forked from nbbaier/sendPDF
nbbaier avatar
sendPDF2
@nbbaier
Script
An interactive, runnable TypeScript val by nbbaier
hurricanenate avatar
webscrapeBareBonesTiki
@hurricanenate
Cron
Check Bare Bones Tiki to see when their sea light swizzles become available.
lavacxx avatar
honoTanaEndpoint
@lavacxx
HTTP (deprecated)
Forked from nbbaier/honoTanaEndpoint
stevekrouse avatar
TodoApp
@stevekrouse
HTTP (deprecated)
SSR React Mini & SQLite Todo App This Todo App is server rendered and client-hydrated React. This architecture is a lightweight alternative to NextJS, RemixJS, or other React metaframeworks with no compile or build step. The data is saved server-side in Val Town SQLite . SSR React Mini Framework This "framework" is currently 44 lines of code, so it's obviously not a true replacement for NextJS or Remix. The trick is client-side importing the React component that you're server rendering . Val Town is uniquely suited for this trick because it both runs your code server-side and exposes vals as modules importable by the browser. The tricky part is making sure that server-only code doesn't run on the client and vice-versa. For example, because this val colocates the server-side loader and action with the React component we have to be careful to do all server-only imports (ie sqlite) dynamically inside the loader and action , so they only run server-side.
jdan avatar
hashmail
@jdan
Script
Forked from stevekrouse/testEmail2
wilt avatar
miniWidget
@wilt
HTTP (deprecated)
Did you know that in recent versions of Windows 11, PWAs can add themselves as desktop widgets? This is a demo of that. Because this PWA isn't published to the Microsoft Store, if you want to try this out for yourself you'll first need to install WinAppSDK version >= 1.2 , enable Developer Mode in settings following the instructions here , and visit https://wilt-miniWidget.web.val.run to install using a recent version of Edge.
maxm avatar
retroVisitCounter
@maxm
HTTP (deprecated)
Retro Visit Counter You are visitor number: How special! Want a retro visitor counter for your myspace page or geocities website? Fork this val and add the image link to your website: <img src="https://maxm-retrovisitcounter.web.val.run/counter.png"> <!-- Make sure you swap this subdomain out with the subdomain of your forked val --> <img src="https://[CHANGE ME!].web.val.run/counter.png">
maxm avatar
smileyPNG
@maxm
HTTP (deprecated)
Forked from maxm/selfEditingWebsite
maxm avatar
selfEditingWebsite
@maxm
HTTP (deprecated)
Self Editing Website Visit and edit at: https://maxm-selfeditingwebsite.web.val.run/
patrick_kw_chiu avatar
readMediumPosts
@patrick_kw_chiu
Script
Demo of mongo-http NPM package Great for serverless apps that can only use HTTP or have a hard time persisting database connection See more at the Git Repo and the Medium tutorial ! What this demo does: Read the latest Chinese Medium posts with categories "javascript" or "typescript"