Back to APIs list

Rime API examples & templates

Use these vals as a playground to view and fork Rime API examples and templates on Val Town. Run any example below or find templates that can be used as a pre-built solution.
yawnxyz avatar
illustratedPrimer
@yawnxyz
HTTP
Generates a streaming illustrated primer on a subject. Enter a subject, click on titles to "delve". 🪩 To fork, sign up for Substrate to get your own API key and $50 free credits
substrate avatar
illustratedPrimer
@substrate
HTTP
Generates a streaming illustrated primer on a subject. Enter a subject, click on titles to "delve". 🪩 To fork, sign up for Substrate to get your own API key and $50 free credits
kousun12 avatar
IllustratedPrimer
@kousun12
HTTP
Generates a streaming illustrated primer on a subject. ℹ️ Open the url and add a query parameter with a subject (click on titles to "delve"): https://substrate-illustratedprimer.web.val.run/?prompt=modernism 🪩 If you fork, you can sign up for Substrate to get your own API key and $50 in credits
vprtwn avatar
IllustratedPrimer
@vprtwn
HTTP
Generates a streaming illustrated primer on a subject. Open the url and add a query parameter with a subject: https://vprtwn-illustratedprimer.web.val.run/?subject=libra
stevekrouse avatar
primesHelper
@stevekrouse
Script
An interactive, runnable TypeScript val by stevekrouse
stevekrouse avatar
rimeExample
@stevekrouse
Script
// Text-to-speech via rime.ai
stevekrouse avatar
rimeExampleUI
@stevekrouse
Express
// https://stevekrouse-rimeExampleUI.express.val.run
stevekrouse avatar
rime
@stevekrouse
Script
// We provide some amount of free usage to this API
stevekrouse avatar
rimeRateLimitExceeded
@stevekrouse
Script
An interactive, runnable TypeScript val by stevekrouse
stevekrouse avatar
rimeUsage
@stevekrouse
Script
// set by stevekrouse.rimeRateLimitExceeded at 2023-06-27T15:23:13.552Z
stevekrouse avatar
rimeAPIEx
@stevekrouse
Script
An interactive, runnable TypeScript val by stevekrouse
zzz avatar
rime
@zzz
Script
An interactive, runnable TypeScript val by zzz
zzz avatar
YoutubeSummary
@zzz
Script
// https://api.val.town/v1/express/zzz.rime?text=Hello%20Val%20Town
stevekrouse avatar
cron
@stevekrouse
HTTP (preview)
CronGPT This is a minisite to help you create cron expressions, particularly for crons on Val Town. It was inspired by Cron Prompt , but also does the timezone conversion from wherever you are to UTC (typically the server timezone). Tech Hono for routing ( GET / and POST /compile .) Hono JSX HTMX (probably overcomplicates things; should remove) @stevekrouse/openai, which is a light wrapper around @std/openai I'm finding HTMX a bit overpowered for this, so I have two experimental forks without it: Vanilla client-side JavaScript: @stevekrouse/cron_client_side_script_fork Client-side ReactJS (no SSR): @stevekrouse/cron_client_react_fork I think (2) Client-side React without any SSR is the simplest architecture. Maybe will move to that.
stevekrouse avatar
ssr_react_mini
@stevekrouse
Script
Server-side Render React Mini Framework This is very experimental, more of a prototype of an architecture, than a true framework Example: https://www.val.town/v/stevekrouse/TodoApp
stevekrouse avatar
valwriter_react_clientside
@stevekrouse
HTTP
[ ] streaming we can't stream into an actual val - we can only write a full piece of text, i guess we can stream back the code so we don't get bored while we wait [ ] send the code of the valwriter back to gpt only if it's related, might need some threads [ ] send errors, logs back to gpt [ ] get screenshots of the output back to gpt [ ] experiment with applying diffs instead of regenerating from scratch every time could also have it as a conversation as the main thing and only the diffs get applied or the whole code gets replaced, maybe tool use it the key here... which does make it seem like a custom gpt may be the better fit...