The official website of Fold Craft Launcher: a Minecraft: Java Edition launcher for Android.
Built with Docusaurus 3.
- Dark theme by default — the light theme is one toggle away
- Cyan-blue accent palette — tuned for both dark and light modes
- Simplified Chinese by default, English at
/en/— full i18n with a language switcher in the navbar - Local search — offline search across docs and pages, focused with
Ctrl/⌘ + K, works in both languages - Game-themed visuals — fixed cherry-blossom artwork, glass cards and a cyan-blue accent palette
- Subtle motion — scroll reveals, staggered cards and micro-interactions powered by motion
- Up-to-date screenshots of the latest launcher interface
- Download page with release assets per architecture, changelog and mirrors
- Documentation for accounts, controller layouts, building and contributing
- Release data generated from the GitHub API by
npm run sync:data
npm install
npm start # Chinese site at http://localhost:3000
npm run start:en # English site at http://localhost:3000/en/Production build and preview:
npm run build
npm run servenpm run serve uses a small built-in static server (scripts/serve.mjs) that
serves build/404.html for unknown routes, so the preview matches GitHub Pages
(including the Chinese 404 page).
npm run build generates the Chinese site into build/ and the English site into
build/en/, so the preview serves Chinese at / and English at /en/.
The project uses the npmmirror registry by default (see
.npmrc). Comment that line out if you prefer the official npm registry.
The site uses @easyops-cn/docusaurus-search-local
for offline search — the index is generated at build time, no external service is
required. Press Ctrl + K (⌘ + K on macOS) to focus the search bar; the full
results pages are /search (Chinese) and /en/search (English).
npm run sync:dataThe script reads the latest release from the GitHub API and version_map.json,
then regenerates:
src/data/releases.json— latest version, changelog, APK assets and statssrc/data/contributors.json— contributor list for the About pagestatic/img/contributors/— missing avatars
Review the diff and commit the generated files. The script needs network access
to api.github.com and raw.githubusercontent.com.
The site is built with Docusaurus i18n (defaultLocale: zh-Hans, locales: zh-Hans, en).
Chinese is the source language; English lives under i18n/en/.
| What | Where |
|---|---|
| UI strings (pages, components) | i18n/en/code.json |
| Navbar / footer labels | i18n/en/docusaurus-theme-classic/ |
| Documentation pages | i18n/en/docusaurus-plugin-content-docs/current/ |
| Docs sidebar labels | i18n/en/docusaurus-plugin-content-docs/current.json |
| Default-locale theme strings | i18n/zh-Hans/code.json |
After adding or changing Chinese strings, regenerate the English translation files:
npm run write-translations -- --locale enand fill in the new messages.
docs/ Chinese documentation (default locale)
i18n/en/ English translations (docs, UI strings, navbar/footer)
i18n/zh-Hans/code.json Chinese theme-string overrides for the default locale
scripts/serve.mjs Production preview server (build/404.html fallback)
scripts/sync-data.mjs GitHub release data sync
src/components/ Reusable UI components
src/data/ Generated release and contributor data
src/pages/ Home, download, community, about and EULA pages
src/theme/NotFound/ Chinese-only 404 page (swizzled @theme/NotFound)
src/theme/Root.jsx Fixed full-page artwork layer
static/img/background/ Cherry-blossom background artwork (WebP)
static/ Images, favicons, robots.txt
docusaurus.config.js Site configuration (dark default, i18n, navbar, footer)
sidebars.js Documentation sidebar
The site is deployed to GitHub Pages by .github/workflows/deploy.yml
using the official Pages actions.
- Go to Settings → Pages in the repository.
- Set Build and deployment → Source to GitHub Actions.
- Push to
main. The workflow builds the site and publishes it.
Pull requests run the build job only, which catches broken links and build errors before merging.
- Screenshots and project content: FCL-Team
- Documentation adapted from FCL-Docs
- UI inspiration: FCLdocs community documentation
- Background artwork: 柠枺 (leemwood), provided by the author
- Icons: hand-written SVG paths, no external icon dependency
- Dev server shows
Cannot read properties of undefined (reading 'id'), missing@generated/*modules, or broken images: the dev server was running while.docusauruswas cleared or whilenpm run buildwas running. Stop it, runnpm run clear, then start it again. Never runnpm run startandnpm run buildat the same time — they share the.docusauruscache. - Preview both languages at once: the dev server serves one locale at a time. Use
npm run startfor Chinese,npm run start:enfor English, ornpm run build && npm run serveto preview both at/and/en/. - Stale page after switching branches: hard-refresh the browser (Ctrl+Shift+R) to drop cached chunks.