Make Real: Tldraw’s Accidental AI Play

Rate this content
Bookmark

This is the full story behind "Make Real", tldraw's viral AI experiment that lets you turn your low fidelity drawing into a functional website. It's half startup rollercoaster ride and half moral tale about betting on React — as Make Real was only possible because of the ability to put any React component onto tldraw's canvas.

Here's the full behind-the-scenes perspective, and everything we learned along the way.

This talk has been presented at React Day Berlin 2024, check out the latest edition of this React Conference.

FAQ

Tealdraw is not open source in the traditional sense, but it does allow users to read the code and build with it using the TLDR SDK.

Tealdraw uses React and its own signals implementation library to manage performance, particularly for high-refresh screens and multiplayer scenarios.

Developers can use the TLDR SDK to build their own applications on top of the Tealdraw canvas, creating Figma-style apps or other projects without spending extensive time building a canvas from scratch.

Tealdraw integrates AI to enhance the canvas experience, allowing for features like AI-generated images and workflows that incorporate AI-driven processes.

Tealdraw licenses its canvas technology to other applications and companies that want to integrate a whiteboard or canvas-like experience into their products.

Yes, Tealdraw can be used for free, with a watermark indicating it was made with Tealdraw. Licensing is available for removing the watermark.

Tealdraw is a drawing application that started as a small drawing app and evolved into a canvas tool that integrates with React. It allows users to create shapes, manipulate them, and use features like arrows and custom color pickers.

The goal of Tealdraw is to make canvas-based applications more accessible and practical, enabling more applications to use direct manipulation canvases and explore new use cases with AI integration.

Developers can learn more about using Tealdraw and access its SDK at TLDR.dev. For general use, Tealdraw.com offers a free platform for creating projects.

Steve Ruiz is the founder, creator, and CEO of Tealdraw.

Steve Ruiz
Steve Ruiz
32 min
13 Dec, 2024

Comments

Sign in or register to post your comment.
Video Summary and Transcription
I'm Steve Ruiz, the founder and CEO of Tealdraw. TLDR is a canvas app in React that allows developers to build with their SDK. TLDR pays attention to details that enhance the canvas experience and can be used to interact with different elements. TLDR's demos showcase its versatility, but may not perform well on social media. TLDR's AI collaboration features allow users to quickly turn their drawings into AI-generated images. The Make Real project helps users create user interfaces by drawing and providing prompts, generating working prototypes. The system behind Make Real can handle complex interactions and ambitious projects. OpenAI integration and the Steel Draw Computer enable building workflows and multi-stage generations. The goal is to bring the Canvas from being specialized to a primitive for the web. Teal Draw is free for open source and non-commercial use, with options to purchase licenses for additional features.

1. Introduction to TLDR and AI

Short description:

I'm Steve Ruiz, the founder and CEO of Tealdraw. TLDR started as a small drawing app, but we made it a canvas in React. It's like Figma or Miro, with nice arrows and the ability to curve shapes. TLDR is not open source, but you can build with our SDK. Today I'll talk about TLDR and our experience with AI. TLDR.dev is where developers can play with the SDK and build their ideas quickly.

Thanks for coming. I'm Steve Ruiz. I am the founder, creator, now CEO of Tealdraw, which started its life as a tiny little drawing app. Then someone pointed out that, hey, actually, TLDR is kind of like a thing. Maybe you should lean into that more. And so we did. We made our icon into a semicolon, and we raised a seed round based on the idea that the web kind of needs a canvas, and that it would be possible and even somewhat practical to do that in React.

So even though this is like, you know, it looks kind of like Figma or Miro, and I can do all the things that you would expect to be able to do in one of these apps, creating shapes, moving them around, direct manipulation, rotating. I am particularly very proud of my arrows. So yes, we do have nice arrows, and they do follow. All right. It gets weirder. Like, you can even hit arrows into, like, shapes that you drew yourself. And it'll curve just right around perfectly.

We are not open source in the upper case definition of open source, but we are open source in the lower case, come read my code. And you can build with TLDR. We have an SDK that you can use to build all sorts of interesting projects on top of it, and we finally have a landing page for the first time in a couple years. So it's used by some real companies. And big and small. So today I am going to talk, again, a little bit about TLDR, but also about this strange experience that we had with with AI.

So not an AI company. I don't make any money off of an AI product. This is not AI for dog food for cats or something. But it is kind of like the most or it was like kind of one of the most viral AI products of, like, last year, and we've still had a lot of luck with that this year. Mostly just pairing the canvas plus AI. I'll show you what I mean. But just so that my go to market hire doesn't kill me, TLDR.dev is where you can play with the SDK and learn all about it. If you're a developer and if you've ever had an idea about building, like, a Figma-style app for something, you can use TLDR. Probably get it done in a weekend. Don't spend two years building a canvas, please.

2. Using TLDR as a User

Short description:

You can use TLDR as a user on TLDR.com to create projects for free. TLDR pays attention to the little details that enhance the canvas experience, like hiding the selection overlay when changing colors. TLDR's canvas is a normal React app, allowing you to interact with different elements, even on a YouTube video. It's not TikTok.

I've already done it. It's really hard. And then you can also just use TLDR as a user. Plenty of people do. So we have TLDR.com, you know, what I'm using right now, where you can go and create projects. It's completely free. People use it for all sorts of things. I do my retros there, my wireframes and diagrams, stuff like that. I did my cool demos already.

But yeah, it's fun to look at all the little details in TLDR. We've paid a lot of attention to, I don't know, those little things that add up to a good canvas experience. You know, if I'm changing a color, maybe hide the selection overlay, you know, for just a second so that I can see what that color looks like. Unless, of course, my mouse leaves the panel and then shows it to me right away. Whatever.

It's like some tiny little micro interaction that you might not notice. But there are, like, millions of those inside of a canvas. And we've tried to catch all of them. You can even click and drag to select different colors. Unusual color picker, but there it is. And yeah, the weird thing about TLDR's canvas is that even though it is very high performance and I can have thousands and thousands of shapes and zoom in and out and all this stuff, it is like a web canvas. This is a normal React app. It's DOM. It's SVGs. It's divs. It's whatever. In this case, it's a YouTube video that I can, you know, interact with and play. But I can also, you know, rotate it. Or I could draw on top of it and do all these things that normally you don't get to do in canvases using DOM content. As much as I would like to watch all of that subway surfers video. This is not TikTok.

Check out more articles and videos

We constantly think of articles and videos that might spark Git people interest / skill us up or help building a stellar career

Building a Voice-Enabled AI Assistant With Javascript
JSNation 2023JSNation 2023
21 min
Building a Voice-Enabled AI Assistant With Javascript
Top Content
This Talk discusses building a voice-activated AI assistant using web APIs and JavaScript. It covers using the Web Speech API for speech recognition and the speech synthesis API for text to speech. The speaker demonstrates how to communicate with the Open AI API and handle the response. The Talk also explores enabling speech recognition and addressing the user. The speaker concludes by mentioning the possibility of creating a product out of the project and using Tauri for native desktop-like experiences.
AI and Web Development: Hype or Reality
JSNation 2023JSNation 2023
24 min
AI and Web Development: Hype or Reality
Top Content
This talk explores the use of AI in web development, including tools like GitHub Copilot and Fig for CLI commands. AI can generate boilerplate code, provide context-aware solutions, and generate dummy data. It can also assist with CSS selectors and regexes, and be integrated into applications. AI is used to enhance the podcast experience by transcribing episodes and providing JSON data. The talk also discusses formatting AI output, crafting requests, and analyzing embeddings for similarity.
The Rise of the AI Engineer
React Summit US 2023React Summit US 2023
30 min
The Rise of the AI Engineer
Watch video: The Rise of the AI Engineer
The rise of AI engineers is driven by the demand for AI and the emergence of ML research and engineering organizations. Start-ups are leveraging AI through APIs, resulting in a time-to-market advantage. The future of AI engineering holds promising results, with a focus on AI UX and the role of AI agents. Equity in AI and the central problems of AI engineering require collective efforts to address. The day-to-day life of an AI engineer involves working on products or infrastructure and dealing with specialties and tools specific to the field.
The Ai-Assisted Developer Workflow: Build Faster and Smarter Today
JSNation US 2024JSNation US 2024
31 min
The Ai-Assisted Developer Workflow: Build Faster and Smarter Today
AI is transforming software engineering by using agents to help with coding. Agents can autonomously complete tasks and make decisions based on data. Collaborative AI and automation are opening new possibilities in code generation. Bolt is a powerful tool for troubleshooting, bug fixing, and authentication. Code generation tools like Copilot and Cursor provide support for selecting models and codebase awareness. Cline is a useful extension for website inspection and testing. Guidelines for coding with agents include defining requirements, choosing the right model, and frequent testing. Clear and concise instructions are crucial in AI-generated code. Experienced engineers are still necessary in understanding architecture and problem-solving. Energy consumption insights and sustainability are discussed in the Talk.
Web Apps of the Future With Web AI
JSNation 2024JSNation 2024
32 min
Web Apps of the Future With Web AI
Web AI in JavaScript allows for running machine learning models client-side in a web browser, offering advantages such as privacy, offline capabilities, low latency, and cost savings. Various AI models can be used for tasks like background blur, text toxicity detection, 3D data extraction, face mesh recognition, hand tracking, pose detection, and body segmentation. JavaScript libraries like MediaPipe LLM inference API and Visual Blocks facilitate the use of AI models. Web AI is in its early stages but has the potential to revolutionize web experiences and improve accessibility.
Code coverage with AI
TestJS Summit 2023TestJS Summit 2023
8 min
Code coverage with AI
Codium is a generative AI assistant for software development that offers code explanation, test generation, and collaboration features. It can generate tests for a GraphQL API in VS Code, improve code coverage, and even document tests. Codium allows analyzing specific code lines, generating tests based on existing ones, and answering code-related questions. It can also provide suggestions for code improvement, help with code refactoring, and assist with writing commit messages.

Workshops on related topic

AI on Demand: Serverless AI
DevOps.js Conf 2024DevOps.js Conf 2024
163 min
AI on Demand: Serverless AI
Top Content
Featured WorkshopFree
Nathan Disidore
Nathan Disidore
In this workshop, we discuss the merits of serverless architecture and how it can be applied to the AI space. We'll explore options around building serverless RAG applications for a more lambda-esque approach to AI. Next, we'll get hands on and build a sample CRUD app that allows you to store information and query it using an LLM with Workers AI, Vectorize, D1, and Cloudflare Workers.
AI for React Developers
React Advanced 2024React Advanced 2024
142 min
AI for React Developers
Featured Workshop
Eve Porcello
Eve Porcello
Knowledge of AI tooling is critical for future-proofing the careers of React developers, and the Vercel suite of AI tools is an approachable on-ramp. In this course, we’ll take a closer look at the Vercel AI SDK and how this can help React developers build streaming interfaces with JavaScript and Next.js. We’ll also incorporate additional 3rd party APIs to build and deploy a music visualization app.
Topics:- Creating a React Project with Next.js- Choosing a LLM- Customizing Streaming Interfaces- Building Routes- Creating and Generating Components - Using Hooks (useChat, useCompletion, useActions, etc)
Leveraging LLMs to Build Intuitive AI Experiences With JavaScript
JSNation 2024JSNation 2024
108 min
Leveraging LLMs to Build Intuitive AI Experiences With JavaScript
Featured Workshop
Roy Derks
Shivay Lamba
2 authors
Today every developer is using LLMs in different forms and shapes, from ChatGPT to code assistants like GitHub CoPilot. Following this, lots of products have introduced embedded AI capabilities, and in this workshop we will make LLMs understandable for web developers. And we'll get into coding your own AI-driven application. No prior experience in working with LLMs or machine learning is needed. Instead, we'll use web technologies such as JavaScript, React which you already know and love while also learning about some new libraries like OpenAI, Transformers.js
Llms Workshop: What They Are and How to Leverage Them
React Summit 2024React Summit 2024
66 min
Llms Workshop: What They Are and How to Leverage Them
Featured Workshop
Nathan Marrs
Haris Rozajac
2 authors
Join Nathan in this hands-on session where you will first learn at a high level what large language models (LLMs) are and how they work. Then dive into an interactive coding exercise where you will implement LLM functionality into a basic example application. During this exercise you will get a feel for key skills for working with LLMs in your own applications such as prompt engineering and exposure to OpenAI's API.
After this session you will have insights around what LLMs are and how they can practically be used to improve your own applications.
Table of contents: - Interactive demo implementing basic LLM powered features in a demo app- Discuss how to decide where to leverage LLMs in a product- Lessons learned around integrating with OpenAI / overview of OpenAI API- Best practices for prompt engineering- Common challenges specific to React (state management :D / good UX practices)
Working With OpenAI and Prompt Engineering for React Developers
React Advanced 2023React Advanced 2023
98 min
Working With OpenAI and Prompt Engineering for React Developers
Top Content
Workshop
Richard Moss
Richard Moss
In this workshop we'll take a tour of applied AI from the perspective of front end developers, zooming in on the emerging best practices when it comes to working with LLMs to build great products. This workshop is based on learnings from working with the OpenAI API from its debut last November to build out a working MVP which became PowerModeAI (A customer facing ideation and slide creation tool).
In the workshop they'll be a mix of presentation and hands on exercises to cover topics including:
- GPT fundamentals- Pitfalls of LLMs- Prompt engineering best practices and techniques- Using the playground effectively- Installing and configuring the OpenAI SDK- Approaches to working with the API and prompt management- Implementing the API to build an AI powered customer facing application- Fine tuning and embeddings- Emerging best practice on LLMOps
Building AI Applications for the Web
React Day Berlin 2023React Day Berlin 2023
98 min
Building AI Applications for the Web
Workshop
Roy Derks
Roy Derks
Today every developer is using LLMs in different forms and shapes. Lots of products have introduced embedded AI capabilities, and in this workshop you’ll learn how to build your own AI application. No experience in building LLMs or machine learning is needed. Instead, we’ll use web technologies such as JavaScript, React and GraphQL which you already know and love.