MCPcopy Index your code
hub / github.com/dmotz/thing-translator

github.com/dmotz/thing-translator @0.0.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release 0.0.2 ↗ · + Follow
12 symbols 32 edges 11 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Thing Translator

An AI Experiment

Try the live demo here.

Thing Translator is a web app that lets you point your phone (or laptop) at stuff to hear to say it in a different language. It was developed as part of Google's AI Experiments project. You can try the app here.

Behind the scenes Thing Translator is using Google's Cloud Vision and Translate APIs.

Development

To start a development server on 9966 that will watch for code changes simply run:

$ npm start

You will need to set your API key in src/config.js.

To optimize the output for production, run:

$ npm run build

For production builds, replace the contents of the api_key file with your production key.

If you'd like to create a fork or a similar project, you'll need to setup some API keys on Google Cloud Platform.

Core symbols most depended-on inside this repo

activateCameraLegacy
called by 4
src/effects/request-camera.js
speak
called by 2
src/effects/translate.js
setVoiceMap
called by 2
src/effects/translate.js
failureState
called by 2
src/effects/translate.js
cameraSuccess
called by 2
src/effects/request-camera.js
enumerateDevices
called by 2
src/effects/request-camera.js
findBestSource
called by 1
src/effects/request-camera.js
activateCamera
called by 1
src/effects/request-camera.js

Shape

Function 12

Languages

TypeScript100%

Modules by API surface

src/effects/request-camera.js6 symbols
src/effects/translate.js4 symbols
src/effects/snap.js1 symbols
src/effects/request-fullscreen.js1 symbols

For agents

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

⬇ download graph artifact