{"id":19318456,"url":"https://github.com/localjo/encyclopedia-cli","last_synced_at":"2025-10-06T01:38:33.385Z","repository":{"id":72348750,"uuid":"210950778","full_name":"localjo/encyclopedia-cli","owner":"localjo","description":"An application that allows reading MediaWiki sources from the command line","archived":false,"fork":false,"pushed_at":"2019-11-10T12:39:03.000Z","size":72,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-27T10:06:54.105Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/localjo.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-25T22:18:03.000Z","updated_at":"2020-03-16T18:28:05.000Z","dependencies_parsed_at":"2023-02-28T08:01:54.204Z","dependency_job_id":null,"html_url":"https://github.com/localjo/encyclopedia-cli","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/localjo/encyclopedia-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localjo%2Fencyclopedia-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localjo%2Fencyclopedia-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localjo%2Fencyclopedia-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localjo%2Fencyclopedia-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/localjo","download_url":"https://codeload.github.com/localjo/encyclopedia-cli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localjo%2Fencyclopedia-cli/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270303139,"owners_count":24562017,"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-08-13T02:00:09.904Z","response_time":66,"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":"2024-11-10T01:18:40.179Z","updated_at":"2025-10-06T01:38:28.366Z","avatar_url":"https://github.com/localjo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# encyclopedia-cli\n\n\u003e A demo application that allows reading a MediaWiki encyclopedia from the command line\n\n## Install\n\nUnzip or clone the repo, then, from the project's root directory, run:\n\n```\nnpm install\n```\n\nBefore running the app, you must set which MediaWiki domain to use as your encyclopedia source. For example;\n\n```bash\nexport ENCYCLOPEDIA_DOMAIN=wikipedia.org\n```\n\n## Usage\n\nStart the interactive CLI with:\n\n```\nnode index.js --language en\n```\n\nThe language parameter is optional. You can replace `en` with the language code for any existing encyclopedia language\n(e.g. `fr`, `es`, `de`, etc).\n\n## Commands\n\nOnce you've started the app, you can type the following commands:\n\n### `READ \u003carticle\u003e`\n\nShow article text. Press `q` to stop reading an article.\nThe `\u003carticle\u003e` parameter is a string. If it includes spaces,\nyou must enclose it in double quotes, e.g. `READ \"Santa Claus\"`.\n\n### `QUIT`\n\nExit the application.\n\n### `HELP`\n\nPrint the available commands with a short description.\n\n## Tests\n\nThis app includes unit tests that can be run with `npm test`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flocaljo%2Fencyclopedia-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flocaljo%2Fencyclopedia-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flocaljo%2Fencyclopedia-cli/lists"}