{"id":33185693,"url":"https://github.com/DaDevMikey/Wikipedia-Command-Line-Interface","last_synced_at":"2025-11-22T04:01:30.961Z","repository":{"id":276025577,"uuid":"927969332","full_name":"DaDevMikey/Wikipedia-Command-Line-Interface","owner":"DaDevMikey","description":"use wikipedia in your command prompt ","archived":false,"fork":false,"pushed_at":"2025-06-13T19:10:27.000Z","size":77,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-13T20:25:16.004Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://dadevmikey.github.io/Wikipedia-Command-Line-Interface/website/","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/DaDevMikey.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"ko_fi":"DaManMikey"}},"created_at":"2025-02-05T20:53:53.000Z","updated_at":"2025-06-13T19:09:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"5a02b249-c7f6-4dd6-acda-708cd3b7d18e","html_url":"https://github.com/DaDevMikey/Wikipedia-Command-Line-Interface","commit_stats":null,"previous_names":["dadevmikey/wikipedia-command-line-interface"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/DaDevMikey/Wikipedia-Command-Line-Interface","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DaDevMikey%2FWikipedia-Command-Line-Interface","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DaDevMikey%2FWikipedia-Command-Line-Interface/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DaDevMikey%2FWikipedia-Command-Line-Interface/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DaDevMikey%2FWikipedia-Command-Line-Interface/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DaDevMikey","download_url":"https://codeload.github.com/DaDevMikey/Wikipedia-Command-Line-Interface/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DaDevMikey%2FWikipedia-Command-Line-Interface/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":285731803,"owners_count":27222214,"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","status":"online","status_checked_at":"2025-11-22T02:00:05.934Z","response_time":64,"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":[],"created_at":"2025-11-16T05:00:20.099Z","updated_at":"2025-11-22T04:01:30.955Z","avatar_url":"https://github.com/DaDevMikey.png","language":"Python","funding_links":["https://ko-fi.com/DaManMikey"],"categories":["\u003ca name=\"online\"\u003e\u003c/a\u003eOnline search and resources"],"sub_categories":[],"readme":"# Wiki-CLI\r\n\r\nA command-line interface for Wikipedia that allows you to search, read articles, and view ASCII art versions of images directly in your terminal.\r\n\r\n[![Github All Releases](https://img.shields.io/github/downloads/DaDevMikey/Wikipedia-Command-Line-Interface/total.svg)]()\r\n\r\n## Features\r\n\r\n- Search Wikipedia articles\r\n- Read full articles in the terminal\r\n- View article images as ASCII art\r\n- Browse external links\r\n- Command history\r\n- Tab completion for commands\r\n\r\n## Installation\r\n\r\n**As of February 9, 2025,** you can install Wiki-CLI on Windows using the attached installer available in the [latest release](https://github.com/DaDevMikey/Wikipedia-Command-Line-Interface/releases/latest).  We are actively working on improving the installation experience.\r\n\r\n**Windows Installation (using the installer):**\r\n\r\n1. Download the installer from the [latest release](https://github.com/DaDevMikey/Wikipedia-Command-Line-Interface/releases/latest) page.\r\n2. Run the installer.\r\n\r\n**Known Issue (Windows Installer):**\r\n\r\nThe installer may incorrectly report that Python is not installed even if it is present on your system. This is a known issue that we are actively working to resolve in future releases.  In the meantime, if you encounter this issue, please ensure you have a compatible version of Python installed (3.7+) and consider using the manual installation method described below. If the error message (python is not installed) does appear on your machine, press no to continue with the instalation anyways.\r\n\r\n1. Clone the repository:\r\n```bash\r\ngit clone https://github.com/DaDevMikey/Wikipedia-Command-Line-Interface.git\r\ncd wiki-cli\r\n```\r\n\r\n2. Create and activate a virtual environment (recommended):\r\n```bash\r\n# Windows\r\npython -m venv .venv\r\n.venv\\Scripts\\activate\r\n\r\n# Linux/macOS\r\npython -m venv .venv\r\nsource .venv/bin/activate\r\n```\r\n\r\n3. Install the package:\r\n```bash\r\npip install -e .\r\n```\r\n\r\n## Global Installation\r\n\r\nTo use the `wiki` command from anywhere on your system:\r\n\r\n### Windows\r\n1. Add the Python Scripts directory to your PATH:\r\n   - Open System Properties (Win + Pause/Break)\r\n   - Click \"Advanced system settings\"\r\n   - Click \"Environment Variables\"\r\n   - Under \"System Variables\", find and select \"Path\"\r\n   - Click \"Edit\"\r\n   - Click \"New\"\r\n   - Add the Python Scripts path (typically `C:\\Users\\\u003cusername\u003e\\AppData\\Local\\Programs\\Python\\Python3x\\Scripts`)\r\n   - Click \"OK\" on all windows\r\n\r\n2. Open a new command prompt (cmd.exe) and verify the installation:\r\n```bash\r\nwiki --help\r\n```\r\n\r\n### Linux/macOS\r\nThe command should be automatically available after installation. If not:\r\n```bash\r\nwhich wiki  # Verify installation path\r\nwiki --help\r\n```\r\n\r\n## Usage\r\n\r\n```bash\r\nwiki\r\n```\r\n\r\n### Available Commands\r\n\r\n- `search \u003cquery\u003e`: Search Wikipedia articles\r\n- `view \u003ctitle\u003e`: View a specific article\r\n- `\u003cnumber\u003e`: View article from search results\r\n- `images`: List images in current article\r\n- `image \u003cnumber\u003e`: View ASCII art of an image\r\n- `links`: Show external links for current article\r\n- `clear`: Clear the screen\r\n- `help`: Show help message\r\n- `exit`: Exit the application\r\n\r\n### Examples\r\n\r\n```bash\r\n# Search for an article\r\nwiki\u003e search Python programming\r\n\r\n# View a specific article\r\nwiki\u003e view Python (programming language)\r\n\r\n# List images in current article\r\nwiki\u003e images\r\n\r\n# View an image as ASCII art\r\nwiki\u003e image 1\r\n\r\n# Show external links\r\nwiki\u003e links\r\n\r\n# Get help\r\nwiki\u003e help\r\n```\r\n\r\n## Requirements\r\n\r\n- Python 3.7+\r\n- Required packages (automatically installed):\r\n  - requests\r\n  - aiohttp\r\n  - pillow\r\n  - rich\r\n  - prompt_toolkit\r\n  - click\r\n  - python-dotenv\r\n\r\n## License\r\n\r\nMIT\r\n\r\n## Contributing\r\n\r\n\r\n\r\n\r\nTo use the command globally on your device:\r\n\r\n1. **For Windows users:**\r\n   - After installation, the `wiki` command should be available in your Python Scripts directory\r\n   - To make it available everywhere, you need to ensure your Python Scripts directory is in your system PATH\r\n   - The Python Scripts directory is typically located at:\r\n     - `C:\\Users\\\u003cusername\u003e\\AppData\\Local\\Programs\\Python\\Python3x\\Scripts` (for system Python)\r\n     - `C:\\Users\\\u003cusername\u003e\\Downloads\\Wikipedia Command Line Interface\\.venv\\Scripts` (if using virtual environment)\r\n\r\n2. **To add to PATH in Windows:**\r\n   ```bash\r\n   # First, find your Python Scripts directory\r\n   where python\r\n   ```\r\n   Then:\r\n   1. Open System Properties (Win + Pause/Break)\r\n   2. Click \"Advanced system settings\"\r\n   3. Click \"Environment Variables\"\r\n   4. Under \"System Variables\", find and select \"Path\"\r\n   5. Click \"Edit\"\r\n   6. Click \"New\"\r\n   7. Add the full path to your Python Scripts directory\r\n   8. Click \"OK\" on all windows\r\n   9. Open a new command prompt for changes to take effect\r\n\r\n3. **To verify installation:**\r\n   ```bash\r\n   # Open a new command prompt and type:\r\n   wiki --help\r\n   ```\r\n\r\nIf you want to use the command without activating the virtual environment each time, you should install the package globally using:\r\n```bash\r\npip install .\r\n```\r\nInstead of:\r\n```bash\r\npip install -e .\r\n```\r\n\r\nRemember that global installation might require administrator privileges on Windows (run command prompt as administrator).\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDaDevMikey%2FWikipedia-Command-Line-Interface","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FDaDevMikey%2FWikipedia-Command-Line-Interface","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDaDevMikey%2FWikipedia-Command-Line-Interface/lists"}