Skip to main content

Tweet-Only Twitter CLI

Project description

https://img.shields.io/github/license/Udomomo/tweetsender.svg http://img.shields.io/pypi/v/tweetsender.svg

tweet-only Twitter CLI

When to use

  • When you want to tweet while coding
  • But don’t want to be distracted by your friend’s posts

Installation

Before installing, download and install python3. 3.6 or higher is required. Installation is done with pip install command. Installation to venv environment is recommended.

python -m venv myenv
source myenv/bin/activate
pip install tweetsender

Creating a Twitter app

Before posting tweet, you need to create your Twitter app at https://apps.twitter.com. After creating an app, open “permissions” tab and select “Read and Write”. You may need to link your phone number to your Twitter account. Open “Keys and Access Tokens”, and check your Consumer Key, Consumer Secret, Access Token, and Access Token Secret. Do not post them online.

Config

If you use this CLI for the first time, you need to use tweet config and type your API keys. The keys are saved in .tweetsender_config.json on your home directory.

Usage

  • tweet send || tweet s
    • send tweet
  • tweet config
    • config your API keys
  • tweet -s
    • set your Twitter API Token
  • tweet -h
    • show help

Project details


Download files

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

Built Distribution

tweetsender-1.0.1-py3-none-any.whl (6.6 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page