An open API service indexing awesome lists of open source software.

https://github.com/c-loftus/mandarin-clipboard-speaker

Speak 汉字 on the Linux desktop just by copying it to your clipboard
https://github.com/c-loftus/mandarin-clipboard-speaker

chinese language-learning mandarin mandarin-tts piper-tts

Last synced: 4 months ago
JSON representation

Speak 汉字 on the Linux desktop just by copying it to your clipboard

Awesome Lists containing this project

README

          

# Mandarin Clipboard Speaker

- Automatically speak Chinese characters as Mandarin when they are copied to the system clipboard on Linux.
- Runs offline and works in any application with the goal to make 汉字 easier to read for non-native speakers.

## Running

- Clone the repo then run `go run main.go`
- If the local model is not present, it will be installed automatically
- For automatic start on boot via systemd, run `make install` with the included makefile

## Technical Details

This program runs and installs the [Piper](https://rhasspy.github.io/piper-samples/) text-to-speech model for Mandarin Chinese. It currently installs the model and binary to the same location as [QuickPiperAudiobook](https://github.com/C-Loftus/QuickPiperAudiobook) but in the future once Piper is included within [speech dispatcher](https://github.com/brailcom/speechd), I can use that instead.

### Quickstart Video

[![Mandarin-Clipboard-Speaker Quickstart](./docs/video_thumbnail.jpg)](https://youtu.be/Ax4buJ-f4Jg "Mandarin-Clipboard-Speaker Quickstart")