No description
- TypeScript 50%
- Astro 21.1%
- CSS 20.3%
- JavaScript 8.5%
- Nix 0.1%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
All checks were successful
CI and Publish Pages / Build, typecheck and publish (push) Successful in 35s
|
||
| .forgejo/workflows | ||
| .vscode | ||
| .yarn/patches | ||
| assets | ||
| content/posts | ||
| messages | ||
| project.inlang | ||
| public/images | ||
| scripts | ||
| src | ||
| .editorconfig | ||
| .env.example | ||
| .envrc | ||
| .gitattributes | ||
| .gitignore | ||
| .yarnrc.yml | ||
| AGENTS.md | ||
| astro.config.mjs | ||
| devenv.lock | ||
| devenv.nix | ||
| devenv.yaml | ||
| package.json | ||
| postcss.config.mjs | ||
| README.md | ||
| tsconfig.json | ||
| yarn.lock | ||
new_blog
Astro blog. The development environment is provided by devenv (Node 22, Yarn, simple-http-server) and activated through direnv.
Setup
Requires devenv and direnv on PATH. Approve the environment once:
direnv allow .
After that, entering the project directory loads the pinned environment from
devenv.nix / devenv.lock automatically.
Commands
With direnv active, run them directly. Otherwise prefix each command with
devenv shell --:
# Installs use the Yarn release pinned in package.json (4.14.1) via Corepack.
devenv shell -- bash -c 'COREPACK_ENABLE_DOWNLOAD_PROMPT=0 corepack yarn install --immutable'
devenv shell -- yarn build
devenv shell -- yarn dev --host 127.0.0.1 --port 4321
devenv shell -- yarn typecheck
Refresh the pinned inputs with devenv update.
Site URL
The production origin is configured centrally by the site field in
astro.config.mjs and can be overridden with the PUBLIC_SITE_URL
environment variable. On-page navigation and asset references use
root-relative paths, while RSS and sitemap output keep absolute production
URLs.