Mirror of my blog, powered by Hakyll and Haskell, hosted on GitHub Pages. https://blog.youwen.dev
Find a file
2024-10-31 22:41:33 -07:00
.github chore(deps): bump cachix/install-nix-action from 29 to 30 2024-10-04 00:38:59 +00:00
nix feat: build site entirely in nix 2024-10-31 22:41:33 -07:00
src feat: build site entirely in nix 2024-10-31 22:41:33 -07:00
ssg fix: explicitly set utf-8 encoding in haskell 2024-05-26 01:17:06 -07:00
.envrc add envrc 2024-05-23 23:14:08 -07:00
.ghci Initial commit 2024-05-22 22:17:41 -07:00
.gitignore feat: build site entirely in nix 2024-10-31 22:41:33 -07:00
.prettierrc.toml feat: add theme switcher and themes 2024-05-24 21:55:11 -07:00
flake.lock Initial commit 2024-05-22 22:17:41 -07:00
flake.nix feat: build site entirely in nix 2024-10-31 22:41:33 -07:00
LICENSE Initial commit 2024-05-22 22:17:41 -07:00
node_modules feat: build site entirely in nix 2024-10-31 22:41:33 -07:00
package.json feat: build site entirely in nix 2024-10-31 22:41:33 -07:00
README.md update readme 2024-05-26 01:01:55 -07:00
rollup.config.mjs feat: build site entirely in nix 2024-10-31 22:41:33 -07:00
tailwind.config.js feat: add font selector 2024-06-13 21:32:45 -07:00

gradient ascent - yet another developer blog

This repository hosts the source code for my blog, written in Haskell and powered by hakyll and pandoc. Builds are managed by nix.

This repo is merely the source code, the actual site is hosted at blog.youwen.dev.

To build locally, install nix and enable flakes.

nix build

nix run . watch

This starts a hot reload server at localhost:8000.

nix run . build

This builds a local production version.

If any updates are made to the JavaScript or CSS, you will need to run

pnpm install # only the first time

pnpm build

This is because I still haven't figured out how to integrate the rollup build pipeline with nix. Since the CSS and JS are minimal, I just do it manually for now.