Skip to main content

Voice Assistant for Linux

Say hi to VAL (Voice Assistant for Linux)!

GitHub release GitHub license PyPI version shields.io Downloads Downloads

Description

A virtual assistant for Linux for controlling the operating system graphical user interface by using voice commands.

  • Project task list status

    1. Human voice recognition.
    2. Human voice transcription.
    3. Detects voice commands from a defined list and executes it.
    4. Debug mode.
    5. Works on i3 tiling window manager.
    6. Works on Gnome desktop environment.
    7. Works on KDE Plasma desktop environment.
    8. Works on XFCE desktop environment.
    9. Infinite while loop should be implement.
  • Warning

    1. The software run only at once. This should be fixed by implementing the infinity while loop. The problem here is to define a strategy to invoke only the voice command after the user say 'Val'. Furthermore the source code must be returned to wait the 'Val' to be called again.

Requirements

  1. Linux kernel.
  2. Python >= 3.10 (only because the match case and 'f' strings).
  3. PIP3.
  4. Shell Script Library.

For all Linux distributions

  • Install Shell Script Library

    $curl -fsSL github.com/henrikbeck95/shell_script_library/releases/latest/download/shell-script-library -O

    $ mv ./shell-script-library /usr/local/bin/shell-script-library

For a specific Linux distribution

  • ArchLinux

    $ sudo pacman -S festival festival-english festival-us python-pyaudio

Installation

Development mode

  1. Install Python libraries

    $ pip3 install SpeechRecognition

    $ pip3 install yaml-1.3

    $ pip3 install setuptools

    $ pip3 install wheel

    $ pip3 install twine

    $ pip3 install voice-assistant-linux

  2. Clone this repository.

    $ git clone https://github.com/henrikbeck95/voice_assistant_linux.git

  3. Build the package for PyPi

    $ python3 setup.py sdist bdist_wheel

  4. Upload the package to PyPi repository

    $ twine upload dist/*

Normal usage mode

  1. Install from PyPi repository

    $ pip3 install voice-assistant-linux

Usage

Development mode

  1. Run it.

    $ python3 ./src/__init__.py

Uninstallation

Development mode

  • Remove the Val project folder

    $ rm -fr ./voice_assistant_linux/

Normal usage mode

  1. Uninstall it.

    $ pip3 uninstall voice-assistant-linux

Metadata

Release files for voice-assistant-linux 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for voice-assistant-linux 0.0.5
File Size Uploaded
voice-assistant-linux-0.0.5.tar.gz 19.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for voice-assistant-linux 0.0.5
File Interpreter ABI Platform
voice_assistant_linux-0.0.5-py3-none-any.whl Python 3 none any Details

Total release size: 37.4 kB

Release files / voice-assistant-linux-0.0.5.tar.gz

Download URL voice-assistant-linux-0.0.5.tar.gz
Size 19.0 kB
Tags Source
SHA-256 checksum
How to use checksums
b92d7ff84c65d0097266b589a3758c2f4ee1192d4905e154c9149b112473ecf4
BLAKE2b-256 checksum
How to use checksums
c4aaca7b443e19aa3b18b67a62ca5a1c5adf510d7f5cf4f144071859153e7e84
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.4

Release files / voice_assistant_linux-0.0.5-py3-none-any.whl

Download URL voice_assistant_linux-0.0.5-py3-none-any.whl
Size 18.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9d62d70b2f79fcbf9a9948d131b9938562907bdc22e436e79d05d56d7a8ae644
BLAKE2b-256 checksum
How to use checksums
8f11b7033b17ab191d93293f0c6d2e7cee041c3b4603ee4628c1836c2ca63655
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.4

Release history Release notifications | RSS feed

This release

0.0.5 This release

2 release files

0.0.4

2 release files

0.0.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page