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.
valentine
Prime
valentine
Remix of: mewtru/valentine
HTTP
primewireUtils
tempdev
primewireUtils
Remix of: temptemp/primewire
Script
obedientLimeOrangutan
primemeridian
obedientLimeOrangutan
An interactive, runnable TypeScript val by primemeridian
HTTP
primewire
temptemp
primewire
Remix of: tempdev/primewire
Script
primeTurquoiseTern
phyllislim
primeTurquoiseTern
Remix of: stevekrouse/aqi
Cron
rimeExample
stevekrouse
rimeExample
// Text-to-speech via rime.ai
Script
rimeExampleUI
stevekrouse
rimeExampleUI
// https://stevekrouse-rimeExampleUI.express.val.run
Express (deprecated)
rime
stevekrouse
rime
// We provide some amount of free usage to this API
Script
rimeRateLimitExceeded
stevekrouse
rimeRateLimitExceeded
An interactive, runnable TypeScript val by stevekrouse
Script
rimeUsage
stevekrouse
rimeUsage
// set by stevekrouse.rimeRateLimitExceeded at 2023-06-27T15:23:13.552Z
Script
rimeAPIEx
stevekrouse
rimeAPIEx
An interactive, runnable TypeScript val by stevekrouse
Script
rime
zzz
rime
An interactive, runnable TypeScript val by zzz
Script
neatBlackSwift
stevekrouse
neatBlackSwift
Remix of: stevekrouse/cerebras_coder
HTTP
YoutubeSummary
zzz
YoutubeSummary
// https://api.val.town/v1/express/zzz.rime?text=Hello%20Val%20Town
Script
highlight
justbe
highlight
Highlight This val exposes and endpoint that you can post code to and get back syntax highlighted html via Shiki . Shiki does server side highlighting, so it's perfect for val.town. You can switch themes by providing ?theme=<theme> and specify the language via ?lang=<language> Example You can play with a working example here . const res = await fetch(`https://just_be-highlight.web.val.run?lang=${lang}&theme=${theme}`, { method: "POST", body: code, }); console.log(await res.text()) Why? I want to add syntax highlighting to my blog soon and I'm experimenting with what it mean to offload parts of my rendering to val.town (behind a content-addressible cache, of course).
HTTP
ssr_react_mini
stevekrouse
ssr_react_mini
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
Script