Git Product home page Git Product logo

wayterm's Introduction

wayterm

DESCRIPTION:

Sina Weibo client for terminal

INSTALL & RUN:

pip install wayterm
cd /your/path/to/wayterm
./wayterm

Interactive Shell Mode

$ wayterm [command and parameters]  // In this way, you can run wayterm commands without using wayterm's interface.

ex)
$ wayterm profile 趙薇

FEATURES/PROBLEMS:

Notice: Not working with python 3000, sorry.

SYNOPSIS:

  • basic

wayterm > help
wayterm > exit
  • get updates on my timeline

wayterm > l
wayterm > list
wayterm > l\30       # get latest 30 updates
  • get profile

wayterm > p
wayterm > profile    # get my profile
wayterm > p\_KaiYun  # get _KaiYun's profile
  • post tweet

wayterm > t\write something
wayterm > tweet\中文也OK
wayterm > t\Uplpoad image with a url\http://octodex.github.com/images/foundingfather_v2.png
  • get comments

wayterm > c
wayterm > comment            # get latest 20 comments sent to me
wayterm > c\3566288775194487 # get comments for a certain weibo using it's id. weibo id will be displayed when using list command
  • post comment

wayterm > wc\3566288775194487\foobar
wayterm > wcomment\3566288775194487\foobar   # post foobar to a certain weibo
  • repost

wayterm > r\3566407071718733\foobar    # repost a weibo and add comment 'foobar'
wayterm > r\3566407071718733           # repost a weibo without add comment
  • delete tweet

wayterm > d\3566288775194487
wayterm > delete\3566288775194487     # delete a certain weibo
  • get hot topics (trends)

wayterm > h
wayterm > hot      # show hourly hot topics
wayterm > h\d      #      daily
wayterm > h\w      #      weekly

If run wayterm for the first time, you’ll be ask to do some setups and authorizations.

[1] Open this url in your browser: http://api.weibo.com/xxxx
[2] Enter authorization code:

You know what to do.

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.