{"id":21281913,"url":"https://github.com/guypeer8/wiki-cli","last_synced_at":"2025-07-11T10:34:02.757Z","repository":{"id":54467306,"uuid":"234436520","full_name":"guypeer8/wiki-cli","owner":"guypeer8","description":":book: Search wikipedia through your command line.","archived":false,"fork":false,"pushed_at":"2020-01-19T17:31:30.000Z","size":6527,"stargazers_count":10,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-04-10T11:35:41.401Z","etag":null,"topics":["cli","elixir","elixir-lang","escript","wikipedia"],"latest_commit_sha":null,"homepage":"","language":"Elixir","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/guypeer8.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}},"created_at":"2020-01-17T00:12:08.000Z","updated_at":"2022-08-07T23:47:37.000Z","dependencies_parsed_at":"2022-08-13T16:40:10.103Z","dependency_job_id":null,"html_url":"https://github.com/guypeer8/wiki-cli","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guypeer8%2Fwiki-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guypeer8%2Fwiki-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guypeer8%2Fwiki-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guypeer8%2Fwiki-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/guypeer8","download_url":"https://codeload.github.com/guypeer8/wiki-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225715930,"owners_count":17512909,"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","elixir","elixir-lang","escript","wikipedia"],"created_at":"2024-11-21T10:52:13.329Z","updated_at":"2024-11-21T10:52:14.022Z","avatar_url":"https://github.com/guypeer8.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Wiki\n\n```text\nusage: wiki [term] [-hbltwc]\naliases:\n [ -h, --help ], show current help message\n [ -b, --briefs ], show brief description of first few matching results\n [ -l, --links ], show [x] wikipedia links matching input term\n [ -t, --text ], extract the text explaining the term\n [ -w, --write ], write the term search result to an html file\n [ -c, --locale ], the locale used to fetch the term from wikimedia\n```\n\n## Usage\n```bash\nwiki ww2 # [= wiki ww2 -b] returns short text explaining the term \"ww2\"\nwiki \"pearl jam\" -l 3 # returns 3 wikipedia links related to the term \"pearl jam\"\nwiki cleopatra -w # writes and html file named \"cleopatra\" inside a folder named \"wikidocs\" on the current directory\nwiki \"donald trump\" -c fr -l 2 # returns 2 wikipedia links in french related to \"donald trump\"\nwiki zeus -t # extracts \u0026 logs the text related to the term \"zeus\"\n```\n \n## Installation\n\nIf [available in Hex](https://hex.pm/docs/publish), the package can be installed\nby adding `wiki` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [\n    {:wiki, \"~\u003e 0.1.0\"}\n  ]\nend\n```\n\nDocumentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc)\nand published on [HexDocs](https://hexdocs.pm). Once published, the docs can\nbe found at [https://hexdocs.pm/wiki](https://hexdocs.pm/wiki).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguypeer8%2Fwiki-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguypeer8%2Fwiki-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguypeer8%2Fwiki-cli/lists"}