{"id":13337915,"url":"https://github.com/kaydotdev/in-a-word-bot","last_synced_at":"2025-03-11T08:31:56.237Z","repository":{"id":37685871,"uuid":"211316600","full_name":"kaydotdev/in-a-word-bot","owner":"kaydotdev","description":"A Telegram bot for text summary generation","archived":false,"fork":false,"pushed_at":"2022-12-27T23:47:18.000Z","size":50204,"stargazers_count":2,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-23T20:11:14.633Z","etag":null,"topics":["aiogram","bot","nlp","python","summary","telegram-bot","tldr"],"latest_commit_sha":null,"homepage":"https://t.me/in_a_word_bot","language":"Python","has_issues":false,"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/kaydotdev.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}},"created_at":"2019-09-27T12:40:09.000Z","updated_at":"2024-09-05T16:23:34.000Z","dependencies_parsed_at":"2023-01-31T05:15:22.967Z","dependency_job_id":null,"html_url":"https://github.com/kaydotdev/in-a-word-bot","commit_stats":null,"previous_names":["kaydotdev/in-a-word-bot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaydotdev%2Fin-a-word-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaydotdev%2Fin-a-word-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaydotdev%2Fin-a-word-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaydotdev%2Fin-a-word-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kaydotdev","download_url":"https://codeload.github.com/kaydotdev/in-a-word-bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243000778,"owners_count":20219744,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["aiogram","bot","nlp","python","summary","telegram-bot","tldr"],"created_at":"2024-07-29T19:15:10.709Z","updated_at":"2025-03-11T08:31:55.881Z","avatar_url":"https://github.com/kaydotdev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IN A WORD BOT\n\n[![Telegram bot link](https://img.shields.io/static/v1?label=\u0026labelColor=505050\u0026message=telegram%20bot\u0026color=%2329b6f6\u0026style=for-the-badge\u0026logo=telegram\u0026logoColor=%2329b6f6)](https://t.me/in_a_word_bot)\n\n## Techstack\n\n![GCP](./docs/gcp.svg)\n![Python](./docs/python.svg)\n![Jupyter](./docs/jupyter.svg)\n![Pytorch](./docs/pytorch.svg)\n![ONNX](./docs/onnx.svg)\n![Redis](./docs/redis.svg)\n\n## Description\n\nFinding the right information in the **digital era** may be the real challenge nowadays because it's growing **exponentially** day by day! Whether you are a student preparing an essay or a researcher working with the knowledge base, you spend a lot of time searching, filtering, and summarizing text. [Google](https://www.google.com/) can assist you with the first two steps, but I will help with the last one! Send me a plain text, file, or link to an external resource, and I will summarize it for you in a word :grin:.\n\n## Getting started\n\n### Run bot locally\n\nFirst, change the directory from the `root` to the `src`:\n\n```bash\ncd src\n```\n\nIf you have a virtual environment, activate it:\n\n```bash\nsource venv/bin/activate\n```\n\nSet environment variables:\n\n```bash\nexport ENV_API_TOKEN=...\nexport ENV_MAX_MESSAGE_LENGTH=...\nexport ENV_MAX_FILE_SIZE=...\n\nexport ENV_REPO_LINK=...\nexport ENV_DEV_LINK=...\n\nexport ENV_WEBHOOK_MODE=...\n\n# Optional if ENV_WEBHOOK_MODE is False\nexport ENV_WEBHOOK_HOST=...\nexport ENV_WEBHOOK_PATH=...\n\nexport ENV_WEBAPP_HOST=...\nexport ENV_WEBAPP_PORT=...\n```\n\nRun bot in Python interpreter mode:\n\n```bash\npython main.py\n```\n\nOptionally, run bot on a `gunicorn` server (webhook mode ONLY):\n\n```bash\ngunicorn main:app --bind localhost:8080 --worker-class aiohttp.GunicornUVLoopWebWorker\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaydotdev%2Fin-a-word-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkaydotdev%2Fin-a-word-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaydotdev%2Fin-a-word-bot/lists"}