Skip to main content

Latecript

Latecript is a Python application that transcribes and translates audio from your input devices in real-time using the Speechmatics API. The application provides a Textual-based TUI for an interactive experience.

Latecript Screenshot

(Developped quick and dirty with the help of Copilot)

Features

  • Real-Time Transcription: Capture audio and transcribe speech in real-time.
  • Translation: Translate transcribed text into different languages.
  • TUI Interface: Interactive Textual UI for settings and displaying logs.
  • Configurable Settings: Read credentials and configuration from a local JSON file.

Requirements

  • Python 3.12 or above
  • UV (for dependency management)

Getting your audio output as a usable input.

MacOs

You can use BlackHole for audio loopback. It can be installed via brew:

brew install blackhole-2ch

While using the app, chose "BlackHole 2ch" as your sound output. In order to still listen to what your mac sound output you can define a multi-output device (with you favourite output device + BlackHole 2ch) in the Audio MIDI setup.

Speechmatics API key

You can generate your speechmatics API key from your user account in speechmatics.

Usage

To run Latecript, execute:

uv run latecript 

You can provide an alternative settings file via the command line:

uv run latecript --settings_file /path/to/your/settings.json

The settings file is a json file with the following structure:

{
  "speechmatics_api_key": "Your Speechmatics API Key",
  "output_device": "Blackhole 2ch",
  "transcription_language": "fr",
  "translation_language": "en"
}

License

This project is licensed under the MIT License. See LICENSE for details.

Contributing

Contributions are welcome! Please open issues and submit pull requests for improvements and bug fixes.

This app is not meant to be maintained and was developped in a quick and dirty way.

Acknowledgements

Metadata

Release files for latecript 0.1.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 latecript 0.1.5
File Size Uploaded
latecript-0.1.5.tar.gz 162.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for latecript 0.1.5
File Interpreter ABI Platform
latecript-0.1.5-py3-none-any.whl Python 3 none any Details

Total release size: 170.6 kB

Release files / latecript-0.1.5.tar.gz

Download URL latecript-0.1.5.tar.gz
Size 162.2 kB
Tags Source
SHA-256 checksum
How to use checksums
a5c41193f2ed8e3f63a89a63119be6639a706f0fb71bc77fe21d33e3ce9694fb
BLAKE2b-256 checksum
How to use checksums
7d1c21a401f910b731d80db8ff1853528fb6a6c64f0d20242eb23f4123109e9a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 26, 2025.

Transparency log

Release files / latecript-0.1.5-py3-none-any.whl

Download URL latecript-0.1.5-py3-none-any.whl
Size 8.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f351769975274cf45371f00ae63c2ea1f845218cff5626363dfb1de266e645c8
BLAKE2b-256 checksum
How to use checksums
11a407363f9716e8efe2db9ac6e7e1ef11523f2e91027897be74f64ae21dd11e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 26, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.5 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

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