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
Release history Release notifications | RSS feed
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.3.tar.gz
(16.7 kB
view hashes)
Built Distribution
Close
Hashes for textualodon-0.1.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79eedbcb7d1a0f65e8c9e4e7ee9cdac08a122527c8c1d037941b71b18658420f |
|
MD5 | 4fd6603e0f2dfbb2fa6df2d4ad54555b |
|
BLAKE2b-256 | a03a26f207207222e43071da1f43329bafcc4dfd6ea376fc51b3dfc7cd3adf3c |