Official documentation site for Funput — an open-source Vietnamese input method for macOS, Windows, and Linux.
Live site: docs.funput.app
Built with Docusaurus 3. Default locale is Vietnamese (vi); English (en) is available via the locale switcher.
Install dependencies:
pnpm installStart the development server (hot reload):
pnpm startOpen http://localhost:3000. English docs are at http://localhost:3000/en.
Generate static files into build/:
pnpm run buildPreview the production build locally:
pnpm run serveMulti-stage image: Node 26 (build) + nginx alpine (serve).
docker build -t funput-docs .
docker run --rm -p 8080:80 funput-docsThen open http://localhost:8080.
Docs/
├── docs/ # Vietnamese source (default locale)
├── i18n/en/ # English translations
├── src/ # React pages & components (homepage)
├── static/ # Images, favicon, etc.
├── docusaurus.config.ts
├── sidebars.ts
├── Dockerfile
└── nginx.conf
Installation guides live under docs/install/ (macos, windows, linux).
- Vietnamese content: edit files in
docs/. - English content: edit the matching files under
i18n/en/docusaurus-plugin-content-docs/current/. - Use relative links between docs (e.g.
install/macos) so i18n routing works. - Admonitions (Docusaurus v3): use bracket titles, e.g.
:::tip[My title]— not:::tip My title.
After changing navbar/footer labels, update the corresponding JSON files in i18n/en/docusaurus-theme-classic/ if needed.
| Command | Description |
|---|---|
pnpm start |
Dev server |
pnpm run build |
Production build |
pnpm run serve |
Serve build/ locally |
pnpm run clear |
Clear Docusaurus cache |
pnpm run typecheck |
TypeScript check |
- Main repository: github.com/Funput/Funput
- Releases: github.com/Funput/Funput/releases
- Website: funput.app
MIT — see LICENSE in the main repository.