Interactive terminal client for V2EX. Powered by vue-termui and V2ex API.
npm install -g v2erminal
Recommend node version 16
-
Get a Personal V2ex Token
-
Set token as Environmental Variable
export V2EX_TOKEN="XXXXXXXXX"
-
Open the terminal and then typing
V2EX
v2ex
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"
}
]
}
- http proxy not working on
node >= 18
.