A Chrome extension for Japanese speech recognition and text-to-speech functionality with realistic voices.
This is a monorepo containing multiple packages:
nihongo-speech/
├── packages/
│ ├── chrome/ # Chrome extension package
│ └── raycast/ # Raycast extension package
├── package.json # Root package configuration
└── pnpm-workspace.yaml # Workspace configuration
- Node.js (v16 or higher)
- pnpm package manager
- Clone the repository:
git clone <repository-url>
cd nihongo-speech
- Install dependencies:
pnpm install
To start development for the Chrome extension:
pnpm dev
To build the Chrome extension:
pnpm build
To start development for the Raycast extension:
pnpm dev:r
To build the Raycast extension:
pnpm build:r
Format code:
pnpm format
Lint code:
pnpm lint
- Frontend: React, TypeScript
- Styling: Tailwind CSS
- Build Tool: Vite
- Testing: Vitest, Testing Library
- Code Quality: Biome (formatting & linting)
- Package Manager: pnpm (workspace)
Script | Description |
---|---|
pnpm dev |
Start Chrome extension development |
pnpm build |
Build Chrome extension |
pnpm dev:r |
Start Raycast extension development |
pnpm build:r |
Build Raycast extension |
pnpm format |
Format code with Biome |
pnpm lint |
Lint code with Biome |
- Build the extension:
pnpm build
- Open Chrome and navigate to
chrome://extensions/
- Enable "Developer mode"
- Click "Load unpacked" and select the
packages/chrome/dist
folder
This project is licensed under the GPL-3.0 License - see the LICENSE file for details.