Coder Social home page Coder Social logo

twty's Introduction

twty

A command-line twitter client

Install

  1. Install golang environment.

    See: http://golang.org/doc/install.html

  2. get twty

     $ go install github.com/mattn/twty@latest
    

Thanks all!

Install for Homebrew users (macOS)

% brew install twty

You would not need to install the golang compiler with this method.

Usage

$ twty -h

At the first, you can see the opening web-browser. And you'll see pin-code is shown on twitter.com. Please copy it and type in console like following.

PIN: XXXXXX

Configuration file is stored in: ~/.config/twty/settings.json For windows user: %APPDATA%/twty/settings.json

FAQ

Do you use proxy? then set environment variable HTTP_PROXY like below.

HTTP_PROXY=http://myproxy.example.com:8080

License

under the MIT License: http://mattn.mit-license.org/2017

Author

Yasuhiro Matsumoto [email protected]

Have Fun!

twty's People

Contributors

adriangrigore avatar bakudankun avatar guersam avatar hymkor avatar iand avatar koirand avatar ligurio avatar mattn avatar mischief avatar twinbird avatar umireon avatar yu81 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

twty's Issues

Enhance color support

Although coloring seems to be a good feature, the hard-coded colors hurt my eyes due to my light terminal background.

Suggestions are:

  • Add an option to turn on/off coloring
  • Detect current terminal color scheme

Support of more than one Twitter account

twty is cool Twitter client, but I have two different Twitter account. twty can use only one in the same time. Please add support of more that one account.

Workaround:
Add to .profile:

function to { cp ~/.config/twty/settings-openvz.json ~/.config/twty/settings.json; twty $@; }
function te { cp ~/.config/twty/settings-estet.json ~/.config/twty/settings.json; twty $@; }

and use 'to' and 'te' commands in terminal with same options as twty has.

How to encode new line?

Hey! I'm trying to automate some blog posts and when I try:

echo "This is a test for a \n new line!" > tweet | twty -ff tweet

The tweet just shows \n, not a new line.

Thanks!

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.