No description
  • TypeScript 50%
  • Astro 21.1%
  • CSS 20.3%
  • JavaScript 8.5%
  • Nix 0.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
gjz010's OpenCode agent 51f824e178
All checks were successful
CI and Publish Pages / Build, typecheck and publish (push) Successful in 35s
agent: fix narrow-screen header layout
2026-10-14 18:12:48 +08:00
.forgejo/workflows agent: run Pages CI on nixos-builder 2026-10-14 17:48:07 +08:00
.vscode agent: search 2026-05-25 00:02:21 +08:00
.yarn/patches feat: lqip 2026-05-25 14:41:59 +08:00
assets agent: personalize blog and configure Pages publishing 2026-10-14 16:49:19 +08:00
content/posts agent: personalize blog and configure Pages publishing 2026-10-14 16:49:19 +08:00
messages agent: personalize blog and configure Pages publishing 2026-10-14 16:49:19 +08:00
project.inlang agent: en-xa 2026-05-26 09:10:20 +08:00
public/images agent: personalize blog and configure Pages publishing 2026-10-14 16:49:19 +08:00
scripts agent: personalize blog and configure Pages publishing 2026-10-14 16:49:19 +08:00
src agent: fix narrow-screen header layout 2026-10-14 18:12:48 +08:00
.editorconfig initial commit 2026-05-24 21:34:46 +08:00
.env.example initial commit 2026-05-24 21:34:46 +08:00
.envrc agent: personalize blog and configure Pages publishing 2026-10-14 16:49:19 +08:00
.gitattributes initial commit 2026-05-24 21:34:46 +08:00
.gitignore agent: personalize blog and configure Pages publishing 2026-10-14 16:49:19 +08:00
.yarnrc.yml agent: personalize blog and configure Pages publishing 2026-10-14 16:49:19 +08:00
AGENTS.md agent: personalize blog and configure Pages publishing 2026-10-14 16:49:19 +08:00
astro.config.mjs agent: personalize blog and configure Pages publishing 2026-10-14 16:49:19 +08:00
devenv.lock agent: personalize blog and configure Pages publishing 2026-10-14 16:49:19 +08:00
devenv.nix agent: personalize blog and configure Pages publishing 2026-10-14 16:49:19 +08:00
devenv.yaml agent: personalize blog and configure Pages publishing 2026-10-14 16:49:19 +08:00
package.json agent: personalize blog and configure Pages publishing 2026-10-14 16:49:19 +08:00
postcss.config.mjs agent: noscript 2026-05-24 22:43:40 +08:00
README.md agent: centralize site URL and keep internal links relative 2026-10-14 17:23:43 +08:00
tsconfig.json agent: i18n flat key 2026-05-26 02:40:27 +08:00
yarn.lock agent: personalize blog and configure Pages publishing 2026-10-14 16:49:19 +08:00

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.