Mirror of my blog, powered by Hakyll and Haskell, hosted on GitHub Pages. https://blog.youwen.dev
Find a file
Youwen Wu 9588565b7a
Some checks failed
CI / build-nix (push) Has been cancelled
CI / deploy (push) Has been cancelled
Merge pull request #2 from youwen5/dependabot/github_actions/cachix/install-nix-action-v29
2024-09-28 19:28:30 -07:00
.github chore(deps): bump cachix/install-nix-action from V27 to 29 2024-09-27 00:39:12 +00:00
src chore: remove post thats not ready 2024-06-25 03:09:48 -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 gitignore direnv 2024-05-23 23:13:54 -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 add hls-wrapper to flake 2024-05-23 23:14:18 -07:00
LICENSE Initial commit 2024-05-22 22:17:41 -07:00
package.json feat: add theme switcher and themes 2024-05-24 21:55:11 -07:00
pnpm-lock.yaml add rollup build system 2024-05-24 20:00:57 -07:00
README.md update readme 2024-05-26 01:01:55 -07:00
rollup.config.mjs add rollup build system 2024-05-24 20:00:57 -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.