personal website powered by a custom Typst-based static site generator https://web.youwen.dev/
Find a file
2025-09-22 22:13:56 -07:00
.github/workflows ci: add auto flake.lock update action 2025-05-21 03:24:51 -07:00
nix chore: disable biome and anticipate fix in biomejs#7164 2025-09-04 00:20:08 -07:00
public chore: run nixfmt 2025-08-05 05:20:28 +08:00
routes fix: bluesky profile link 2025-09-22 22:13:56 -07:00
src feat: add favorite songs 2025-09-18 01:32:44 -07:00
tests refactor: follow hypertext breaking changes 2025-09-04 00:38:02 -07:00
typst/lib/html-shim/0.1.0 style: adjust math equation sizing for new typst behavior 2025-09-04 02:08:18 -07:00
web-components fix: dropcap works with subtitle 2025-09-22 22:04:07 -07:00
.envrc initial commit 2025-04-20 15:25:15 -07:00
.gitattributes feat: switch from hljs to prism 2025-05-13 18:43:00 -07:00
.gitignore chore: rename luminite to epilogue 2025-05-17 19:56:36 -07:00
biome.jsonc chore: disable biome and anticipate fix in biomejs#7164 2025-09-04 00:20:08 -07:00
Caddyfile chore: cache control caddyfile for reload 2025-04-26 01:30:45 -07:00
Cargo.lock chore: bump rust package versions 2025-09-04 00:37:52 -07:00
Cargo.toml chore: bump rust package versions 2025-09-04 00:37:52 -07:00
CNAME Create CNAME 2025-04-23 02:49:08 -07:00
CONTRIBUTING.md chore: change all ' quotes to real unicode ’ 2025-05-26 17:12:12 -07:00
deny.toml chore: rename luminite to epilogue 2025-05-17 19:56:36 -07:00
flake.lock flake.lock: Update 2025-09-03 23:59:45 -07:00
flake.nix treewide: use normal straight quotes in source code 2025-09-04 01:50:59 -07:00
justfile feat: update about, some minor styling 2025-05-30 01:49:06 -07:00
LICENSE-BY-NC-SA chore: add CC license 2025-04-23 02:32:18 -07:00
LICENSE-GPL chore: rename luminite to epilogue 2025-05-17 19:56:36 -07:00
README.md docs: mention typst latest git 2025-09-04 02:13:49 -07:00
rust-toolchain.toml deps: use rust nightly to aura farm 2025-05-08 00:20:35 -07:00
rustfmt.toml chore: check in rustfmt.toml with style_edition=2024 2025-04-28 15:58:29 -07:00

web.youwen.dev

This is my personal site. It is built using a custom site generator I implemented in Rust, located in this repository. It generates all of its pages using Typst.

You can view the site at web.youwen.dev, deployed using GitHub pages and cached through Cloudflare's CDN.

tech stack

build time

run time

  • HTML
  • CSS (tailwind)
  • JavaScript (almost none)

hacking

(only works on Linux because Im lazy.)

Install nix, then

nix build
# site files will be built in `./result/dist`

To run a local preview server (not hot reloading),

nix run .#preview
# server will run at localhost:8000

To get a development environment,

nix develop

Or you can direnv allow, if you have it. A pre-commit hook will also be installed automatically.

If you decide to bring your own Rust toolchain, note that nightly Rust is required due to use of unstabilized features.

Also note that Typst latest git is required due to use of bleeding edge HTML export features.

Before submitting a PR run all Rust tests, formatting checks, lints, etc, using

nix flake check

contrib

If for some reason you want to open a PR (to fix a bug, typo, etc.), see CONTRIBUTING.md for technical details and documentation. I also accept suggestions, comments, criticisms, etc. via email.

license

Most markup content (primarily in Typst files) is CC-BY-SA-4.0. The rest (that is, everything not covered by the Creative Commons license), including but not limited to logical code units, is GPL3 licensed. This includes any Typst code that does not contain useful content (i.e. prose), but rather is used for programming purposes.