Skip to main content

bard is a text to speech tool based on existing open-source models (local install) and APIs to install on your desktop

Project description

pypi

Bard

Bard is a text to speech client that integrates on the desktop

Dependencies include:

  • openai
  • pystray
  • sounddevice
  • soundfile

Install

pip install bard-cli

GNOME

On GNOME desktop you can subsequently run:

scribe-install [...]

to produce a .desktop file for GNOME's quick-launch (the [...] indicates any argument that bard takes)

Usage

In a terminal:

bard

which defaults to:

bard --backend openaiapi --voice allow --model tts-1

(this assumes the environment variable OPENAI_API_KEY is defined)

An icon should show up almost immediately in the system tray, with options to copy the content of the clipboard (the last thing you copy-pasted) and send that to the AI model for reading aloud.

For testing you can also start the app with

bard --default-file /path/to/audio.mp3

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bard_cli-0.1.0.tar.gz (15.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bard_cli-0.1.0-py3-none-any.whl (14.7 kB view details)

Uploaded Python 3

File details

Details for the file bard_cli-0.1.0.tar.gz.

File metadata

  • Download URL: bard_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 15.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for bard_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3d79305a7ec3d991275462bc92f07870e4e1113aa14b4bfe5cdb8bfa31d1e604
MD5 2ff9deae3d8a7f0f4adad176dc8a3f7d
BLAKE2b-256 a879a84e78f30861055eeb9a9ed4450ce3f9e4c11413b9df91d526f7706c39ec

See more details on using hashes here.

Provenance

The following attestation bundles were made for bard_cli-0.1.0.tar.gz:

Publisher: pypi.yml on perrette/bard

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file bard_cli-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: bard_cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 14.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for bard_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e5786b4a0c08d6f131d39b11d3c0d071a3c481e9f1fa45a347ab5c7e2dc0d5ac
MD5 190fdeb6aad23fe0b1fdce54dddf2c3b
BLAKE2b-256 7c08dde621285306a8b2a9e251b66d1b29162a2a9edcf3327df890f6363bc48a

See more details on using hashes here.

Provenance

The following attestation bundles were made for bard_cli-0.1.0-py3-none-any.whl:

Publisher: pypi.yml on perrette/bard

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page