Can ChatGPT Really Build a Self-Hosted App? I Tried It
I wanted to see if ChatGPT could really build an entire self-hosted application. What started as a simple voice recorder turned into a personal journal powered by local AI. The results genuinely surprised me.
I've been experimenting with ChatGPT for quite some time, especially when it comes to writing code. Most of my projects have been relatively small, but recently I started wondering just how far I could actually push it. Could ChatGPT build an entire self-hosted application from scratch? Not just something that looks impressive in a screenshot, but an application I could install on my server and genuinely use every day?
I'll admit, I had my doubts. I've seen enough AI-generated code to know that something can appear functional until you start requesting more complicated features. I expected to eventually reach a point where ChatGPT would struggle to keep everything working together. But after building my latest project, I've come away with a completely different impression. The answer to my original question is a resounding yes, and I'm honestly surprised by how much I was able to accomplish.
The application is called Voice Journal, and what started as a simple idea for recording voice memos on my iPhone has turned into a surprisingly capable self-hosted journal powered by local AI.
It Started With a Simple Idea #
I've always liked the idea of keeping a personal journal, but I've never been particularly interested in sitting down and typing out my thoughts. Sometimes something comes to mind that I'd rather just say out loud while it's fresh. Apple's Voice Memos already does a good job of recording audio, but I wanted something that could organize those recordings and make them searchable later. More importantly, I wanted everything stored on my own server.
So I opened ChatGPT and described what I had in mind. I wanted a simple application that could record audio from my iPhone and run through Docker. I also wanted it to work as a Progressive Web App (PWA), allowing me to install it on my home screen without having to develop a native iOS application. I wasn't expecting anything extraordinary. I figured I'd end up with a functional little project that would be fun to experiment with, even if it required quite a bit of troubleshooting.
What I didn't anticipate was how quickly the project would grow once I started seeing the results.
ChatGPT Started Writing the Application #
Instead of manually writing the code, I explained the features I wanted and let ChatGPT generate the application. It created a React and TypeScript frontend with a Node.js backend, while SQLite handles the journal's data. Docker Compose manages the application and its supporting services, making it straightforward to deploy on my Linux server.
After getting the first version running, I opened it on my iPhone and started testing. There were definitely issues. Some interface elements needed adjustments for smaller screens, and the navigation didn't always behave the way I expected. At one point, the homepage kept refreshing whenever a recording was being processed, which became annoying pretty quickly.
What impressed me was how I could approach fixing those problems. Rather than digging through the code myself, I could send ChatGPT a screenshot or paste some Docker logs and explain what was happening. Sometimes it identified the problem immediately, while other issues required a few attempts before we got things right. There was plenty of back and forth, but each update made the application a little better.
Before long, I had a working audio journal accessible from my iPhone, running entirely on my own server. Naturally, I started wondering what else I could get ChatGPT to build.
Adding Local Speech Recognition #
One of my biggest goals was making the recordings searchable. I didn't want to listen through several minutes of audio just to find something I'd mentioned a few weeks earlier. I wanted to be able to type a word or phrase and find the recording that contained it.
I asked ChatGPT to integrate Whisper, OpenAI's speech recognition model, using the faster-whisper implementation. Initially, transcription ran on the CPU, which worked well enough for testing. Eventually, I decided to take advantage of the NVIDIA RTX 2080 Ti in my server, which has 11GB of VRAM. After a few Docker configuration changes, Voice Journal was running Whisper Large-v3 locally on my GPU.
Now, whenever I upload or record something, Whisper can automatically generate a transcript that's saved alongside the audio. ChatGPT also implemented synchronized transcript highlighting, so the corresponding words are highlighted as the recording plays. Searching through previous recordings can bring me directly to the relevant transcript, which is considerably more useful than scrolling through a collection of audio files.
This was probably the point where I realized I was building something I might actually continue using. What began as a simple recorder was becoming a proper personal journal.
Giving Voice Journal Its Own AI #
With transcription working, I started thinking about what else I could do with all that text. Sometimes I don't want to read an entire transcript just to remember what a recording was about, so I asked ChatGPT to integrate Ollama for automatic summaries and suggested titles.
We ended up using Qwen2.5 3B, a relatively small language model that runs locally. After Whisper finishes transcribing a recording, a separate background worker sends the transcript to Ollama. It generates a short summary and suggests a title based on what I said. I can accept the title or decline it, and I can regenerate a summary whenever I'm unhappy with the result.
Getting those summaries to sound natural turned out to be more frustrating than I expected, though. For example, I recorded a short memo about testing the PWA on my iPhone, and Ollama returned something along the lines of:
User tests PWA website on iPhone, saves it, and plans to use it in the future.
Seriously? User? It's my personal journal, not a report about somebody else's activities. I wanted the summaries to read more naturally, as though I had written a quick note about what I'd recorded. Something like, "Testing the PWA on my iPhone. Saved it to my home screen and plan to use it regularly."
I had ChatGPT modify the summarizer's prompt with specific instructions to avoid that impersonal writing style:
Write like a personal journal entry using natural, conversational language. Use first-person wording when appropriate, but don't force every sentence to begin with "I". Never refer to the person as "the user," "the speaker," or "the individual." Avoid robotic introductions and don't invent details.
Unfortunately, the model didn't always listen. ChatGPT eventually added a validation step that checks the generated summary for impersonal wording and requests a rewrite when necessary. We also discovered that Docker was still running an older version of the summarizer during some of my testing, which explained why the changes weren't taking effect. Once we corrected that, the summaries improved considerably.
It was a good reminder that smaller local models have limitations. Sometimes improving the prompt isn't enough, and the application needs additional logic to get the results you want.
My iPhone Is How I Primarily Use It #
Although Voice Journal works in a desktop browser, I primarily use it on my iPhone as an installed PWA. I can launch it directly from my home screen, and it behaves much like a regular application without Safari's address bar taking up space.
Getting the mobile experience right took some adjustments. At one point, the iPhone's status bar was overlapping the Voice Journal header. I sent ChatGPT a screenshot and explained the problem, and it modified the layout to account for the iPhone's safe area. There were similar improvements throughout development, including making navigation more reliable and preventing unnecessary page refreshes.
But my favorite improvement came when I started experimenting with Apple's Shortcuts app. I wanted to record a journal entry without having to open Voice Journal at all, and it turned out that ChatGPT could help with that too.
"Journal Now" #
With ChatGPT's help, I created an Apple Shortcut called Journal Now, and it's probably the most convenient feature of the entire project.
All I have to do is press the side button on my iPhone to activate Siri and say, "Journal Now." The Shortcut starts recording my voice, and when I'm finished, it automatically uploads the memo to my server and adds it to Voice Journal. From there, Whisper transcribes the recording and Ollama generates a summary with a suggested title.
I don't have to open the PWA or manually upload anything afterward. I can simply record a thought when it comes to mind, knowing it'll be waiting in my journal later. I can also share existing recordings directly from Apple's Voice Memos app if I want to import something I've already recorded.
Considering how this project started, having that entire process working through a simple voice command is pretty remarkable.
Talking to My Journal with AI #
Another feature I recently added is called Ask Journal, and it's probably one of the more ambitious things I've asked ChatGPT to build. Instead of manually searching through recordings, I can ask questions about things I've mentioned in the past. For example, I can ask how much money I spent on gas last week, and Voice Journal searches my transcripts for relevant purchases and calculates the total.
ChatGPT also built a conversational interface where I can chat with my journal and ask follow-up questions. Even better, I created another Siri Shortcut called "Ask Journal," so I can hold the side button on my iPhone, ask a question, and hear the answer spoken back to me without opening the app.
The feature still needs work. Smaller local models sometimes misunderstand context, and getting the search results right has required quite a bit of tweaking. But being able to have an actual conversation with years of personal voice recordings, all processed on my own server, is something I never imagined this little project would be capable of.
The Features Kept Adding Up #
As I continued using Voice Journal, I kept coming up with improvements that weren't part of the original plan. There's now a timeline where I can browse recordings and read their transcripts. I can rename entries whenever I want, and the built-in search makes finding something I've mentioned much easier.
ChatGPT also built a statistics dashboard that shows how many recordings I've made and how much audio I've collected. More recently, I added a dedicated recording calendar, along with an On This Day feature that can surface recordings from the same date in previous years. I particularly like that idea because it's something that should become more meaningful the longer I use the journal.
Another important addition was backup and export functionality. I can download a complete backup of my journal or export readable transcripts separately. There's also an option to download recordings using their current titles as filenames, including titles I've renamed since the original recording.
The built-in recorder is intended for quick one-minute entries, but I can import longer recordings from other sources and the iPhone shortcut as well. Everything ends up in the same journal, where it can be transcribed and summarized automatically.
What's interesting is that most of these features came about simply because I was using the application and thought of something that could make it better. I'd explain the idea to ChatGPT, deploy the updated files, and test the results. It never really felt like I needed to start over as the application grew.
Everything Runs on My Own Server #
Underneath the interface, Voice Journal runs through Docker Compose on my Linux server. The original audio files are stored in persistent directories, while SQLite manages the journal information. Whisper handles transcription, and Ollama provides the language model used for summaries. Both AI components run locally, so I'm not paying an external API provider every time I record something.
services:
voice-journal:
build:
context: .
dockerfile: Dockerfile
container_name: voice-journal
restart: unless-stopped
ports:
- "${HOST_PORT:-4040}:4040"
environment:
PORT: "4040"
DATA_DIR: /app/data
RECORDINGS_DIR: /app/recordings
JOURNAL_PASSWORD: ${JOURNAL_PASSWORD:?Set JOURNAL_PASSWORD in .env}
SESSION_SECRET: ${SESSION_SECRET:?Set SESSION_SECRET in .env}
MAX_UPLOAD_MB: ${MAX_UPLOAD_MB:-512}
NODE_ENV: production
WHISPER_MODEL: ${WHISPER_MODEL:-medium.en}
WHISPER_DEVICE: cpu
OLLAMA_MODEL: ${OLLAMA_MODEL:-qwen2.5:3b}
volumes:
- ./voice_journal_data:/app/data
- ./recordings:/app/recordings
security_opt:
- no-new-privileges:true
cap_drop:
- ALL
healthcheck:
test: ["CMD", "node", "-e", "fetch('http://127.0.0.1:4040/api/health').then(r => process.exit(r.ok ? 0 : 1)).catch(() => process.exit(1))"]
interval: 30s
timeout: 5s
retries: 3
start_period: 20s
transcription-worker:
build:
context: ./transcription-worker
dockerfile: Dockerfile
container_name: voice-journal-transcriber
restart: unless-stopped
depends_on:
voice-journal:
condition: service_healthy
environment:
JOURNAL_DB: /app/data/journal.sqlite
WHISPER_MODEL: ${WHISPER_MODEL:-medium.en}
WHISPER_THREADS: ${WHISPER_THREADS:-2}
WHISPER_DEVICE: cpu
WHISPER_COMPUTE_TYPE: int8
MODEL_DIR: /models
volumes:
- ./voice_journal_data:/app/data
- ./recordings:/app/recordings:ro
- ./models:/models
cpus: 2.0
mem_limit: ${WHISPER_MEMORY_LIMIT:-4g}
security_opt:
- no-new-privileges:true
cap_drop:
- ALL
# Ollama is internal only: NO publicly exposed port 11434.
ollama:
image: ollama/ollama:latest
container_name: voice-journal-ollama
restart: unless-stopped
environment:
OLLAMA_HOST: 0.0.0.0:11434
OLLAMA_NUM_PARALLEL: "1"
OLLAMA_MAX_LOADED_MODELS: "1"
OLLAMA_KEEP_ALIVE: "0"
volumes:
- ./ollama:/root/.ollama
security_opt:
- no-new-privileges:true
# The summary worker waits for completed Whisper transcripts.
# No extra public port, no hosted AI calls, disabled by default in Settings.
summary-worker:
build:
context: ./summary-worker
dockerfile: Dockerfile
container_name: voice-journal-summarizer
restart: unless-stopped
depends_on:
voice-journal:
condition: service_healthy
ollama:
condition: service_started
environment:
JOURNAL_DB: /app/data/journal.sqlite
OLLAMA_URL: http://ollama:11434
OLLAMA_MODEL: ${OLLAMA_MODEL:-qwen2.5:3b}
volumes:
- ./voice_journal_data:/app/data
security_opt:
- no-new-privileges:true
cap_drop:
- ALL
As the project grew, I also changed how I handled updates. Rather than repeatedly replacing the entire application, I started requesting patch-only ZIP files containing just the code that had changed. That helps keep my recordings and other persistent data separate from application updates.
I still have to be careful about what I'm deploying. AI-generated code isn't guaranteed to be secure or free of bugs, and I've certainly encountered my share of problems along the way. But being able to describe those problems in plain English and have ChatGPT work through them has made the experience considerably more approachable than I expected.
So, Can ChatGPT Build an Entire Self-Hosted Application? #
After building Voice Journal, my answer is a resounding yes. I started out skeptical, and the process certainly wasn't flawless. Some features took several attempts, but what surprised me most was how ChatGPT turned a simple idea into an application I genuinely enjoy using.
I don't plan on releasing Voice Journal publicly because it's built around my own needs, and I simply don't have the time to maintain and support an application with a codebase largely generated by AI. But that's the beauty of AI-assisted development. You can use ChatGPT or another AI coding tool to build your own version, tailored to exactly what you want. Just remember to test what you're deploying.
For something I expected to be a small experiment, it has completely exceeded my expectations.

Comments 0
Join the conversation.
No comments yet. Be the first to comment.