Avatar

roadlabs

keep calm, keep simple.
Joined July 29, 2024
Likes
15
steveruizok avatar
steveruizok
incredibleYellowTick
HTTP
Forked from steveruizok/tldraw_computer_example
1
steveruizok avatar
steveruizok
tldraw_computer_example
HTTP
tldraw computer custom endpoint example This val is an example custom endpoint for tldraw computer 's data component. Usage To use this val with tldraw.computer, follow these steps: Fork this Val. Click the Copy endpoint button on your new Val. Open a project on tldraw.computer Create a Data component in your tldraw computer project In the Source dropdown, select Custom and the POST method Paste the endpoint into Data component's the HTTP Endpoint input. Run the component. To see the output, connect the Data component to a Text component. How it works In tldraw computer, you can configure a Data component to use a custom HTTP endpoint as its data source. You can also configure the request method, either GET or POST. If a Data component's request method is POST, then when the component next updates, it will send a POST request to the endpoint. The request's body will contain an array of the Data objects that the component had received as inputs. If the request method if GET, then the component will only make the request—its body will be empty. In both cases, the component will expect back a response that includes an array of Data objects these objects will be passed along as the data component's outputs. The endpoint (your forked version of this Val) can do whatever it likes between the request and response, but the response must include data in the correct format. If the format is wrong, the computer app will create a text data object instead that includes the response as plain text. Support If you're running into any difficulties, check out the #tldraw-computer channel on the tldraw discord.
3
maxm avatar
maxm
phpServe
HTTP
Forked from harveyfullstack/phpServe
1
janpaul123 avatar
janpaul123
valleBlogV0
HTTP
Fork this val to your own profile. Create a Val Town API token , open the browser preview of this val, and use the API token as the password to log in.
3
janpaul123 avatar
janpaul123
valledrawclient
Script
Forked from janpaul123/reacttldrawclient
2
janpaul123 avatar
janpaul123
VALLEDRAW
HTTP
Forked from janpaul123/reacttldraw
2
janpaul123 avatar
janpaul123
reacttldraw
HTTP
Forked from tfayyaz/react_tldraw
1
janpaul123 avatar
janpaul123
reacttldrawclient
Script
Forked from tfayyaz/reacttldrawclient
1
janpaul123 avatar
janpaul123
VALLErun
HTTP
Forked from janpaul123/VALLE
4
janpaul123 avatar
janpaul123
readmeVals
HTTP
An interactive, runnable TypeScript val by janpaul123
1
janpaul123 avatar
janpaul123
valleGetValsContextWindow
Script
Forked from janpaul123/getValsContextWindow
3
janpaul123 avatar
janpaul123
VALLE
HTTP
Forked from janpaul123/valTownChatGPT2
15
maxm avatar
maxm
imgGenUrl
HTTP
Image generated from a path name powered by fal.ai https://maxm-imggenurl.web.val.run/firefly.jpg https://maxm-imggenurl.web.val.run/retro-computer-hacking.jpg https://maxm-imggenurl.web.val.run/100-yoyos-at-once.jpg
13
std avatar
std
openaiproxy
HTTP
OpenAI Proxy This OpenAI API proxy injects Val Town's API keys. For usage documentation, check out https://www.val.town/v/std/openai
1
pomdtr avatar
pomdtr
extractValInfo
Script
Extract vals infos (author, name, version) from a val url (either from esm.town or val.town ). Example usage: const {author, name} = extractValInfo(import.meta.url) Also returns a unique slug for the val: <author>/<name>
15
Next