←back to thread

Tldraw Computer

(computer.tldraw.com)
530 points duck | 1 comments | | HN request time: 0.199s | source
1. ALittleLight ◴[] No.42472736[source]
I'd love a "Code" component where you could enter arbitrary code. After following the tutorials I asked myself "What would I like to make?" And I imagined a tweet-bot - grab headlines from Wiki news (or somewhere), combine with an instruction to generate text and another couple instructions to generate an image, post to twitter (or bluesky).

This seems easy enough if I have a code component that could execute arbitrary code. I could just write a couple small component (take API key, text, post to twitter/search wikinews) and add them to the workflow. If the components I needed were generalizable I could share them on some kind of community repository - so the next person who needed a "Post to twitter" component wouldn't even need to rewrite it.