Skip to content

About

A local research tool for investors: transcribes earnings calls, podcasts and live TV on your own machine, marks who is speaking, and makes it all searchable.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Project Echo

A local research tool for investors. It pulls in earnings calls, podcasts, live TV, articles and PDFs, transcribes the audio on your own machine, marks who is speaking, and makes all of it searchable.

I built it for my brother. The people worth listening to in markets say the most useful things on podcasts and calls that run an hour or more, and nobody has time to sit through all of them. Echo turns them into text you can search in a second, without uploading any of it.

From a podcast or an earnings call to searchable text

What it does today

Transcribes audio and video YouTube, podcasts and uploaded MP3, MP4, M4A or WAV files, with whisper.cpp running locally. No per hour cost and no upload. An 80 minute podcast takes about six minutes on an M2 Max.
Captions live TV Captures a fixed window of a live stream, or captions it continuously as it airs. Tested on the free live YouTube feeds of Sky News and Bloomberg.
Marks who is speaking A second local pass marks where the speaker changes, so a podcast with three guests or an earnings Q&A reads as turns instead of a wall of text.
Reads PDFs and articles Filings and decks are parsed for their text, and article links are stripped down to readable text.
Searches everything SQLite full text search across every transcript and document, with phrases, prefixes and boolean operators.
Pulls earnings calls Any ticker from a catalog of about 10,000 SEC listed names. Real transcripts through Financial Modeling Prep with your own key, or mock data without one.
Shows the results A local Streamlit app, plus a self contained transcript page where every line links back to that moment in the video.

The next phase is the analysis: a brief for each call and a list of the questions management did not answer, written by a local model from the transcript. That part isn't built yet.

Private by design

The code is shared. Your data and your keys never are.

In this repo Only on your machine
All the source code .env, your API keys
config.example.yaml and .env.example config.yaml, your settings
The database schema data/echo.db, everything you ingest
data/models/, the transcription models

Setup

Python 3.11 or newer.

python3 -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
cp config.example.yaml config.yaml
cp .env.example .env
python -m echo.cli init

For audio, video and live capture on a Mac:

brew install yt-dlp ffmpeg whisper-cpp
python -m echo.cli models --get large-v3-turbo    # about 1.6 GB, the transcription model
python -m echo.cli models --get small.en-tdrz     # about 465 MB, only for speaker turns
python -m echo.cli doctor                         # checks every tool, model and setting

Using it

python -m echo.cli ingest "https://www.youtube.com/watch?v=..."      # a video, podcast, file, link or pasted text
python -m echo.cli transcribe --diarize                               # transcribe what came in, with speaker turns
python -m echo.cli caption-live --channel bloomberg --minutes 30      # caption a live stream as it airs
python -m echo.cli fetch-earnings NVDA                                # the latest earnings call for a ticker
python -m echo.cli search "capex intensity"                           # search everything
python -m echo.cli status                                             # what is in the database

Tests

pip install -r requirements-dev.txt
python -m pytest -q

185 tests, with the network faked.


All rights reserved. Shared to show my work.

About

A local research tool for investors: transcribes earnings calls, podcasts and live TV on your own machine, marks who is speaking, and makes it all searchable.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages