{"id":20217675,"url":"https://github.com/pforret/shwiki","last_synced_at":"2026-05-11T15:40:38.812Z","repository":{"id":144773449,"uuid":"485117809","full_name":"pforret/shwiki","owner":"pforret","description":"Wikipedia CLI in bash","archived":false,"fork":false,"pushed_at":"2022-04-24T22:39:25.000Z","size":963,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-13T22:22:00.696Z","etag":null,"topics":["bash","bashew","wikipedia-api"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/pforret.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2022-04-24T19:14:39.000Z","updated_at":"2023-04-13T17:46:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"8bf7354c-4f94-4627-9d75-940d278f809d","html_url":"https://github.com/pforret/shwiki","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":"pforret/bashew","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pforret%2Fshwiki","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pforret%2Fshwiki/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pforret%2Fshwiki/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pforret%2Fshwiki/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pforret","download_url":"https://codeload.github.com/pforret/shwiki/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241654814,"owners_count":19997938,"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":["bash","bashew","wikipedia-api"],"created_at":"2024-11-14T06:35:05.261Z","updated_at":"2026-05-11T15:40:33.791Z","avatar_url":"https://github.com/pforret.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"![bash_unit CI](https://github.com/pforret/shwiki/workflows/bash_unit%20CI/badge.svg)\n![Shellcheck CI](https://github.com/pforret/shwiki/workflows/Shellcheck%20CI/badge.svg)\n![GH Language](https://img.shields.io/github/languages/top/pforret/shwiki)\n![GH stars](https://img.shields.io/github/stars/pforret/shwiki)\n![GH tag](https://img.shields.io/github/v/tag/pforret/shwiki)\n![GH License](https://img.shields.io/github/license/pforret/shwiki)\n[![basher install](https://img.shields.io/badge/basher-install-white?logo=gnu-bash\u0026style=flat)](https://www.basher.it/package/)\n\n# shwiki\n\nWikipedia CLI in bash\n\n![](assets/unsplash.encyclopedia.jpg)\n\n## 🔥 Usage\n\n```\nProgram: shwiki 1.0.3 by peter@forret.com\nUpdated: Apr 24 23:47:08 2022\nDescription: Wikipedia CLI in bash\nUsage: shwiki [-h] [-q] [-v] [-c] [-f] [-l \u003clog_dir\u003e] [-t \u003ctmp_dir\u003e] [-w \u003cwidth\u003e] [-p \u003cparagraphs\u003e] [-s \u003csentences\u003e] \u003caction\u003e \u003cinput?\u003e\nFlags, options and parameters:\n    -h|--help        : [flag] show usage [default: off]\n    -q|--quiet       : [flag] no output [default: off]\n    -v|--verbose     : [flag] output more [default: off]\n    -c|--cleanup     : [flag] cleanup Wikipedia text [default: off]\n    -f|--force       : [flag] do not ask for confirmation (always yes) [default: off]\n    -l|--log_dir \u003c?\u003e : [option] folder for log files   [default: /Users/pforret/log/shwiki]\n    -t|--tmp_dir \u003c?\u003e : [option] folder for temp files  [default: /Users/pforret/Code/Github/shwiki/.tmp]\n    -w|--width \u003c?\u003e   : [option] max line width  [default: 100]\n    -p|--paragraphs \u003c?\u003e: [option] stop after N paragraphs  [default: 1]\n    -s|--sentences \u003c?\u003e: [option] stop after N sentences  [default: 10]\n    \u003caction\u003e         : [choice] action to perform  [options: search,action2,check,env,update]\n    \u003cinput\u003e          : [parameter] search term (optional)\n```\n\n## ⚡️ Examples\n\n```bash\n\u003e shwiki search London\n# get Wikipedia information about London\n\n\u003e shwiki -p 2 -s 10 -c search London\n# get Wikipedia information about London, max 2 paragraphs, max 10 sentences, and clean up the text\n```\n\n## 🚀 Installation\n\nwith [basher](https://github.com/basherpm/basher)\n\n\t$ basher install pforret/shwiki\n\nor with `git`\n\n\t$ git clone https://github.com/pforret/shwiki.git\n\t$ cd shwiki\n\n## 📝 Acknowledgements\n\n* script created with [bashew](https://github.com/pforret/bashew)\n\n\u0026copy; 2022 Peter Forret\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpforret%2Fshwiki","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpforret%2Fshwiki","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpforret%2Fshwiki/lists"}