{"id":13553365,"url":"https://github.com/KorySchneider/wikit","last_synced_at":"2025-04-03T05:30:43.920Z","repository":{"id":23884732,"uuid":"100090322","full_name":"KorySchneider/wikit","owner":"KorySchneider","description":"Wikipedia summaries from the command line","archived":false,"fork":false,"pushed_at":"2024-05-15T17:13:53.000Z","size":192,"stargazers_count":272,"open_issues_count":4,"forks_count":18,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-05T23:19:42.135Z","etag":null,"topics":["cli","wiki","wikipedia","wikit"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/KorySchneider.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":"2017-08-12T05:03:01.000Z","updated_at":"2025-01-19T19:53:47.000Z","dependencies_parsed_at":"2024-08-01T12:22:45.641Z","dependency_job_id":"da3af8b2-6680-4e5a-b001-e08eebd591d9","html_url":"https://github.com/KorySchneider/wikit","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KorySchneider%2Fwikit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KorySchneider%2Fwikit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KorySchneider%2Fwikit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KorySchneider%2Fwikit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KorySchneider","download_url":"https://codeload.github.com/KorySchneider/wikit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246944377,"owners_count":20858773,"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","wiki","wikipedia","wikit"],"created_at":"2024-08-01T12:02:22.922Z","updated_at":"2025-04-03T05:30:43.662Z","avatar_url":"https://github.com/KorySchneider.png","language":"JavaScript","funding_links":["https://www.buymeacoffee.com/koryschneider"],"categories":["JavaScript","cli","[](#table-of-contents) Table of contents","\u003ca name=\"online\"\u003e\u003c/a\u003eOnline search and resources"],"sub_categories":["[](#wikipedia)Wikipedia"],"readme":"# wikit\n\nA command line program for getting Wikipedia summaries easily.\n\n - [Installation](#installation)\n - [Usage](#usage)\n   - [Examples](#examples)\n   - [Flags](#flags)\n   - [Output](#output)\n - [Bugs \u0026 Suggestions](#bugs-and-suggestions)\n - [Support Development - Buy Me A Coffee](#support-development)\n\n\n## Installation\n\n`$ npm i wikit -g`\n\n## Usage\n\nSyntax: `$ wikit \u003cquery\u003e [-flags]`\n\nQuotes are not required for multi-word queries.\n\nTo change the default language, edit `~/.config/configstore/wikit.json`.\n\n### Examples\n\n`$ wikit wikipedia`\n\n`$ wikit empire state building`\n\n`$ wikit linux -b`\n\n`$ wikit jugo -l es --link -a`\n\n### Flags\n\n| Flag | Description |\n| ---- | ----------- |\n| `--lang langCode`\u003cbr\u003e`-l langCode` | Specify language; `langCode` is an [HTML ISO language code](https://www.w3schools.com/tags/ref_language_codes.asp) |\n| `--all`\u003cbr\u003e`-a` | Print all sections of the article (the full page).  Recommended to pipe into a reader e.g. `less` |\n| `--line num` | Set line wrap length to `num` |\n| `--link` | Print a link to the full article after the summary |\n| `-b` | Open full Wikipedia article in default browser |\n| `--browser browser` | Open full Wikipedia article in specific `browser` |\n| `-d` | Open disambiguation CLI menu |\n| `-D` | Open disambiguation page in browser |\n| `--version`\u003cbr\u003e`-v` | Print installed version number |\n| `--name`\u003cbr\u003e`-n` | Print the name of the program: wikit |\n\n### Output\n\nThe output will be the paragraphs of the wikipedia article before the table of contents.\nLine length is neatly wrapped based on your terminal's window size, with a max\nof about 80 characters. For example:\n\n```\n$ wikit arch linux\n Arch Linux (or Arch /ˈɑːrtʃ/) is a Linux distribution for computers based on x86-64\n architectures. Arch Linux is composed predominantly of free and open-source software,\n and supports community involvement. The design approach of the development team\n follows the KISS principle (\"keep it simple, stupid\") as the general guideline,\n and focuses on elegance, code correctness, minimalism and simplicity, and expects\n the user to be willing to make some effort to understand the system's operation.\n A package manager written specifically for Arch Linux, pacman, is used to install,\n remove and update software packages. Arch Linux uses a rolling release model, such\n that a regular system update is all that is needed to obtain the latest Arch software;\n the installation images released by the Arch team are simply up-to-date snapshots\n of the main system components. Arch Linux has comprehensive documentation in the\n form of a community wiki, called the ArchWiki. The wiki is widely regarded among\n the Linux community and ecosystem for often having the most recent information on\n a specific topic and being applicable beyond Arch Linux.\n```\n\n## Bugs and Suggestions\n\nPlease create an issue\n[here](https://github.com/koryschneider/wikit/issues/new). Thanks!\n\n## Support Development\n\u003ca href=\"https://www.buymeacoffee.com/koryschneider\" target=\"_blank\"\u003e\u003cimg src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 41px !important;width: 174px !important;box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;-webkit-box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;\" \u003e\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FKorySchneider%2Fwikit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FKorySchneider%2Fwikit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FKorySchneider%2Fwikit/lists"}