A modern tool to produce PDF and HTML deeds poll that can be used by British citizens to legally change their name. Runs entirely in the browser for maximum privacy: none of your personal information is shared with the site owner.
To use the site online, just:
- Go to https://freedeedpoll.org.uk/
- Provide your details
- Print off the PDF
- Sign it and have two witnesses sign it
- Send it off to everybody who needs to know your new name!
fdp2.0-demo-640x360-for-github.mp4
(video available in higher-definition on YouTube)
To use it on your own computer, follow the development instructions below.
- NodeJS v22+
- Check out this repository
- Run
npm ito install dependencies - Run
npm startto run a development server - Visit http://localhost:8080/
Unit tests (Vitest) live in test/ and cover the logic in js/lib/. Run them with npm test, or npm run test:watch to re-run them as you change the code.
End-to-end tests (Playwright) live in e2e/; they build the site and drive it in real browsers (Chromium, Firefox and WebKit). Install the browsers with npx playwright install, then run them with npm run test:e2e. Add -- --headed to watch them as they go or -- --ui for interactive debugging.
Both run automatically on GitHub for every pull request.
From your development environment, run npm run build. The generated site will be output into the
_site directory as a static site. Upload this onto virtually any web host.
There's a defined workflow that deploys to GitHub Pages. If forking the repository, you'll need to modify
views/CNAME.njk to specify your own domain name.
Issues and pull requests are very welcome. Please observe the code of conduct.
Free and open-source software under the AGPL.