Internal tool · Swan Web
Swan Mockups
I could push a free homepage mock-up to GitHub and send a live link on our own domain. That saved me fiddling with screenshots or setting up DNS for each preview.
- My role
- Designed the preview workflow, publishing script and hosting setup
- Development
- AI-assisted development
- Tools
- HTML, GitHub, Coolify, Docker, Caddy
A homepage someone could actually open
At Swan Web we offered to make businesses a free homepage preview. It gave someone a chance to see what I’d do with their branding and photos before they committed to a full website. I wanted our team to be able to send a link the owner could open on their phone.
From a business brief to a homepage
Once a business was interested, I’d use a custom GPT to look up what they did and pull together details and reviews for the page. I picked the photos, got the logo ready and dropped everything into an OpenAI Codex session. Codex built the homepage and put its HTML, CSS and images in a new folder in our mockups repository.
I also kept reusable bits in the repository, like review cards that Codex could bring into a page when they suited the design.
From a folder to a link
Once I was happy with the homepage, I’d ask Codex to commit and push it from the same session. I wrote a publish script that checks the folder and commits just the files for that preview. The push triggers a rebuild in Coolify, and Caddy takes the name at the start of the preview address and serves the matching folder.
I set up wildcard DNS and HTTPS once. After that, each folder name became a subdomain, so the team had a live link to send once the build finished.
Loading video…