Skip to content

Latest commit

 

History

History
73 lines (49 loc) · 1.2 KB

README.md

File metadata and controls

73 lines (49 loc) · 1.2 KB

Interactive terminal client for V2EX. Powered by vue-termui and V2ex API.

Preview

Install

npm install -g v2erminal

Recommend node version 16

Usage

  1. Get a Personal V2ex Token

  2. Set token as Environmental Variable

    export V2EX_TOKEN="XXXXXXXXX"
  3. Open the terminal and then typing V2EX

    v2ex

Config

Create a file named v2ex.json in home path.

{
  "token": "xxxxxxxxxx",
  "proxy": "http://127.0.0.1:7890",
  "nodes": [
    {
      "name": "问与答",
      "code": "qna"
    },
    {
      "name": "酷工作",
      "code": "jobs"
    },
    {
      "name": "分享发现",
      "code": "share"
    }
  ]
}

Known Issus

  • http proxy not working on node >= 18.