Tweet From Console logo

Tweet from Console is a Python-based command-line tool that lets you tweet directly from your terminal. Say goodbye to distracting web interfaces.

Authenticate with your Twitter API keys (held in environment variables), then post without ever opening a browser. It is a small, focused tool — and it has been picked up by a handful of other developers (4 ★).

What it does

  • Text tweets — post a plain tweet in one command.
  • With image — attach an image file to the post.
  • Text + image — combine both in a single call.
  • Threads — chain multiple tweets together.
  • GIF support — attach animated GIFs.
  • Multi-line tweets — preserve newlines in your message.
  • Two modes — --conf to store credentials via a config file, or the normal flow that reads from the environment.

Posting a normal tweet from the terminal Figure 1 — The standard flow: authenticate via env vars and post a tweet.

Attaching an image to a tweet Figure 2 — The image-attachment workflow, GIF support, and multi-line messages all run from the same CLI.

Why it exists

The web client is noisy. For developers who live in the terminal, a single command that posts a status — or a scripted bot that runs from cron — is far more pleasant than a full UI.

Repository

★ tweet-from-console
A community-used developer tool for posting tweets from the terminal via the Twitter API.
4 stars Python Apache-2.0
View on GitHub →