Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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
```