{"id":19750893,"url":"https://github.com/sheepla/qiitaz","last_synced_at":"2025-04-30T10:31:07.149Z","repository":{"id":42912925,"uuid":"456919163","full_name":"sheepla/qiitaz","owner":"sheepla","description":"📝 A terminal based Qiita searcher \u0026 viewer","archived":false,"fork":false,"pushed_at":"2022-08-29T10:53:57.000Z","size":95,"stargazers_count":13,"open_issues_count":3,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-06-19T05:57:06.393Z","etag":null,"topics":["cli","console-application","go","go-cli","go-tui","qiita","terminal"],"latest_commit_sha":null,"homepage":"","language":"Go","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/sheepla.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":"2022-02-08T12:16:42.000Z","updated_at":"2023-04-01T11:25:36.000Z","dependencies_parsed_at":"2022-08-21T07:10:43.685Z","dependency_job_id":null,"html_url":"https://github.com/sheepla/qiitaz","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sheepla%2Fqiitaz","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sheepla%2Fqiitaz/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sheepla%2Fqiitaz/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sheepla%2Fqiitaz/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sheepla","download_url":"https://codeload.github.com/sheepla/qiitaz/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224208313,"owners_count":17273674,"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","console-application","go","go-cli","go-tui","qiita","terminal"],"created_at":"2024-11-12T02:40:20.632Z","updated_at":"2024-11-12T02:40:21.297Z","avatar_url":"https://github.com/sheepla.png","language":"Go","readme":"\n\u003cdiv align=\"center\"\u003e\n\n# 📝 qiitaz\n\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n[Qiita](https://qiita.com)の記事を素早く検索し、ターミナル上で閲覧できるコマンドラインツール\n\n![Relase](https://github.com/sheepla/qiitaz/actions/workflows/release.yml/badge.svg)\n![Relase](https://github.com/sheepla/qiitaz/actions/workflows/test.yml/badge.svg)\n![Relase](https://github.com/sheepla/qiitaz/actions/workflows/golangci-lint.yml/badge.svg)\n[![Latest Release](https://img.shields.io/github/v/release/sheepla/qiitaz?style=flat-square)](https://github.com/sheepla/qiitaz/releases/latest)\n\n\u003c/div\u003e\n\n## 使い方\n\n```\nUsage:\n  qiitaz [OPTIONS] QUERY...\n\nApplication Options:\n  -V, --version  Show version\n  -s, --sort=    Sort key to search e.g. \"created\", \"like\", \"stock\", \"rel\",\n                 (default: \"rel\")\n  -o, --open     Open URL in your web browser\n  -p, --preview  Preview page on your terminal\n  -n, --pageno=  Max page number of search page (default: 1)\n  -j, --json     Output result in JSON format\n\nHelp Options:\n  -h, --help     Show this help message\n```\n\n1. 引数に検索したいキーワードを指定してコマンドを実行します。\n1. 検索結果をfuzzyfinderで絞り込みます。`Ctrl-N`, `Ctrl-P` または `Ctrl-J`, `Ctrl-K` でフォーカスを移動します。 `Tab`キーで選択し `Enter` キーで確定します。\n1. 選択した記事のURLが出力されます。また、`--open`, `--json`, `--preview` などのオプションを指定することで、選択した記事をブラウザで開いたりターミナル上で閲覧したりすることができます。\n\n### ブラウザで記事のページを開く\n\n`-o`, `--open`オプションを付けるとデフォルトのブラウザが起動し、選択した記事のページが開きます。\n\n### 記事を閲覧する\n\n`-p`, `--preview` オプションを付けると、ターミナルに記事を色付きでレンダリングします。\n\n```bash\nqiitaz -p QUERY...\n```\n\nlessページャのような感覚でスクロールして、記事を閲覧することができます。\n\n|キー       |説明                                   |\n|-----------|---------------------------------------|\n|`j` / `k`  |上下スクロール                         |\n|`d` / `u`  |半ページスクロール                     |\n|`f` / `b`  |1ページスクロール                      |\n|`g` / `G`  |ページの先頭へ移動 / ページの末尾へ移動|\n|`q` / `Esc`|終了                                   |\n\n### 高度な検索\n\nクエリ引数に次のオプションや演算子を指定することで、条件を詳細に指定して検索することができます。\n\n```\nqiitaz title:Go created:\\\u003e2022-03-01\n```\n\n|オプション               |説明                              |\n|-------------------------|----------------------------------|\n|`title:{{タイトル}}`     |タイトルにそのキーワードが含まれる|\n|`body:{{キーワード}}`          |本文にそのキーワードが含まれる    |\n|`code:{{コードの一部}}`  |コードにそのキーワードが含まれる  |\n|`tag:{{タグ}}`           |記事に付けられているタグ          |\n|`-tag:{{タグ}}`          |除外するタグ                      |\n|`user:{{ユーザー名}}`    |ユーザー名                        |\n|`stocks:\u003e{{数値}}`       |ストック数                        |\n|`created:\u003e{{YYYY-MM-DD}}`|作成日がその日以降                |\n|`updated:\u003e{{YYYY-MM-DD}}`|更新日がその日以降                |\n\n**注**: bash, fish, zsh等のシェルでは `\u003e` がファイル上書きのリダイレクトの記号と認識されてしまいます。そのため`\\\u003e` のようにエスケープするか、シングルクォートないしはダブルクォートで引数を囲む必要があります。\n\nどちらかの条件にマッチするものを検索したい場合は `OR` 演算子を使います。\n\n|演算子                |説明  |\n|----------------------|------|\n|`{{条件}} OR {{条件}}`|OR条件|\n\n### ソート条件の変更\n\n`-s`, `--sort` オプションを指定することで、ソート条件を変更することができます。\n\n**例**: \n\n```\nqiitaz -s like Go\n```\n\n|値       |説明              |\n|---------|------------------|\n|`rel`    |関連度順          |\n|`like`   |LGTM数の多い順    |\n|`stock`  |ストック数の多い順|\n|`created`|作成日順          |\n\n### JSON形式で出力\n\n`-j`, `--json` オプションを指定すると、検索結果をJSON形式で出力することができます。\n\n```\nqiitaz -j QUERY...\n```\n\n## インストール\n\nリリースページから実行可能なバイナリをダウンロードしてください。\n\n\u003e [![Latest Release](https://img.shields.io/github/v/release/sheepla/qiitaz?style=flat-square)](https://github.com/sheepla/qiitaz/releases/latest)\n\nソースからビルドする場合は、このリポジトリをクローンして `go install` を実行してください。\n`v1.18.1 linux/amd64`にて開発しています。\n\n## ライセンス\n\n[MIT](LICENSE)\n\n## 関連\n\n- [sheepla/fzwiki](https://github.com/sheepla/fzwiki)\n- [sheepla/fzenn](https://github.com/sheepla/fzenn)\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsheepla%2Fqiitaz","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsheepla%2Fqiitaz","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsheepla%2Fqiitaz/lists"}