Back to APIs list

Matrix API examples & templates

Use these vals as a playground to view and fork Matrix API examples and templates on Val Town. Run any example below or find templates that can be used as a pre-built solution.
vlad avatar
vlad
sendMatrixChatRoomTextMessage
Script
An interactive, runnable TypeScript val by vlad
1
vlad avatar
vlad
joinMatrixRoom
Script
An interactive, runnable TypeScript val by vlad
1
all avatar
all
chronosphere
HTTP
@jsxImportSource https://esm.sh/react
0
dhvanil avatar
dhvanil
web_O5apQ7aQOz
HTTP
An interactive, runnable TypeScript val by dhvanil
0
dhvanil avatar
dhvanil
web_k1upAyVCPh
HTTP
An interactive, runnable TypeScript val by dhvanil
0
dhvanil avatar
dhvanil
val_sCJrhQtEiy
HTTP
An interactive, runnable TypeScript val by dhvanil
0
seflless avatar
seflless
getRotationFromFFmpegDisplayMatrixString
Script
An interactive, runnable TypeScript val by seflless
0
vlad avatar
vlad
matrixMediaToHttpUrl
Script
An interactive, runnable TypeScript val by vlad
1
prashamtrivedi avatar
prashamtrivedi
reasoninghelper
HTTP
@jsxImportSource https://esm.sh/react@18.2.0
0
tk120404 avatar
tk120404
solarsystem
HTTP
@jsxImportSource https://esm.sh/react
1
dhvanil avatar
dhvanil
web_AXDuIDWzNX
HTTP
An interactive, runnable TypeScript val by dhvanil
0
easrng avatar
easrng
playground
HTTP
playground edit, run, and embed vals without requiring an account (or even js enabled!) caveats: logs don't stream I haven't set up codemirror only script vals supported everything else should be fully functional. you can prefill the editor with code: https://easrng-playground.web.val.run/?code=console.log(1) a val: https://easrng-playground.web.val.run/?load=easrng/playground some other url: https://easrng-playground.web.val.run/?load=https://any/other/url
4
dhvanil avatar
dhvanil
web_FzOqLTzLOP
HTTP
An interactive, runnable TypeScript val by dhvanil
0
dhvanil avatar
dhvanil
val_RcFf3oHVQl
HTTP
An interactive, runnable TypeScript val by dhvanil
0
maxm avatar
maxm
animatedReadmeSVG
HTTP
Fancy animated SVGs in readmes, along with centering and image sizing. <div align="center"><img width=200 src="https://gpanders.com/img/DEC_VT100_terminal.jpg"></div> <p align="center"> <img src="https://maxm-animatedreadmesvg.web.val.run/comet.svg" /> </p> <p align="center"> <img src="https://maxm-animatedreadmesvg.web.val.run/custom text!" /> </p>
4
yawnxyz avatar
yawnxyz
threeJsTorus
HTTP
playing around with townie during a meeting >.>
0