# ───────────────────────────────────────────────────────────────────────────── # Shirone Environment Variables Example # ───────────────────────────────────────────────────────────────────────────── # Copy this file to `.env` for local configuration. # DO NOT commit your `.env` file containing secrets to version control. # [Optional] Bilibili Anime Sync SESSDATA # Required only when your Bilibili anime list is private and you run `pnpm anime:sync --provider bilibili` # BILI_SESSDATA="your_bilibili_sessdata_here" # [Optional] Font Budget Overrides (bytes) # FONT_MAX_TOTAL_BYTES=4194304 # FONT_MAX_FAMILY_BYTES=2097152 # ───────────────────────────────────────────────────────────────────────────── # Content Separation (see docs/content-separation.md) # ───────────────────────────────────────────────────────────────────────────── # Leaving all of these unset keeps the theme in `local` mode: the repository's # own content is used and `pnpm content:sync` is a no-op. # [Optional] Local content repository checkout. Highest precedence; ideal for # writing posts locally with `pnpm content:watch` running in a second terminal. # CONTENT_DIR="../shirone-content" # [Optional] Remote content repository. Used by hosts that build the code repo # directly and therefore cannot check out a second repository themselves. # Embed a token as `https://x-access-token:@github.com/OWNER/REPO.git` # when the content repository is private; it is redacted from all logs. # CONTENT_REPO_URL="https://github.com/OWNER/shirone-content.git" # CONTENT_REPO_REF="main" # [Optional] Set to "false" to reuse the existing `.content-src/` working copy # without fetching. Useful when a CI job already checked the content out. # CONTENT_SYNC_PULL="true" # [Optional] Set to "0" to force `local` mode even when the settings above or # `shirone.content.json` are present. # SHIRONE_CONTENT_SYNC="1"