Hacker News new | past | comments | ask | show | jobs | submit login

Hey, Steve here from tldraw. This is a toy project with a horrible security pattern, sorry. If you want to run it locally or check out the source, it's here: https://github.com/tldraw/draw-a-ui. You can also see a bunch of other examples at https://twitter.com/tldraw.

Happy to answer any questions about tldraw/this project. It's definitely not putting anyone out of work, but it's a blast to play with. Here's a more complicated example of what you can get it to do: https://twitter.com/tldraw/status/1725083976392437894




Launch launch launch!

Seriously this is lightning in a bottle. Charge $5/mo and have users bring their own OpenAI key.

Here’s a freshly MIT’ed licensing server you can use. It’s written in elixir and powers https://go.robocoder.app

Reach out if you need help getting it running!

https://github.com/emcmanus/robocoder-server/

(Or I’m sure Robocoder.app can walk you through the dev setup)


What does a licensing server do?


Mostly it generates a key that users can paste into an application.

It also implements

- Stripe payments

- “Sign in with GitHub”

- JSON API to validate keys

This is nice because it means you don’t need a user system in your app. Users just paste a key, and the app validates it on startup.


Steve, where do we send the money? Jokes aside, this is pretty compelling stuff. It maybe a toy, but look at all these kids and how happy we are.


Hey Steve! Super exciting project and congrats on the launch! I tried to use my open AI key and am getting an error around "you exceeded your current quota, check billing". Does the standard $20 a month OpenAi Pro subscription work for this or are there additional permissions needed?

Edit: found the answer on the github readme

"*To use your own API key, you need to have access to usage tier 1. Check out your current tier, and how to increase it in the OpenAI settings."


Wow! That flow chart is really a killer point and probably should be a first-class concept for a tool like this. Really starts to give someone the right levers to making something useful vs. a toy.


That last example is fun, it's amazing how you can give it feedback like that. When you select the generated app + your text, what's it actually receiving as input? Is it receiving its previously generated code plus your new text?


Yes! If you have a previously generated shape selected, it incorporates the code from that file into the prompt for the next one. i.e. "here's what we had before, here are the notes that came back"




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: