Skip to main content

Mastodon client for terminal. Created with an excellent Textual framework.

Project description

Textualodon

Mastodon in your CLI! Created with an excellent Textual framework.

WARNING

This project is in a very early stage of development. It will be heavily refactored in the future.

Features

  • Login using own development tokens
  • Show home, local and global timeline
  • Visual difference between post, boost and replies
  • Favourite a post
  • Boost a post
  • Bookmark a post
  • Write new post
  • Add CW to post
  • Set post language
  • Choose post visibility
  • Add poll to post
  • Open post details to see post comments and ancestors
  • Vote in polls

To do

Too much to write right now. I want to implement as much of the Mastodon API as possible and feasible for a console app.

Installation

From pypi

pip install textualodon
  1. Run the app
textualodon

From source

  1. Clone this repo
git clone https://codeberg.org/djvdq/Textualodon
  1. I recommend using a virtual environment
python -m venv venv
source venv/bin/activate
  1. Install dependencies
pip install -r requirements.txt
  1. Run the application
textual run textualodon.py

API keys and first setup

At first run, you will need to provide your own development tokens. To do this, follow these steps:

  1. Navigate to your Mastodon account and go to "Preferences" → "Development".
  2. On that page click "New application" in the upper right corner.
  3. In "Application name" you can write whatever you like, this field can't be empty.
  4. Scroll the page down and click "Submit". Next, you will use your own tokens to login.

Now, go back to your running Textualodon app.

  1. Enter your instance url (e.g. mastodon.social)
  2. Copy the "Client key" from Mastodon to the "Client ID" field in Textualodon app.
  3. Copy the "Client secret" from Mastodon to the "Client secret" field in Textualodon app.
  4. Click "Login", a new tab will open in your browser.
  5. Copy your authorization token and paste it into the "Grant token" field in Textualodon app.
  6. Click "Login" again.
  7. Reopen the app to see your home timeline.

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

textualodon-0.2.0.tar.gz (18.4 kB view details)

Uploaded Source

Built Distribution

textualodon-0.2.0-py2.py3-none-any.whl (22.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file textualodon-0.2.0.tar.gz.

File metadata

  • Download URL: textualodon-0.2.0.tar.gz
  • Upload date:
  • Size: 18.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for textualodon-0.2.0.tar.gz
Algorithm Hash digest
SHA256 3e846cd8a7e5e5e51276c31af154ddec778feba334bb5e61c7769a933aebe3f2
MD5 7cb8e1ea9bc46381a7efcd9820d5ea12
BLAKE2b-256 d9742bfe75c2acca9d955db1167503560a43dc5651072d05fdd10a1dfe030be6

See more details on using hashes here.

File details

Details for the file textualodon-0.2.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for textualodon-0.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ebf8ee7ccb576857b21b4f1d4a38acdd318d6969d4505694521c28a9ac9b95bb
MD5 f002619890a8ae40dd7ebf473e01021c
BLAKE2b-256 c823fbe39ccb1f2b5cb248a23d819a87760171d412f80349fe1c9ae729fc58b3

See more details on using hashes here.

Supported by

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