{"id":16326580,"url":"https://github.com/icelam/deno-wikipedia-cli","last_synced_at":"2026-04-17T05:03:52.322Z","repository":{"id":54160356,"uuid":"279896869","full_name":"icelam/deno-wikipedia-cli","owner":"icelam","description":"Search anything on Wikipedia from your terminal. An experimental project written in Deno. (Deno version 1.2.2, std version 0.63.0) 🦕","archived":false,"fork":false,"pushed_at":"2024-01-31T17:02:44.000Z","size":2720,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-14T22:12:09.483Z","etag":null,"topics":["cli","deno","deno-cli","deno-wikipedia-cli","javascript","typescript","wikipedia","wikipedia-api"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/icelam.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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},"funding":{"github":["icelam"],"ko_fi":"icelam"}},"created_at":"2020-07-15T14:52:53.000Z","updated_at":"2024-01-30T05:56:25.000Z","dependencies_parsed_at":"2024-11-06T18:54:21.514Z","dependency_job_id":null,"html_url":"https://github.com/icelam/deno-wikipedia-cli","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icelam%2Fdeno-wikipedia-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icelam%2Fdeno-wikipedia-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icelam%2Fdeno-wikipedia-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icelam%2Fdeno-wikipedia-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/icelam","download_url":"https://codeload.github.com/icelam/deno-wikipedia-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254235711,"owners_count":22036965,"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":["cli","deno","deno-cli","deno-wikipedia-cli","javascript","typescript","wikipedia","wikipedia-api"],"created_at":"2024-10-10T23:08:50.350Z","updated_at":"2026-04-17T05:03:52.291Z","avatar_url":"https://github.com/icelam.png","language":"TypeScript","funding_links":["https://github.com/sponsors/icelam","https://ko-fi.com/icelam"],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003cimg alt=\"Deno Wikipedia CLI\" src=\"./docs/logo.svg\" width=\"220\" /\u003e\n\u003c/p\u003e\n\u003ch1 align=\"center\"\u003eDeno Wikipedia CLI\u003c/h1\u003e\n\u003cp align=\"center\"\u003e\n    Search anything on Wikipedia from your terminal.\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://deno.land/\"\u003e\u003cimg height=\"20\" src=\"https://img.shields.io/badge/made_with-Deno_1.8.0-000000.svg?logo=deno\" alt=\"Made with Deno\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://www.typescriptlang.org/\"\u003e\u003cimg height=\"20\" src=\"https://img.shields.io/badge/built_with-TypeScript-007acc.svg?logo=typescript\" alt=\"Built with TypeScript\"\u003e\u003c/a\u003e\n    \u003ca href=\"./LICENSE\"\u003e\u003cimg height=\"20\" src=\"https://img.shields.io/github/license/icelam/deno-wikipedia-cli?logo=data:image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w3DyyYnGnAiZ4gqZ/TvI2A8OGd1YIbF7+F3P+B6dYpYdsJNZgrjO0UdOIhmom0nwL0pnfnzkL1803jAoKhvyAAAAAElFTkSuQmCC\" alt=\"License\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/icelam/deno-wikipedia-cli/actions?query=workflow%3A%22Unit+test%22\"\u003e\u003cimg height=\"20\" src=\"https://github.com/icelam/deno-wikipedia-cli/workflows/Unit%20test/badge.svg\" alt=\"Unit test\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://lgtm.com/projects/g/icelam/deno-wikipedia-cli/context:javascript\"\u003e\u003cimg alt=\"Language grade: JavaScript\" src=\"https://img.shields.io/lgtm/grade/javascript/g/icelam/deno-wikipedia-cli.svg?logo=lgtm\"/\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/icelam/deno-wikipedia-cli/releases\"\u003e\u003cimg alt=\"Current version\" src=\"https://img.shields.io/github/v/release/icelam/deno-wikipedia-cli.svg?sort=semver\u0026label=latest\u0026logo=github\"/\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## Important Notes\nThis is a experimental project written in [Deno](https://github.com/denoland/deno) version 1.8.0, with `std` version 0.89.0. Some feature might be unstable at the moment.\n\n## Features\n* Get a Wikipedia page\n* Display a random Wikipedia page\n* Search in different languages\n\n## Installation\nYou can install the executable directly from GitHub.\n```bash\ndeno install --unstable --allow-net --allow-run --allow-env --allow-read --allow-write -n wiki-cli https://raw.githubusercontent.com/icelam/deno-wikipedia-cli/master/src/mod.ts\n```\n\n## Usage\nRun `wiki-cli` in your terminal followed by any of the option flags.\n\nA list of valid Wikipedia language codes is available at [https://commons.wikimedia.org/w/api.php?action=sitematrix\u0026smtype=language\u0026smlangprop=code\u0026format=json](https://commons.wikimedia.org/w/api.php?action=sitematrix\u0026smtype=language\u0026smlangprop=code\u0026format=json).\n\n```\nUsage: \n  wiki-cli [options]\n\nOptions: \n  -h, --help                            Show help and all available options\n  -c, --config                          Modify default behavior of wiki-cli, currently support saving default language to be used in search\n  -l, --language [WIKI_LANGUAGE_CODE]   Temporary set the target language to be used in search, accepts a Wikipedia language code\n  -q, --query [KEYWORD]                 Pre-define the keyword used in search\n  -r, --random                          Display a random Wikipedia page\n```\n\n![Preview](./docs/preview.png)\n\n## Development\nYou can run this app locally using the following command:\n```bash\nmake dev\n```\n\n## Tests\nYou can run test cases using the following command:\n```bash\nmake test\n```\n\n## Update lock file\nYou can update the lock file by running the following command:\n```bash\nmake lock-deps\n```\n\n## Change Log / Release\nChange log is available [here](./CHANGELOG.md).\nYou can update the change log by running the following command:\n```bash\nmake release\n```\n\nA Github workflow has been set to automatically create release when `vX.X.X` tag is pushed.\n\n## Roadmap\n* [ ] Implement logging, might introduce something like [log4deno](https://deno.land/x/log4deno)?\n* [ ] Use [Import Maps](https://deno.land/manual/linking_to_external_code/import_maps) for better maniaging dependencies' version\n* [ ] [Permission detection](https://deno.land/typedoc/classes/deno.permissions.html) without using `--unstable` flag\n* [ ] Get [terminal size](https://github.com/denoland/deno/pull/6520) without using `--unstable` flag\n* [x] ~~Better way to organize test suits, might consider using [Rhum](https://deno.land/x/rhum)?~~\n\n## Others\n* [ ] Limit or [revoke the permission](https://deno.land/manual/examples/permissions) when it is not needed (e.g. search flow does not need write permission, read permission is not needed after getting config file, net is not needed for config flow). But need to test if installed excutable would be affected on next run.\n* [ ] Good [reference](https://github.com/drashland/deno-drash/tree/master/tests) for test cases\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficelam%2Fdeno-wikipedia-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ficelam%2Fdeno-wikipedia-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficelam%2Fdeno-wikipedia-cli/lists"}