Skip to main content

Tweet right from your cli without even opening your browser.

Project description

# twweet-cli Tweet right from your cli without even opening your browser.

[![Join the chat at https://gitter.im/twweet-cli/Lobby](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/twweet-cli/Lobby) [![Build Status](https://travis-ci.org/CruiseDevice/twweet-cli.svg?branch=master)](https://travis-ci.org/CruiseDevice/twweet-cli)

## Install

### Build from Source

Install the dependencies

$ pip install tweepy

Clone the source

$ git clone https://github.com/CruiseDevice/twweet-cli.git

Navigate to the tweet-cli folder

$ cd twweet-cli

Now run setup.py file.

For Linux users: $ sudo python3 setup.py install

For Windows users: $ python setup.py install

Create a Twitter “App”

Log in to https://apps.twitter.com/ to create a new app and generate your OAuth credentials:

  • Consumer Key (API Key)

  • Consumer Secret (API Secret)

  • Access Token

  • Access Token Secret

Set Twitter OAuth credentials in ENV file

cp .env.example .env * replace placeholder with your relevant keys

Run the application

$ twweet-cli

_Note: Requires Python 3.x_

## Usage

  • type ` twweet` to post a tweet.

  • type ` get` to get different types of information from twitter. A menu will be provided to choose for your choice of information.

  • type ` edit` to change your Ouath credentials.

  • type ` 99` to quit the application.

## Contributing

I appreciate any help and support. Feel free to [fork](https://github.com/CruiseDevice/twweet-cli#fork-destination-box) and [create a pull request](https://github.com/CruiseDevice/twweet-cli/compare)

### Features present

  • tweet from your CLI without opening the browser.

  • Changing Consumer Key Consumer Secret Access Token Access Token Secret keys for twweet-cli.

  • getting the tweets of any user by providing the username.

  • getting the tweets of a particular hashtag by providing the same.

  • getting the trending topics on twitter.

  • getting the tweets in your timeline.

  • getting your follower list and their respective user name on twitter(number of followers to be displayed can be assigned).

  • getting your own tweets(number of tweets to be displayed can be assigned).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

twweet_cli-2.0.6.tar.gz (7.1 kB view details)

Uploaded Source

File details

Details for the file twweet_cli-2.0.6.tar.gz.

File metadata

  • Download URL: twweet_cli-2.0.6.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.2

File hashes

Hashes for twweet_cli-2.0.6.tar.gz
Algorithm Hash digest
SHA256 b284cc842a2e27681ee3787da7907779c892976afce582080ceb8bf70e2b1c90
MD5 a2b8e55a79b3ce6ae669e32dfe665ee6
BLAKE2b-256 28c452b56a870f529f71bfdc76084b0a8bd7c081016ae95d037a769b4816dfd3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page