My personal website.
willcoquillette.com is a blazing fast personal website built with Astro.js and styled with Tailwind CSS.
Web development is not my primary strength. So I sincerely thank David Cojocaru, a 16yo coder from Romania for the theme. I just copied his Astro site and personalized it for myself.
- Rename
About
layout toMarkdown
and make the title be a variable properly - Fix all the errors in the code
- Resolve vulnerabilities
- 🚀 Fast and optimized - Built for speed and performance.
- 🎨 Beautiful and customizable UI - Tailwind CSS for easy customization.
- 🔒 Secure and reliable - Follows best security practices.
- 🔄 Continuous integration and deployment - Automated workflows with GitHub Actions.
- Astro.js - Static site generator.
- Tailwind CSS - Utility-first CSS framework.
- TypeScript - Typed JavaScript at Any Scale.
- JavaScript - High-level, often just-in-time compiled, and multi-paradigm.
- CSS - Cascading Style Sheets.
- Node.js and npm installed.
- Git installed.
- When I need an icon, I search it here.
-
Clone the repository:
git clone https://github.com/willquill/will-coquillette.git
-
Install dependencies:
cd will-coquillette npm install
-
Run the development server:
npm run dev
-
Build for production:
npm run build
-
Deploy: (does this do anything...really?)
npm run deploy
Good info here
- Install Cloudflare Workers and Pages application in your GitHub.
- Give it access to your repository.
- Login to Cloudflare and go to Compute > Workers & Pages > Create > Pages > Connect to git
- Select your repository, branch, select Astro as preset, leave defaults.
- Save & Deploy.
- In Cloudflare, go to Custom domains tab for your new site. Click "Set up a custom domain."
- Add the DNS records it tells you to add. Continue verifying, and you should be good!
Regarding DNS, I use DNSControl to manage my DNS with IaC, and my dnsconfig.js
looks like this:
D("willcoquillette.com", REG_NONE,
DnsProvider(DSP_CLOUDFLARE),
DefaultTTL(1),
// Cloudflare pages
CNAME("www", "will-coquillette.pages.dev.", CF_PROXY_ON),
ALIAS("@", "will-coquillette.pages.dev.", CF_PROXY_ON),
Here's the super cool thing about Cloudflare pages - when you push a commit to your development branch and open a pull request, the cloudflare-workers-and-pages
bot will automatically deploy a development version of your site to a URL specified in the Preview URL
section of the bot's message on your PR. It's pretty neat!
And then when you merge your PR, automation will publish the changes to the public site.
I still recommend doing npm run dev
locally, but you have a real live public web page you can visit via that integration to view your branch work, which can help when collaborating with others.
This project is licensed under the MIT License - see the LICENSE file for details.
Feel free to reach out to me at nonsense@willquill.addy.io.
- FIXME: Add socials
Give a ⭐️ if you like this project!
- Astro.js
- Tailwind CSS
- GitHub Actions
- Again, David