Skip to main content

Clitt

Ever wanted to tweet straight from your terminal? Wait, is it just me?

How to install it?

Install Clitt using pip or pipx

    pip install --user clitt \\ pipx install clitt

How to use it?

Clitt is meant to be simple (or at least as simple as a command line client for Twitter can be), so you just need to call clitt or tt, choose an action and pass the required parameters to perform the action.

Running clitt or tt for the first time will open a new tab on your browser with an authorization consent from Twitter, hit the authorize button, copy the code that will pop-up and paste it into the terminal. After the first time, your authorization token will be saved on your computer (and only there) for further uses.

What can i do with Clitt?

Read your timeline

$ clitt read

Clitt read

Write a Tweet

$ clitt post "Hey, i'm using Clitt to write this!"

DM someone

$ clitt dm @target "Hey, i'm using Clitt to send you this DM!"

Read your chat with another user

$ clitt chat @target

Future features

  • Search for tweets using keywords
  • Display and attach images to tweets
  • Implement filters and other customization options
  • Support theme colors

Contributing

Have you thought about any cool features you wanted to see in Clitt? Send a PR. Found any bugs in the current implementation? Feel free to open an issue. Here's a guide to some things you might need to work on Clitt.

Twitter dev account

You will need to make an application for a Twitter developer account if you want to publish your own version of Clitt, but for testing and development within this project you can use my key that is already included with this repository. If you have you own key, put it on the config/keys.json file inside the package.

Tweepy

Tweepy is a Python wrapper for the Twitter REST API, it really makes life much more easier, you can check their docs and probably will find what you looking for, but if you don't, search in the Twitter docs.

Clitt project structure

If you want to implement a new feature, write it in the actions.py file and if you need to, add a new argument treatment in __main__.py. Write simple and multiplatform code.

Release files for clitt 1.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for clitt 1.2.1
File Size Uploaded
clitt-1.2.1.tar.gz 6.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for clitt 1.2.1
File Interpreter ABI Platform
clitt-1.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 13.5 kB

Release files / clitt-1.2.1.tar.gz

Download URL clitt-1.2.1.tar.gz
Size 6.1 kB
Tags Source
SHA-256 checksum
How to use checksums
f0a64c63e0e489c8c6e86f301cd64777e181af1d15406baadab0ecc35cd24c34
BLAKE2b-256 checksum
How to use checksums
9d3756d2a1f27b0818b5706b3daa7e8e97b4dc5b64d1dad06dd8489df35b5605
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.0 CPython/3.8.1 Linux/4.19.91-1-MANJARO

Release files / clitt-1.2.1-py3-none-any.whl

Download URL clitt-1.2.1-py3-none-any.whl
Size 7.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f93caea37dc19a71e948e6b11cad61f98da1d64d6eba12b1200b8f469951bc7b
BLAKE2b-256 checksum
How to use checksums
85d5bfeae0e522be2295adf8b339f51ebf938009294746f5140811d2c0e60bf4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.0 CPython/3.8.1 Linux/4.19.91-1-MANJARO

Release history Release notifications | RSS feed

This release

1.2.1 This release

2 release files

1.2.0

2 release files

1.1.4

2 release files

1.1.3

2 release files

1.0.0

1 release file

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page