Back to packages list

Vals using hono

Description from the NPM package:
Ultrafast web framework for the Edges
willthereader avatar
homepage
@willthereader
HTTP
@jsxImportSource https://esm.sh/hono@latest/jsx
stevekrouse avatar
blushHarrier
@stevekrouse
HTTP
@jsxImportSource https://esm.sh/hono@latest/jsx
jdan avatar
esmTown
@jdan
HTTP
wordGame A wordgame inspired by TextTwist. Custom games can be created by appending the available letters to the url. https://jdan-esmtown.web.val.run/nsetyr The dictionary is populated from the following script: import { blob } from "https://esm.town/v/std/blob?v=12"; const dictionaryUrls = [ "https://www.freescrabbledictionary.com/word-lists/3-letter-words/3-letter-words.json", "https://www.freescrabbledictionary.com/word-lists/4-letter-words/4-letter-words.json", "https://www.freescrabbledictionary.com/word-lists/5-letter-words/5-letter-words.json", "https://www.freescrabbledictionary.com/word-lists/6-letter-words/6-letter-words.json", "https://www.freescrabbledictionary.com/word-lists/7-letter-words/7-letter-words.json", ]; const allWords = await Promise.all( dictionaryUrls.map(async (url) => { const res = await fetch(url); const words = await res.json(); return words.map((entry) => entry.word); }), ); blob.setJSON("words", allWords.flat());
jdan avatar
blobImages
@jdan
HTTP
Image downsizer and uploader
jdan avatar
emojiGuessr
@jdan
HTTP
Calorie Count via Photo Uploads your photo to ChatGPT's new vision model to automatically categorize the food and estimate the calories.
willthereader avatar
honoExample
@willthereader
HTTP
@jsxImportSource https://esm.sh/hono@latest/jsx
yawnxyz avatar
translator
@yawnxyz
HTTP
Press to talk, and get a translation! The app is set up so you can easily have a conversation between two people. The app will translate between the two selected languages, in each voice, as the speakers talk. Add your OpenAI API Key, and make sure to open in a separate window for Mic to work.
yawnxyz avatar
ai
@yawnxyz
HTTP
An http and class wrapper for Vercel's AI SDK Usage: Groq: https://yawnxyz-ai.web.val.run/generate?prompt="tell me a beer joke"&provider=groq&model=llama3-8b-8192 Perplexity: https://yawnxyz-ai.web.val.run/generate?prompt="what's the latest phage directory capsid & tail article about?"&provider=perplexity Mistral: https://yawnxyz-ai.web.val.run/generate?prompt="tell me a joke?"&provider=mistral&model="mistral-small-latest" async function calculateEmbeddings(text) { const url = `https://yawnxyz-ai.web.val.run/generate?embed=true&value=${encodeURIComponent(text)}`; try { const response = await fetch(url); const data = await response.json(); return data; } catch (error) { console.error('Error calculating embeddings:', error); return null; } }
michaelmang avatar
bookmark
@michaelmang
HTTP
A minimal bookmarking tool This allows you to bookmark links and view them later. Completely powered by ValTown and SQLite. To set this up for yourself Fork the val From your ValTown settings page, add an environment variable named bookmarks_client_id and give it a value (you will be using this for saving) Add another environment variable named bookmarks_client_secret and give it a value (you will also be using this for saving) At first, the "bookmarks" table will not exist, so we need to save an article first, which will create the "bookmarks" table To do this, add a bookmarklet to your browser with this value (replace BOOKMARKS-CLIENT-ID and BOOKMARKS-CLIENT-SECRET with the values you added to the environment variables, and replace BOOKMARKS-URL with your VAL's URL): javascript:void(open('BOOKMARKS-URL/save?u='+encodeURIComponent(location.href)+'&t='+encodeURIComponent(document.title)+'&id=BOOKMARKS-CLIENT-ID&secret=BOOKMARKS-CLIENT-SECRET', 'Bookmark a link', 'width=400,height=450')) Click this bookmarklet to bookmark the URL of the current active tab Go to your VAL URL homepage to see the bookmark Demo Here are my bookmarks: https://ramkarthik-bookmark.web.val.run/ Note Make sure you don't share bookmarks_client_id and bookmarks_client_secret . It is used for authentication before saving a bookmark.
pomdtr avatar
ask_ai_web
@pomdtr
Script
An interactive, runnable TypeScript val by pomdtr
pomdtr avatar
hackernews_cmdk
@pomdtr
HTTP
An interactive, runnable TypeScript val by pomdtr
pomdtr avatar
github_cmdk_extension
@pomdtr
Script
An interactive, runnable TypeScript val by pomdtr
mjweaver01 avatar
PersonalizationGPT
@mjweaver01
HTTP
PersonalizationGPT You are a helpful personalization assistant Use GPT to return JIT personalization for client side applications. If you fork this, you'll need to set OPENAI_API_KEY in your Val Town Secrets .
stevekrouse avatar
allVals
@stevekrouse
HTTP
@jsxImportSource npm:hono@3/jsx
stevekrouse avatar
amaranthTakin
@stevekrouse
HTTP
Date Me Directory This is entry-point val for the source code for the Date Me Directory. Contributions welcome! This app uses Hono as the server framework and for JSX . The vals are stored in Val Town SQLite . Contributing Forking this repo should mostly work, except for the sqlite database. You'll need to create the table & populate it with some data. This script should do it, but I think it has a couple bugs. If you're interested in contributing to this project contact me or comment on this val and I'll get it working for ya! Todos [ ] Make the SQLite database forkable and build a widget/workflow for that, ie fix @stevekrouse/dateme_sqlite [ ] Require an email (that isn't shared publicly) [ ] Verify the email address with a "magic link" [ ] Refactor Location to an array of Lat, Lon [ ] Geocode all the existing locations [ ] Add a geocoder map input to the form [ ] Allow selecting multiple location through the form [ ] Profile performance & speed up site, possibly add more caching [ ] Let people edit their forms [ ] Featured profiles
stevekrouse avatar
getColor
@stevekrouse
HTTP
Get common or "dominant" color from an image given a source URL