GithubHelp home page GithubHelp logo

v2ex-terminal's Introduction

V2EX - terminal

Overview

这是一个基于终端的 V2EX 客户端,使用 curses 库写的,可惜没有更多的 API,要不就可以完成一个比较完整的小工具了。 提供了几种不同的 logo 可以选择,可以在 settings.vx 文件中设置。

Requirements

这是一个 python 程序,需要终端支持最少 8 种颜色,现在用的最多的 xterm, xterm-256color 等都没有问题,你可以运行 echo $TERM 命令来查看你使用的终端,在 Mac OS X 以及 GNU/Linux 系统上,你只需要运行如下命令来完成 yaml 库的安装:

sudo pip install pyyaml

Shortcuts

反引号开始,单引号结束的是 shortcut,左右方向键翻页,之所以用了方向键,是因为写这个程序的时候键盘上根本没有 Page Up 和 Page Down 这些键。

  • `h' Home
  • `r' Reload
  • `q' Quit

Report Bugs

你可以在 Github Issues 报告 bug,最好附上程序日志的 Pastebin 或者 notepad.cc 等的链接。

v2ex-terminal's People

Contributors

ratazzi avatar

Stargazers

 avatar maemo avatar Guilin Cui avatar 朱杰 avatar gowithwind avatar Lucas Liu avatar TinK avatar byeval avatar  avatar Guo Jia avatar  avatar Wei Xie avatar Ding Yi avatar

Watchers

 avatar James Cloos avatar

Forkers

wfcadd

v2ex-terminal's Issues

api需要进行一些变化

  1. setting里面的api_url需要修改为 api_url: 'https://www.v2ex.com/'
  2. 336行代码需要修改为t = datetime.fromtimestamp(reply['created']) 因为api返回的值已经变成了int格式了。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.