{"id":20972636,"url":"https://github.com/script-0/hcia-rs-prep-bot","last_synced_at":"2026-04-21T08:02:46.689Z","repository":{"id":45212759,"uuid":"414335489","full_name":"script-0/hcia-rs-prep-bot","owner":"script-0","description":"A HCIA R\u0026S Certification question/answers Telegram bot","archived":false,"fork":false,"pushed_at":"2023-05-01T03:58:51.000Z","size":1112,"stargazers_count":3,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-27T18:27:47.320Z","etag":null,"topics":["hcia-rs","hcia-training","python-bot","quiz-telegram-bot","telegram-bot"],"latest_commit_sha":null,"homepage":"https://t.me/quizT_bot","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/script-0.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2021-10-06T18:55:35.000Z","updated_at":"2025-04-26T16:01:47.000Z","dependencies_parsed_at":"2025-03-13T08:39:35.448Z","dependency_job_id":null,"html_url":"https://github.com/script-0/hcia-rs-prep-bot","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/script-0/hcia-rs-prep-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/script-0%2Fhcia-rs-prep-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/script-0%2Fhcia-rs-prep-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/script-0%2Fhcia-rs-prep-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/script-0%2Fhcia-rs-prep-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/script-0","download_url":"https://codeload.github.com/script-0/hcia-rs-prep-bot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/script-0%2Fhcia-rs-prep-bot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32082780,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-21T06:27:27.065Z","status":"ssl_error","status_checked_at":"2026-04-21T06:27:21.250Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["hcia-rs","hcia-training","python-bot","quiz-telegram-bot","telegram-bot"],"created_at":"2024-11-19T04:09:05.784Z","updated_at":"2026-04-21T08:02:46.654Z","avatar_url":"https://github.com/script-0.png","language":"Python","readme":"# hcia-rs-prep-bot\nA Telegram bot for question/answers relatively to HCIA R\u0026amp;S Certification\n\n[![Lint](https://github.com/script-0/hcia-rs-prep-bot/actions/workflows/lint.yml/badge.svg)](https://github.com/script-0/hcia-rs-prep-bot/actions/workflows/lint.yml)     [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n\n## How to deploy Locally\n\n- Requirements\n\n    - Python 3.7 or earlier\n    - virtualenv\n        ```bash\n        $ pip3 install virtualenv\n        ```\n    - Initialised Bot with [@BotFather](https://t.me/BotFather)\n- Code the repo\n    ```bash\n    $ git clone git@github.com:script-0/hcia-rs-prep-bot\n    cd hcia-rs-prep\n    ```\n\n- Configure virtual environment\n\n    ```bash\n    $ virtualenv  venv -p python3\n    source venv/bin/activate\n    ```\n\n- Install librairies\n    ```bash\n    $ pip3 install -r requirements.txt\n    ```\n- Define environment variables.\n    ```bash\n    $ export BOT_SECRET=\"YOUR_BOT_SECRET\"\n    $ export MONGO_DB=\"YOUR_MONGO_DB_URI\" # format: \"mongodb+srv://USERNAME:PASSWORD@cluster0.0soh0.mongodb.net/COLLECTION_NAME?retryWrites=true\u0026w=majority\"\n    $ export USER_CODE=\"USER_CODE_TO_CREATE_QUIZ\"\n    ```\n- One more step. \\\nLocalise the following bit of code and comment it.\\\nTips: look at `main()` in `bot.py`\n```python\n    updater.start_webhook(\n        listen=\"0.0.0.0\", port=PORT, url_path=TOKEN, webhook_url=APP_NAME + TOKEN\n    )\n```\n- Oooffs, Run it\n    ```bash\n    $ python3 bot.py\n    ```\n    \n## To DO\n\n- [x] Implement interaction with user\n- [x] User created quizz recording \n- [x] Integrate document based database (MongoDB Atlas)\n- [x] Think about question with image : ADD illustration to Quiz\n- [x] Remove illustration from QUIZ\n- [ ] Auto complete feature on typing command\n- [ ] More beautiful report\n- [ ] More useful How to deploy\n- [ ] Code refactoring\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscript-0%2Fhcia-rs-prep-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscript-0%2Fhcia-rs-prep-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscript-0%2Fhcia-rs-prep-bot/lists"}