Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jeremie-chauvel/linux-voice-type
Basic script to voice type in Linux
https://github.com/jeremie-chauvel/linux-voice-type
Last synced: 5 days ago
JSON representation
Basic script to voice type in Linux
- Host: GitHub
- URL: https://github.com/jeremie-chauvel/linux-voice-type
- Owner: Jeremie-Chauvel
- Created: 2023-11-05T09:06:22.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-07T18:40:18.000Z (about 1 year ago)
- Last Synced: 2023-11-07T19:42:27.473Z (about 1 year ago)
- Language: Shell
- Size: 8.79 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Linux voice typing
## Install
```bash
sudo apt install xdotool jq curl arecord killall -y
```You will need to set up an openAI or Deepgram key and put it in the `~/.ai-token` file
```txt
DEEPGRAM_TOKEN=xxxx
OPEN_AI_TOKEN='sk-xxxx'
```you will need to select a device to record from, you can find the device name with:
```bash
arecord -l
```## Usage
Start the recording:
```bash
./voice-typing.sh
```Stop the recording writing the text you spoke to your current cursor position:
```bash
./voice-typing.sh
```