项目作者: momotaro98

项目描述 :
unofficial command line tool to see Qiita articles data using its API
高级语言: Go
项目地址: git://github.com/momotaro98/qiic.git
创建时间: 2017-01-17T20:34:16Z
项目社区:https://github.com/momotaro98/qiic

开源协议:

下载


qiic

qiic is an unofficial CLI tool to see Qiita articles using its API.

qiic_demo

Features

  • check your articles LGTM ranking
  • get your Stocked Qiita articles
  • show the articles with readable table
  • open the articles in your browser with an allocated number

Installation

Option 1: Only for MacOS user, Homebrew

  1. brew tap momotaro98/qiic
  2. brew install momotaro98/qiic/qiic

Option 2: Go Get

If you have go command, executing go install is also easy.

  1. go install github.com/momotaro98/qiic/cmd/qiic@latest

Setup

  1. Set Environment Variable QIITA_USERNAME, your Qiita user name.
  2. Execute first update command.

Usage

Commands:

  1. r | rank update LGTM ranking articles
  2. s | stock update stocked articles to local
  3. l | ls | list list all local articles
  4. a | access | open access the article page with your browser

Basic Usage

get your 20 updated Qiita stocked article

  1. qiic s # get your updated Qiita stocked articles and show them

You’ll see the 15 articles’ list from latest ones
Exmaple:

  1. ┌────┬───────────────────────────────────────────────────┬─────────────────────┬─────┐
  2. |A No| TITLE | TAG |STOCK|
  3. |────|───────────────────────────────────────────────────|─────────────────────|─────|
  4. |1 |Go のクロスコンパイル環境構築 |Go | 354|
  5. |────|───────────────────────────────────────────────────|─────────────────────|─────|
  6. |2 |GitHubのリリース機能を使う |GitHub | 272|
  7. |────|───────────────────────────────────────────────────|─────────────────────|─────|
  8. |3 |Golang Goの並列処理を学ぶ(goroutine, channel) |Go,golang | 28|
  9. |────|───────────────────────────────────────────────────|─────────────────────|─────|
  10. .
  11. .
  12. .
  13. |────|───────────────────────────────────────────────────|─────────────────────|─────|
  14. |15 |Go言語: var, init, mainが実行される順番 |Go | 10|
  15. |────|───────────────────────────────────────────────────|─────────────────────|─────|

You can open the article in your browser with Access Number(A No)
with qiic a [A No]

  1. qiic a 2 # Open the specified article (A No is 2) in your browser

Page specifed update

  1. qiic rank -p 2

Development and Contribution

Please check Makefile and you can create any issues and pull requests