Landing page for Bokuchi, built with Astro and deployed on GitHub Pages.
- English:
/ - Japanese:
/ja/
日本語: README.ja.md
The layout follows the structure proposed in website-proposal.md.
bokuchi-editor.github.io/
├── .github/
│ └── workflows/
│ └── deploy-website.yml # Builds website/dist and deploys to gh-pages on push to main
├── image/ # Source screenshots (#1.png through #10-2.png)
├── website/ # Astro project
│ ├── src/
│ │ ├── pages/
│ │ │ ├── index.astro # English LP
│ │ │ └── ja/
│ │ │ └── index.astro # Japanese LP
│ │ ├── components/
│ │ │ ├── Hero.astro
│ │ │ ├── WhyBokuchi.astro
│ │ │ ├── Features.astro
│ │ │ ├── ThemeGallery.astro
│ │ │ ├── SupportedLanguages.astro
│ │ │ └── Download.astro
│ │ ├── layouts/
│ │ │ └── Layout.astro
│ │ ├── i18n/
│ │ │ └── ui.ts # EN / JA copy
│ │ └── styles/
│ │ └── global.css
│ ├── public/
│ │ ├── screenshots/ # Site screenshots (copied from image/)
│ │ ├── favicon.svg
│ │ ├── favicon.ico
│ │ ├── og-image.png # OGP image
│ │ └── robots.txt
│ ├── astro.config.mjs
│ ├── package.json
│ └── tsconfig.json
├── website-proposal.md # Design / proposal doc
└── README.md # This file
- Node.js 20+
- npm
-
From the repository root, go to
websiteand install dependencies:cd website npm install -
Start the dev server:
npm run dev
-
Open in a browser:
Language URL English http://localhost:4321/ Japanese http://localhost:4321/ja/ -
Quick checks (optional)
- Hero shows the tagline and download button.
- Nav links (Why Bokuchi?, Features, Themes, Languages, Download) scroll to the right sections.
- Footer language switch toggles between
/and/ja/. - Features section shows screenshots (preview, tabs, variables, search, themes, settings).
- Theme gallery shows all five themes.
- Download section primary button label updates by OS (e.g. “Download for macOS”) when JavaScript is enabled.
To build and preview the production output locally:
cd website
npm run build
npm run previewThe site is served at http://localhost:4321/. The contents of website/dist are what gets deployed.
Pushing to the main branch runs GitHub Actions: it builds website/dist and pushes the result to the gh-pages branch. GitHub Pages serves the site from that branch.
On the repo page: Settings → Pages (sidebar).
- Source: Deploy from a branch.
- Branch: gh-pages (appears after the first successful deploy).
- Folder: / (root).
- Click Save.
- Push changes under
website/or.github/workflows/deploy-website.ymltomain. - The “Deploy website” workflow runs under the Actions tab.
- On success, the contents of
website/distare pushed to thegh-pagesbranch. - After a few minutes, the site is available at
https://bokuchi-editor.github.io/(when the repo name isbokuchi-editor.github.io).
| Repository name | Published URL |
|---|---|
bokuchi-editor.github.io (user/org Pages) |
https://bokuchi-editor.github.io/ |
Anything else (e.g. bokuchi) |
https://bokuchi-editor.github.io/bokuchi/ |
With the repo name bokuchi-editor.github.io, the current config publishes at the root. To publish under a subpath (e.g. /bokuchi/), set base: '/bokuchi/' in website/astro.config.mjs.
A deploy is triggered when:
- You push to
main, and - The push touches
website/**or.github/workflows/deploy-website.yml.
Pushing anything under website/ is enough to run the workflow.
- Bokuchi app: Bokuchi-Editor/bokuchi.