“There’s an app for that” has a whole new meaning in the age of AI. Let’s create an app!

Last time, I told you all about creating your very own apps using AI chatbots. If you haven’t read that article, start there. (Note that I’ve also tweaked the starting prompt message, so be sure to use the latest version.)
Prepping Your Chatbot
First, we have to choose a chatbot. There are several powerful and free options today. The most popular ones (at the time of this writing) are OpenAI’s ChatGPT, Google’s Gemini, and Anthropic’s Claude. None of those are private, but for this purpose they’re fine – we’re not going to be sharing any personal information. I chose the free version of ChatGPT and it did a great job. I didn’t even have to create an account. (I tried using the free version of Proton’s Lumo for this, but the results weren’t good.)
I’ll explain what I did, and then I recommend you try this yourself. (Again, read my first article if you haven’t already.)
In a fresh chat session, give ChatGPT the foundation prompt from the last article – copy the entire prompt and paste it into the session window’s text entry box, then hit Enter/Return. This tells the chatbot what we’re going to do and sets some basic requirements for the output. When I did this, ChatGPT replied with:
Understood. I’ll use these requirements as the foundation for your application.
I won’t write any code yet. Once you describe what you want the application to do, I’ll:
- Assess the requirements and choose a practical, reliable approach.
- Design a simple, polished interface.
- Build the complete application in a single, self-contained HTML file.
- Test it as thoroughly as my environment allows and clearly report the results and limitations.
- Provide a downloadable HTML file, along with straightforward testing instructions.
I’ll prioritize offline operation, privacy, security, simplicity, and preserving functionality when making future updates.
I’m ready for Part 2: the details of what you want the application to do.
Now… what app do we want to create?
Photo Metadata Revealer
When we share pictures online, those image files usually come with all sorts of hidden data attached. This metadata can include information like precise GPS coordinates, which would pinpoint when and where that picture was taken. It might also capture information about what type of device took the picture. This data is there, but unless you know how to reveal it, you’d never know it. So let’s create a little web app that can expose photo metadata… let’s call it PhotoMD.
Here’s the second prompt I gave to ChatGPT:
Create an application called PhotoMD, with the tagline “See what your photos are hiding.”
Digital photographs can contain hidden information called metadata. This might include when a photo was taken, what camera or phone was used, and even GPS coordinates revealing where the photograph was taken. I want PhotoMD to reveal that information in a way ordinary people can understand.
The application should:
- Select a photo: Allow me to select an image using a file picker or drag and drop. Support common image formats, particularly JPEG and PNG.
- Display the photo: Show a reasonably sized thumbnail, along with the filename, file type, dimensions, and file size in human-friendly units (KB, MB).
- Inspect metadata: Extract as much embedded metadata as reasonably possible, including EXIF, GPS, XMP, and other information. Organize the results into logical, expandable sections.
- Make it understandable: Translate technical metadata into human-friendly labels and values. For example, display GPS coordinates in degrees/minutes/seconds or decimal format, camera exposure times as fractions, and dates in readable formats. Avoid unnecessary decimal places.
- Highlight personal information: Prominently identify metadata that might reveal personal information, particularly GPS locations, names, email addresses, or other identifying details. Distinguish these from ordinary technical information like camera settings.
- Explain limitations: Be clear about what types of metadata the application cannot reliably detect. Don’t claim that a file contains no personal information simply because none was found.
- Simple controls: Allow me to replace the current photo with another or reset the application to its initial state.
- Interface behavior: Initially, show a simple drag-and-drop area with an Upload button. Once a photo is selected, immediately analyze it and display the results. Replace the upload area with the photo and its metadata. Keep the interface clean and uncluttered.
Use the requirements from my previous prompt, particularly the need for a single, self-contained HTML file that runs entirely offline.
Please create PhotoMD now and give me the complete application as a downloadable HTML file.
After a minute or two of “thinking”, it told me what it had created and gave me instructions on how to use it:

It also gave me a nice little checklist for how to test it, which I didn’t include here. I downloaded and double-clicked the HTML file. It launched my web browser and I saw this lovely welcome page:

Now I wanted to test this with an image that I knew had GPS data embedded in it. There’s a classic story about John McAfee (of antivirus software fame) being on the lam in Central America and having his location inadvertently revealed by a photo from Vice Magazine – because they didn’t scrub the metadata before posting it online! (I tried to find the original photo with metadata, but failed… so I reconstructed it based on news stories.) Here’s what the tool showed me:

You can see the latitude and longitude information right there (I drew a box around it). But this information would not be visible just by viewing the image normally. (If you’re curious, you can look up that location – or any such coordinates – on Google Maps.)
Lather, Rinse, Repeat
Cool! So, now what? Well, I decided I wasn’t satisfied with just viewing the metadata – I wanted to remove it. If I’m going to be sharing pictures, I want all that personal info scrubbed! In other words, I realized I wanted to keep going. ChatGPT gave me exactly what I had asked for. But once I had that, I wasn’t satisfied – I wanted more!
That’s part of the beauty of this whole “vibe coding” process… if you don’t like what you got, keep trying! Add more features. Change the look and feel. Add some configurable settings. And yes, probably fix some bugs, too.
Here’s what I told ChatGPT to do next:
PhotoMD is working well! Now add a Cleanse button that creates a fresh image without carrying over the original metadata.
- Decode the original photograph into pixels, draw those pixels onto a new HTML canvas, and export a newly encoded image using the same format as the original. Don’t simply delete metadata fields.
- Never modify the original file.
- After cleansing, automatically inspect the new image and display its metadata, so I can see what’s left.
- Provide a prominent Download Cleaned Image button near the top of the results. Don’t download anything automatically.
- Briefly explain that this process removes the original embedded metadata but cannot guarantee removal of invisible watermarks or identifying information visible in the picture.
I had to iterate with ChatGPT a couple times to get what I wanted. I also asked ChatGPT to tone down some of the warnings… some of the metadata it flagged originally as personal wasn’t really that personal.
In the end, I had a simple web app that would not only show me the hidden metadata, but allow me to remove it. Instead of showing you a bunch of screen shots, I’ll just give you app. Download it and try it out yourself! (This will probably open the app in a new window, but you can also right-click this button and save the file anywhere on your computer.)
Take It for a Spin
You can test the app with a photo from your smartphone to see the GPS information. You might also try giving PhotoMD a picture that someone sent to you via email or text message. Did it have location information in it? Can you map the coordinates?
You might find it interesting to note that most social media sites do scrub metadata from uploaded photos (though they could still be saving that data for themselves). Try this:
- Take a photo on your smartphone, then check it with PhotoMD. You’ll probably see GPS coordinates.
- Upload that photo to Facebook or Instagram or some other social media site you use.
- Then download the image again from the social media site and check that version with PhotoMD. Is the metadata gone?
What other features do you wish this app had? What if you could click on GPS coordinates and jump to a map of that location? Ask the chatbot to add this feature! Or anything else you’d like! Play around with it! You can even use my version to start with – just upload the HTML file to ChatGPT.
Some Final Notes
I’ve been a software engineer for over 30 years, so I realize that I have a lot better idea what to ask for in these prompts than a layman would. And I included these sample prompts so you could have something to build off of. However, you really don’t need a background in coding. It may take you a few more tries to get it right, but describing what you want in plain English will work. These chatbots will figure it out!
Don’t forget that you can upload images, too. Take a screenshot of the app and annotate what you want to change. You can even sketch your idea on a piece of paper, take a picture of it, and upload that. It doesn’t have to be pretty. Draw some boxes, label the buttons, add a few arrows, and tell the chatbot, “Make the interface look something like this.”
You should also realize that just starting over, with the same instructions, can have a different result. Chatbots have some built-in randomness. So, if you really don’t like the first set of options, start a new session, maybe change your prompt a little, and try again. Trial and error is a normal part of any design process – and honestly, I think it’s one of the most fun parts.
You should also spend time testing whatever you create. Ask the chatbot for help, but challenge yourself to find ways to try to break your app. Find the edge cases. Test the boundaries. And when you get a result you didn’t expect or don’t like, tell the chatbot what you want instead and ask it for a fix. In the end, you’ll have a better app.
If you’re curious what’s really going on, you can ask the chatbot to walk through the code with you, too. Ask it explicitly to explain it to you like you were a 10-year-old – or pick some other avatar for yourself. They’ve really good at tailoring their output based on a target audience description.
Look, I know artificial intelligence can seem scary. And yes, as a tool, it can be wielded by bad guys to do bad stuff. But it can also be wielded by you, and allow you to do things you couldn’t do before. Just don’t jump on the AI agent bandwagon yet.
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!









