Build Your Own Apps with AI

I’ve written a lot about AI – mostly negative. But it’s not going anywhere, so let’s explore a killer use for chatbots.

chatbot with prompt

There’s an App for That

We’ve become accustomed to searching for apps whenever we need to accomplish something. But those apps often come with subscriptions, advertisements, accounts, tracking, or a bunch of features we don’t need. What if you could create a little app that does exactly what you need it to do – no more and no less? AI chatbots make this shockingly easy to do. And you don’t have to know a single thing about coding. All you really need is a rough idea of what you want, the patience to refine and test your idea, and (crucially) a free AI chatbot as a collaborator. I’m going to show you how.

What kind of app, you may be asking? The sky is the limit, honestly, but I’m going to suggest that we start with something focused – an app that does one thing and does it well. Here are some ideas off the top of my head:

  • A recipe scaling calculator. For example, take an existing recipe that serves 4 people, and adjust it to feed 6.
  • Text cleaner. Take copied text that’s full of weird formatting and convert it to plain text, with proper sentence capitalization and extra white space removed.
  • Inventory tracker. A simple app to keep track of all your books or music, perhaps with little thumbnail images of the artwork.
  • Event countdown. Take a bunch of future events and create countdown clocks for each one. Maybe plot them on a timeline.
  • Metadata revealer. Many files contain hidden metadata that might contain personal information – find and expose it.

But you can do a whole lot more. Recently, a single developer used AI to recreate Adobe’s entire suite of creative tools – and then followed that up with free, open-source alternatives to Microsoft Word, Excel, and PowerPoint. Of course, the first versions of these cloned app suites will be buggy, but they’re going to very quickly get better. (I wouldn’t want to be in the software business right now.)

Harnessing the Power of the Web

Okay, so how do you create an app without knowing a single thing about coding? AI chatbots like ChatGPT and Claude are very, very good now at writing code – any type of code. As a software engineer of 30+ years, I’ve been shocked at what these LLMs can do, and how much they have improved in just the last year or so.

Now, there’s a lot of technical and logistical overhead creating a normal smartphone or computer app. But unless you want to make an app for someone else, you can bypass all of that. I’m going to recommend that you start by creating a simple web app. Using the power of basic web technologies like HTML, CSS and particularly JavaScript, you can do pretty amazing things. And all you need to run a web app is a web browser. Look at Google Docs or Canva or Gmail. It’s amazing what you can do in a browser today. And again, you don’t need to know anything about HTML, CSS, or JavaScript. All you have to be able to do is know how to ask for what you want.

Using a chatbot, you can create a powerful web app that lives in a single .html file. It requires no installation, no special development tools, and not even an internet connection. It will work on Windows or Mac (or Linux). You can easily share it with friends. There don’t have to be any ads, tracking, subscriptions, or cloud services. Your data can stay entirely on your computer.

The Magic AI Incantation

When you’re working with an AI chatbot – also called a large language model (LLM) – what you enter is called the prompt. While you might be used to asking simple questions and getting responses, the real power of chatbots is having conversations – asking follow up questions, going off on tangents, and – in this case – iterating on a design. Just like there are skills to be learned when using search engines, there is an art and a science to prompting an AI chatbot. I may do a whole other blog post on that topic, but for now, let’s focus on a solid prompt for creating your very own web app.

(NOTE: I’m refining this over time. Check back periodically. Last update: 10/29/2026)

I want you to help me create a small application for my computer. I don’t know how to program, so I need you to do all the coding. Please follow these requirements:

  1. Single file: Create the entire application as one HTML file containing all necessary HTML, CSS, and JavaScript. It must work in standard desktop browsers on macOS and Windows simply by double-clicking the file.
  2. Offline and private: The application must run entirely offline, without an Internet connection, web server, installation, or special software. It must not make network requests or transmit any information. All data and files must be processed locally in my browser.
  3. User-friendly: Create a clean, attractive, intuitive interface suitable for someone who isn’t technically inclined. Choose the layout, colors, and design yourself. Include clear instructions, helpful error messages, and sensible controls. Avoid clutter and unnecessary complexity.
  4. Reuse proven code: Prefer established, reputable JavaScript libraries over writing complex functionality from scratch. Any necessary third-party code must be bundled directly into the HTML file. Use lightweight, well-maintained libraries with compatible licenses, and preserve required attribution. Do not invent or approximate library code. Do not load external resources at runtime.
  5. Keep it simple: Keep the application as small and straightforward as practical. If my requirements are too ambitious for a single HTML file, explain the limitations and suggest a simpler approach rather than producing incomplete or unreliable code.
  6. Security: Treat all imported files and user-provided data as untrusted. Validate inputs, handle malformed data safely, and prevent embedded content from executing as code. Avoid unnecessary permissions or potentially dangerous browser features. Review the application for obvious security vulnerabilities.
  7. Testing: Check your code for errors and test it as thoroughly as your environment allows, including basic security checks. Explain what you actually tested, whether those tests passed, and what you couldn’t verify. Provide a short, plain-English checklist of 3–5 tests I should run, including sample inputs and expected results where possible. Include at least one unusual or error case.
  8. Debugging: Include unobtrusive diagnostic logging where useful. Logs should help you troubleshoot problems and be easy for me to copy or download. Record relevant processing steps and errors, but never include sensitive information, file contents, or personal data.
  9. Backup and restore: If the application stores data or settings between sessions, provide options to back up and restore that information. Include a timestamp in backup filenames. Validate imported data and handle errors gracefully.
  10. Easy updates: When I request changes or report problems, provide a complete updated HTML file. Don’t ask me to modify individual lines of code. Preserve existing functionality unless I specifically ask you to change it.

When you’re finished, give me a downloadable HTML file. If you can’t create downloadable files, provide the complete code in one block and explain exactly how to save it as an HTML file.

For now, don’t write any code. Wait for me to describe what I want the application to do.

And here’s the best part: you don’t have to get everything right the first time. If the app looks ugly, tell the chatbot to make it prettier. If a button doesn’t work, explain what happened and ask it to fix the problem. You can even upload a screenshot to show it what’s wrong (just crop out any personal information first). You don’t have to know how to fix the code yourself. That’s the chatbot’s job!

This prompt obviously incorporates some basic knowledge of web apps that you might not have known. But you could have described much the same thing in simpler language and the chatbot would have probably still gotten the idea. This is a template you can reuse for any app you create.

Next Steps

If you want, you can go ahead right now and take the next step – tell the chatbot what you want this app to do. But let me give you a few quick caveats.

  • AI-generated programs can contain bugs. Don’t expect it to work perfectly the first time.
  • Don’t give the chatbot sensitive personal information when building or troubleshooting your app. And don’t assume your finished app is completely private just because you requested offline operation. Test it with your internet connection disabled.
  • Start with small, low-risk projects.

Next time, I’ll show you exactly how I used a free ChatGPT account to create an app that reveals hidden information in digital photos. The first version had a bug – but fixing it turned out to be the most interesting part!

Need practical security tips?

Sign up to receive Carey's favorite security tips + the first chapter of his book, Firewalls Don't Stop Dragons.

Don't get caught with your drawbridge down!

Scroll to Top