BYOAIK — Bring Your Own AI Key: a directory of AI tools that run on your own API key.

bilingual_book_maker

CLI that translates EPUB/TXT/SRT/PDF books into bilingual editions using your own LLM key.

Website Source code

Category:
Productivity Tools
Pricing:
Open Source
Open source:
Yes (MIT)
Self-hostable:
Yes
Local-first:
Yes
Platforms:
CLI, Self-hosted, Docker
AI providers (bring your own key):
OpenAI, Anthropic, Google Gemini, Azure OpenAI, Groq, xAI Grok, DeepSeek, Ollama, Custom / OpenAI-compatible
API key storage:
Configured by environment variable
Key risk level:
LOW
Trust score:
86/100

An open-source Python command-line tool that converts EPUB, TXT, MD, SRT, and PDF files into bilingual (side-by-side) editions by translating them with an LLM or translation engine of your choice. The end user supplies their own API key per provider via dedicated CLI flags and BBM_* environment variables: --openai_key/BBM_OPENAI_API_KEY for OpenAI, --claude_key/BBM_CLAUDE_API_KEY for Anthropic Claude, --gemini_key/BBM_GOOGLE_GEMINI_KEY for Google Gemini, --groq_key/BBM_GROQ_API_KEY for Groq, --xai_key/BBM_XAI_API_KEY for xAI Grok, --deepl_key/BBM_DEEPL_API_KEY for DeepL, --qwen_key for Qwen, plus --api_key combined with --provider for any custom OpenAI-compatible endpoint. Ollama is supported for fully local/self-hosted models, and free engines (Google Translate, DeepL Free) are also available. Installed via pip (pip install -U bbook_maker) and run as the bbook CLI or python3 make_book.py. MIT-licensed, ~9.3k GitHub stars, actively maintained (latest release v1.1.0, July 2025), Python 3.10+.

How your API key is handled

Your API key is supplied via an environment variable or local config file. Requests are sent directly to the AI provider. Because it can be self-hosted, your key never has to touch a third-party backend.

Setup

Install the tool, set your provider API key as an environment variable (or in its config file), and pick a model.