{"id":50907861,"url":"https://github.com/namuan/book-tok","last_synced_at":"2026-06-16T07:01:32.278Z","repository":{"id":331692225,"uuid":"1131842766","full_name":"namuan/book-tok","owner":"namuan","description":"Telegram Book Snippet Delivery Bot","archived":false,"fork":false,"pushed_at":"2026-01-24T22:26:18.000Z","size":355,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-25T10:58:06.990Z","etag":null,"topics":["books","genai","openrouter","telegram"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/namuan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-01-10T19:57:38.000Z","updated_at":"2026-01-24T22:26:22.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/namuan/book-tok","commit_stats":null,"previous_names":["namuan/book-tok"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/namuan/book-tok","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/namuan%2Fbook-tok","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/namuan%2Fbook-tok/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/namuan%2Fbook-tok/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/namuan%2Fbook-tok/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/namuan","download_url":"https://codeload.github.com/namuan/book-tok/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/namuan%2Fbook-tok/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34393305,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-16T02:00:06.860Z","response_time":126,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["books","genai","openrouter","telegram"],"created_at":"2026-06-16T07:01:27.249Z","updated_at":"2026-06-16T07:01:32.267Z","avatar_url":"https://github.com/namuan.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BookTok - Telegram Book Snippet Delivery Bot\n\nBookTok is a Telegram bot that delivers bite-sized learning snippets from PDF and EPUB books on a scheduled basis.\n\n![](docs/intro.png)\n\n## Features\n\n- 📚 Process PDF/EPUB books into digestible snippets\n- ⏰ Schedule automated delivery of book snippets\n- 🤖 Interactive Telegram bot interface\n- 🔒 Secure configuration via environment variables\n- 📊 Database persistence for user preferences\n- ✅ Comprehensive logging and monitoring\n\n## Prerequisites\n\n- Python 3.12+\n- [UV](https://github.com/astral-sh/uv) package manager\n- Telegram Bot Token ([Get from BotFather](https://core.telegram.org/bots#how-do-i-create-a-bot))\n\n## Installation\n\n1. Clone the repository:\n```bash\ngit clone https://github.com/yourusername/book-tok.git\ncd book-tok\n```\n\n2. Create and configure environment file:\n```bash\ncp .env.example .env\n# Edit .env with your Telegram bot token and other settings\n```\n\n3. Install dependencies:\n```bash\nmake install\n```\n\n## Configuration\n\nConfigure via `.env` file or environment variables:\n\n| Variable               | Description                          | Default       |\n|------------------------|--------------------------------------|---------------|\n| `TELEGRAM_BOT_TOKEN`   | **Required** Bot authentication token| -             |\n| `BOOKTOK_DB_PATH`      | Database file path                   | `booktok.db`  |\n| `BOOKTOK_BOOKS_DIR`    | Directory containing book files      | `books`       |\n| `BOOKTOK_LOG_LEVEL`    | Logging verbosity                    | `INFO`        |\n| `BOOKTOK_LOG_FILE`     | Optional log file path               | -             |\n\n## Usage\n\nFor detailed usage instructions, see [USER_GUIDE.md](USER_GUIDE.md)\n\n### Running the Bot\n```bash\nmake run\n```\n\n### Development Commands\n```bash\nmake check      # Run all code quality checks\nmake test       # Run unit tests\nmake metrics    # Analyze code complexity and quality\nmake clean      # Remove build artifacts\n```\n\n### Deployment\n1. Configure server access in Makefile\n2. Deploy to production:\n```bash\nmake deploy\nmake start\n```\n\n## Contributing\n\n1. Create feature branch:\n```bash\ngit checkout -b feature/new-feature\n```\n\n2. Implement changes with tests\n\n3. Verify code quality:\n```bash\nmake check\nmake test\n```\n\n4. Commit using [Conventional Commits](https://www.conventionalcommits.org/)\n5. Create pull request\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnamuan%2Fbook-tok","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnamuan%2Fbook-tok","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnamuan%2Fbook-tok/lists"}