~/projects/this-site
This site
The source of this site: a Django application for projects, a CV, a contact form and an investment portfolio, with tests, CI and Docker from the first commit.
In progressFeatures may change before release.
- Role
- Sole developer
- When
- 2026 – present
- Built with
01What it does
This site brings together a portfolio of software projects, an interactive CV, a contact form and, in time, a live paper-trading portfolio. Each project has its own write-up, and the CV links every skill to the work where it was used.
The site is also a project in its own right, built to the standard expected of production software: tested, linted, configured from the environment, containerised, and checked automatically on every change.
02How it works
The site is a Django 6.1 application on Python 3.14, with pages rendered on the server. PostgreSQL stores the content in production, and SQLite is used for local development. Projects and the CV are edited through Django's admin, so the content changes without a code release.
On the front end, plain JavaScript modules and hand-written CSS add the animations and interactive pieces, with no build step. Every page works without JavaScript, and every animation has a still version, which is what the server sends first. A strict Content Security Policy blocks inline scripts and styles throughout.
The contact form saves each message to the database and emails a notification. Spam is kept out without a CAPTCHA, by a hidden field, a signed timing token and a rate limit on each sender. Messages are deleted automatically after twelve months.
The site runs in a multi-stage Docker image served by Gunicorn, with static files served by WhiteNoise. GitHub Actions runs the linting, the tests against PostgreSQL and the image build on every push, and Dependabot keeps the dependencies up to date.
03Challenges
The main challenge was making an animated, interactive interface without leaving behind anyone whose device or browser cannot run it. The answer was to treat animation as an enhancement: the server always sends a complete still page, and scripts only add to it. The site switches to the still version by itself on devices that cannot keep the animations smooth, and when reduced motion is turned on.
The second was keeping that front end compatible with a strict security policy. With no inline scripts or styles allowed, all behaviour lives in separate modules and all styling in stylesheets, and the test suite checks every page for anything inline.
04Results
- 146 automated tests, with coverage held above 90% by CI.
- Every page usable with scripts turned off, and on phones, tablets and desktops.
- No inline scripts or styles anywhere, under a strict Content Security Policy.
05What's next
The next feature is an investments page: a paper-trading portfolio reported at the end of each day from Interactive Brokers, showing returns, risk and allocation against the S&P 500 and semiconductor benchmarks. After that come a sitemap, link previews for social media, two-step login for the admin and error tracking.