{"id":28294511,"url":"https://github.com/tawfikhammad/wikibot","last_synced_at":"2026-04-28T12:06:19.339Z","repository":{"id":278233141,"uuid":"934499663","full_name":"tawfikhammad/WikiBot","owner":"tawfikhammad","description":"A Wikipedia Question Answering Bot","archived":false,"fork":false,"pushed_at":"2025-02-18T17:12:36.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-22T10:56:52.711Z","etag":null,"topics":["bot","langchain","wikipedia"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tawfikhammad.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}},"created_at":"2025-02-17T23:58:53.000Z","updated_at":"2025-04-24T13:38:15.000Z","dependencies_parsed_at":"2025-02-18T18:35:27.284Z","dependency_job_id":null,"html_url":"https://github.com/tawfikhammad/WikiBot","commit_stats":null,"previous_names":["tawfikhammad/wiki-bot","tawfikhammad/wikibot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tawfikhammad/WikiBot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tawfikhammad%2FWikiBot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tawfikhammad%2FWikiBot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tawfikhammad%2FWikiBot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tawfikhammad%2FWikiBot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tawfikhammad","download_url":"https://codeload.github.com/tawfikhammad/WikiBot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tawfikhammad%2FWikiBot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32379679,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T11:25:28.583Z","status":"ssl_error","status_checked_at":"2026-04-28T11:25:05.435Z","response_time":56,"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":["bot","langchain","wikipedia"],"created_at":"2025-05-22T10:34:32.553Z","updated_at":"2026-04-28T12:06:19.327Z","avatar_url":"https://github.com/tawfikhammad.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Wikipedia QA Bot\n\nA **Wikipedia Question Answering Bot** that allows users to input a Wikipedia article title, ask questions about its content, and receive AI-generated answers. The bot uses **LangChain**, **FAISS**, and **Hugging Face Transformers** for efficient document retrieval and QA processing.\n\n## Features\n- Scrapes Wikipedia articles based on user-input titles and language selection.\n- Uses **FAISS** for efficient document retrieval.\n- Employs **Hugging Face's Transformers** for question answering.\n- Deployed using **Streamlit** with a Flask backend.\n\n## Installation\n\n### 1. Clone the Repository\n```bash\ngit clone https://github.com/yourusername/WikiBot.git\ncd WikiBot\n```\n\n### 2. Create a Virtual Environment\n```bash\nconda create --name wikibot python=3.11\nconda activate wikibot\n```\n\n### 3. Install Dependencies\n```bash\npip install -r requirements.txt\n```\n\n## Usage\n\n### Run the Streamlit App\n```bash\nstreamlit run app.py\n```\n\n### Input Options\n- **Wikipedia Title**: Enter the title of the Wikipedia page to scrape.\n- **Language Selection**: Choose between English (`en`) or Arabic (`ar`).\n- **Ask a Question**: Once the article is scraped, input a question related to its content.\n\n## Project Structure\n```\nWikiBot/\n│── app.py                  # Streamlit UI\n│── controller.py           # Main Controller\n│── requirements.txt        # Dependencies\n│── LICENSE\n|── README.md\n|\n├── utils/\n│   ├── qa_chain.py         # Question Answering Pipeline\n│   ├── search.py           # FAISS Document Retrieval\n│   ├── wiki_scrap.py       # Wikipedia Scraping Utility\n|   |── __init__.py\n```\n\n---\n\n## License\nThis project is licensed under the Apache License. See the [LICENSE](LICENSE) file for details.\n\n---\n\n# This project is still under development \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftawfikhammad%2Fwikibot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftawfikhammad%2Fwikibot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftawfikhammad%2Fwikibot/lists"}