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.1.tar.gz
(14.7 kB
view details)
Built Distribution
File details
Details for the file textualodon-0.1.1.tar.gz
.
File metadata
- Download URL: textualodon-0.1.1.tar.gz
- Upload date:
- Size: 14.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2167df0488e9b18cc191c3e972f239b5f8fdee92342e03d0d42f43ee521c01f2 |
|
MD5 | 3113acdbf029c97918223a2cfa5c0198 |
|
BLAKE2b-256 | 1d5e5048667908f82741bd3f107592a1dba34476f828218b3d765202f131f771 |
File details
Details for the file textualodon-0.1.1-py2.py3-none-any.whl
.
File metadata
- Download URL: textualodon-0.1.1-py2.py3-none-any.whl
- Upload date:
- Size: 17.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e72d5ce857c6999375d3762285e29615b892c04cb0130f57c2c59ca65e616576 |
|
MD5 | 82655b7332c5deb343fa330caeae5b37 |
|
BLAKE2b-256 | 685593eb2bd67fe4272126cfba90936645012923ab99772f914ff41109d52037 |