I rebuilt my portfolio as a chat window with live visitors
My new site, https://patrickofilada.dev, is one page that behaves like an AI chat. It "thinks" through a few steps, streams in a short intro, and answers "show me your work" with my work history. The idea comes from Edu
My new site, https://patrickofilada.dev, is one page that behaves like an AI chat. It "thinks" through a few steps, streams in a short intro, and answers "show me your work" with my work history.
The idea comes from Eduardo Alba's site (https://eduardoalba.com). I liked it so much that I built my own version.
How it's put together
- Next.js on AWS Amplify. The work history loads only when someone asks for it, so the first page stays light.
- Live visitors on a Cloudflare Worker with a Durable Object. One small service tracks who's on the page, shares cursors and clicks, and counts visits by country for the dotted world map. It runs on the free plan, and if it goes down the page simply works without it.
- Weather in the footer comes from MET Norway's free forecast, cached for 30 minutes so the API isn't hit on every visit.
What I'd tell anyone building something similar: make every live part optional. The page should be complete without it, and the live layer should add to it.
Open it in two tabs, or with a friend, and you'll see the cursors.
Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes β full credit and traffic to the original publisher.
