{"id":18267894,"url":"https://github.com/dance2die/google-book-shell","last_synced_at":"2026-05-08T15:04:44.915Z","repository":{"id":57147286,"uuid":"111758649","full_name":"dance2die/google-book-shell","owner":"dance2die","description":"Search Google Books in a Shell.","archived":false,"fork":false,"pushed_at":"2017-11-29T03:23:42.000Z","size":86,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-03T22:46:32.270Z","etag":null,"topics":["amazon","cli","node","shell"],"latest_commit_sha":null,"homepage":null,"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/dance2die.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}},"created_at":"2017-11-23T03:27:24.000Z","updated_at":"2023-02-15T22:11:55.000Z","dependencies_parsed_at":"2022-09-06T14:51:47.327Z","dependency_job_id":null,"html_url":"https://github.com/dance2die/google-book-shell","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dance2die/google-book-shell","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dance2die%2Fgoogle-book-shell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dance2die%2Fgoogle-book-shell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dance2die%2Fgoogle-book-shell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dance2die%2Fgoogle-book-shell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dance2die","download_url":"https://codeload.github.com/dance2die/google-book-shell/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dance2die%2Fgoogle-book-shell/sbom","scorecard":{"id":318569,"data":{"date":"2025-08-11","repo":{"name":"github.com/dance2die/google-book-shell","commit":"94c251e108a2e1828d5b27d255913fe0201f4f0d"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":0,"reason":"18 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-42xw-2xvc-qx8m","Warn: Project is vulnerable to: GHSA-4w2v-q235-vp99","Warn: Project is vulnerable to: GHSA-cph5-m8f7-6c5x","Warn: Project is vulnerable to: GHSA-wf5p-g6vw-rhxx","Warn: Project is vulnerable to: GHSA-jr5f-v2jv-69x6","Warn: Project is vulnerable to: GHSA-74fj-2j2h-c42q","Warn: Project is vulnerable to: GHSA-pw2r-vq6v-hr8c","Warn: Project is vulnerable to: GHSA-jchw-25xp-jwwc","Warn: Project is vulnerable to: GHSA-cxjh-pqwp-8mfp","Warn: Project is vulnerable to: GHSA-jf85-cpcp-j695","Warn: Project is vulnerable to: GHSA-fvqr-27wr-82fm","Warn: Project is vulnerable to: GHSA-4xc9-xhrj-v574","Warn: Project is vulnerable to: GHSA-x5rq-j2xg-h7qm","Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-18T00:52:11.446Z","repository_id":57147286,"created_at":"2025-08-18T00:52:11.446Z","updated_at":"2025-08-18T00:52:11.446Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271751903,"owners_count":24814703,"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-23T02:00:09.327Z","response_time":69,"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":["amazon","cli","node","shell"],"created_at":"2024-11-05T11:29:15.332Z","updated_at":"2026-05-08T15:04:39.877Z","avatar_url":"https://github.com/dance2die.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Google Book Shell\nSearch [Google Books](https://books.google.com/) from command line window.\n\n## Video of \"How to Install \u0026 Use Google-Book-Shell\"\n[![How to Install \u0026 Use Google-Book-Shell](https://i.imgur.com/YtI0HA0.gif)](http://www.youtube.com/watch?v=XK4NgwJqw0s \"Google Book Shell (NodeJS CLI) Demo\n\")\n\n## How to Install\n\u003e npm install -g google-book-shell\n\nIf you have already installed it before (Thank you 😇), update it as shown below.\n\u003e npm update -g google-book-shell\n\nLink to [Google-Book-Shell](https://www.npmjs.com/package/google-book-shell) NPM page.\n_____\n\n## How to Run 🏃‍\nType `gbs`\n```bash\ndance2die@LELOUCH c:\\misc\\sources\n\u003e gbs\ngoogle book search$\n```\n_____\n## Usage\nType `help` for the list of commands\n```bash\ngoogle book search$ help\n\n  Commands:\n\n    help [command...]  Provides help for a given command.\n    exit               Exits application.\n    search \u003cbook\u003e      search for a book in Google Books\n    open \u003cnumber\u003e      open # in searched book list\n    view \u003cnumber\u003e      view detailed description of the book\n    print              print searched books\n```\n_____\n## Commands\n### **search**\n  - USAGE: `search \u003cbook name\u003e` (book name is required).\n  - ALIAS: `s`\n  - DESCRIPTION: Searches for the book on Google Books.\n  - If the name has a space, use a double/single quote around the name.\n  - EXAMPLE\n  ```bash\n  google book search$ search \"Grokking Algorithms\"\n  01: Grokking Algorithms\n  02: Grokking Deep Learning\n  03: Algorithms For Dummies\n  04: Algorithms Unlocked\n  05: Data Structures and Algorithms in Python\n  06: Essential Algorithms\n  07: The Algorithm Design Manual\n  08: The CS Detective\n  09: Algorithmic Puzzles\n  10: Python Algorithms\n  ```\n### **open**\n  - USAGE: `open [options] \u003cnumber\u003e` (number is required).\n  - ALIAS: `o`\n  - DESCRIPTION: Opens the searched book by the search result order in a *web browser*.\n  - *NOTE*: Works only after **search** is run.\n  - OPTIONS:\n\n  ```bash\n  Options:\n      --help                        output usage information\n      -a, --amazon                  open Amazon link\n      -s, --strip-amazon-affiliate  strip affiliate query parameter\n  ```\n  - `--amazon` (or `-a` for short): Opens Amazon Web Link with affiliate info\n      - Amazon's Product API requires a developer to sign up as an affiliate so this was unavoidable.\n      - So I added the following option (`-s`) to strip out affiliate info if you choose to do so\n      - This flag calls an Azure Function, which needs to wake up after some inactivity (Takes about 10~30 seconds). It will work faster after the first call.\n      [![Example](https://i.imgur.com/7CnFDfe.gif)](https://youtu.be/htMZAkHSM94)\n  - `--strip-amazon-affiliate` (or `-s` for short): Strip out affiliate info (Please support me by not using this flag 👼)\n  - e.g.) \n      - `open 1`\n      - `open -a 1` (or `open --amazon 1`)\n      - `open -a -s 1` (or `open --amazon --strip-amazon-affiliate 1`)\n      - YouTube walk-through\n\n      [![How to Install \u0026 Use Google-Book-Shell](http://img.youtube.com/vi/_6tfVYkrJQU/0.jpg)](https://www.youtube.com/watch?v=_6tfVYkrJQU\")\n### **view**\n  - USAGE: `view [number]` (number is optional).\n  - ALIAS: `v`\n  - DESCRIPTION: Displays the description of the searched book in *console* by search result order.\n  - When `[number]` argument is missing, it will let user choose a book to view detail for\n  - *NOTE*: Works only after **search** is run.\n  - EXAMPLE **with** `[number]` argument.\n  ![Example with `[number]` argument.](https://i.imgur.com/J5THPsJ.gif)\n\n  - EXAMPLE **withOUT** `[number]` argument.\n  ![Example withOUT `[number]` argument.](https://i.imgur.com/leUgfor.gif)\n### **print**\n  - USAGE: `print`\n  - ALIAS: `p`\n  - DESCRIPTION: Reprints searched book result\n  - *Note*: Displays nothing when no search was performed previously.\n  - EXAMPLE\n  ```bash\n  google book search$ print                    \n  01: Grokking Algorithms                      \n  02: Grokking Deep Learning                   \n  03: Algorithms For Dummies                   \n  04: Algorithms Unlocked                      \n  05: Data Structures and Algorithms in Python \n  06: Essential Algorithms                     \n  07: The Algorithm Design Manual              \n  08: The CS Detective                         \n  09: Algorithmic Puzzles                      \n  10: Python Algorithms                        \n  ```\n\n## Demo using Aliases only\nYou can search, view details, and open browser much faster with aliases.\n[![alias demo](https://i.imgur.com/4elrs5F.gif)](https://youtu.be/R1BYlWvktGs)\n_____\n## How to‍ 🏃‍ from the Source\n1. Clone the source: \n`git clone https://github.com/dance2die/google-book-shell.git`\n2. Install NPM packages/dependencies\n`npm install` or `yarn`\n3. Run it using `npm` or `yarn`\n- `yarn start`\n\n    --or--\n\n- `npm run start`\n_____\n## TODO\n- Separate each command into different files.\n- Use a plugin archiecture to dynamically load commands.\n- ? Compare prices from Google Books/Amazon/Barnes \u0026 Noble?\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdance2die%2Fgoogle-book-shell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdance2die%2Fgoogle-book-shell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdance2die%2Fgoogle-book-shell/lists"}