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
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
- Run the app
textualodon
From source
- Clone this repo
git clone https://codeberg.org/djvdq/Textualodon
- I recommend using a virtual environment
python -m venv venv
source venv/bin/activate
- Install dependencies
pip install -r requirements.txt
- 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:
- Navigate to your Mastodon account and go to "Preferences" → "Development".
- On that page click "New application" in the upper right corner.
- In "Application name" you can write whatever you like, this field can't be empty.
- Scroll the page down and click "Submit". Next, you will use your own tokens to login.
Now, go back to your running Textualodon app.
- Enter your instance url (e.g. mastodon.social)
- Copy the "Client key" from Mastodon to the "Client ID" field in Textualodon app.
- Copy the "Client secret" from Mastodon to the "Client secret" field in Textualodon app.
- Click "Login", a new tab will open in your browser.
- Copy your authorization token and paste it into the "Grant token" field in Textualodon app.
- Click "Login" again.
- 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.1.2.tar.gz
(16.3 kB
view details)
Built Distribution
File details
Details for the file textualodon-0.1.2.tar.gz
.
File metadata
- Download URL: textualodon-0.1.2.tar.gz
- Upload date:
- Size: 16.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef6cbd9c7915ed635a389a79a82614bfcdec4db03fd3cf753aef243d0fd76b93 |
|
MD5 | 4e565b2404a4b69e1ba2c2af7bc1ecf5 |
|
BLAKE2b-256 | fa31ca8384e48e5e371d7bc6c60799f8c7b38cbcfe95b43f5f71fa114b620b01 |
File details
Details for the file textualodon-0.1.2-py2.py3-none-any.whl
.
File metadata
- Download URL: textualodon-0.1.2-py2.py3-none-any.whl
- Upload date:
- Size: 20.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f7562c86d28a7b70d6127e489d49febc960b9710728a61d7c810e1374412722 |
|
MD5 | 91ca5b267393e55edeef7a8f1d2cf9cb |
|
BLAKE2b-256 | 5fd09e68a612067592a6065497d02e563640705c3223a6263b4cb1eb46f1a292 |