0.0.5 • Published 1 year ago

v2erminal v0.0.5

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

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.