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.8.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

twweet_cli-2.0.8-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: twweet_cli-2.0.8.tar.gz
  • Upload date:
  • Size: 6.6 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.8.tar.gz
Algorithm Hash digest
SHA256 9124b32a6d7144e29d5786a603a54cbf3c28e13fff0ef6d82a25d1325e6f6be1
MD5 fe9f916163f7da4ddab1b3c45a1d41cb
BLAKE2b-256 2f3b2de37ab3283d5a3ce9ab37f5c272b6d9654b42a6421a2593bbcfbffd23be

See more details on using hashes here.

File details

Details for the file twweet_cli-2.0.8-py3-none-any.whl.

File metadata

  • Download URL: twweet_cli-2.0.8-py3-none-any.whl
  • Upload date:
  • Size: 8.6 kB
  • Tags: Python 3
  • 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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 6d914d305d541ba2cd2e39b1b2570321baef7739df6495791434c685b9c4a0f1
MD5 12a502e5285d71deb71572f5798f8755
BLAKE2b-256 5a0bdb6306b5fdf6c3a7e133df5d67d3b5938030cd613acba7a1c83132604e8f

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