MCPcopy Index your code
hub / github.com/cbh123/narrator

github.com/cbh123/narrator @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
5 symbols 27 edges 2 files 0 documented · 0% 14 cross-repo links updated 4mo ago★ 4,42323 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

David Attenborough narrates your life.

https://twitter.com/charliebholtz/status/1724815159590293764

Want to make your own AI app?

Check out Replicate. We make it easy to run machine learning models with an API.

Setup

Clone this repo, and setup and activate a virtualenv:

python3 -m pip install virtualenv
python3 -m virtualenv venv
source venv/bin/activate

Then, install the dependencies: pip install -r requirements.txt

Make a Replicate, OpenAI, and ElevenLabs account and set your tokens:

export OPENAI_API_KEY=<token>
export ELEVENLABS_API_KEY=<eleven-token>

Make a new voice in Eleven and get the voice id of that voice using their get voices API, or by clicking the flask icon next to the voice in the VoiceLab tab.

export ELEVENLABS_VOICE_ID=<voice-id>

Run it!

In on terminal, run the webcam capture:

python capture.py

In another terminal, run the narrator:

python narrator.py

Core symbols most depended-on inside this repo

encode_image
called by 1
narrator.py
play_audio
called by 1
narrator.py
generate_new_line
called by 1
narrator.py
analyze_image
called by 1
narrator.py
main
called by 1
narrator.py

Shape

Function 5

Languages

Python100%

Modules by API surface

narrator.py5 symbols

Dependencies from manifests, versioned

Pillow10.1.0 · 1×
Pygments2.16.1 · 1×
annotated-types0.6.0 · 1×
anyio3.7.1 · 1×
appnope0.1.3 · 1×
asttokens2.4.1 · 1×
certifi2023.7.22 · 1×
charset-normalizer3.3.2 · 1×
decorator5.1.1 · 1×
distro1.8.0 · 1×
elevenlabs0.2.26 · 1×
exceptiongroup1.1.3 · 1×

For agents

$ claude mcp add narrator \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact