TUI Mastodon Client
This project uses just as a command runner and requires Go for building. Below are the available commands:
justorjust install- Build and install the binary toPREFIX/bin/(default:/usr/local/bin)just build- Build the binary in the current directoryjust uninstall- Remove the installed binaryjust clean- Remove the built binary from the current directory
tuitOn first run, the app will guide you through Mastodon authentication:
$ tuit
Enter the URL of your Mastodon server: mastodon.social
Open your browser and visit the authorization URL...
Paste the code here: [paste-code-from-browser]Credentials are automatically saved to:
| OS | Location |
|---|---|
| Linux | ~/.config/tuit/config.json |
| macOS | ~/Library/Application Support/tuit/config.json |
| Windows | %APPDATA%\tuit\config.json |
- First run โ OAuth2 flow with Mastodon
- Credentials saved to OS config directory
- Subsequent runs โ Auto load from config file
The app handles all authentication automatically and stores your access token for future use.
- Credentials are stored in plain text in the user's config directory
- The config directory has permissions set to
0755(readable by user only on Unix systems) - Access tokens have "read write" scope for full Mastodon functionality
- Users should protect their config directory from unauthorized access
If authentication fails:
- Delete the config file and restart the app to re-authenticate
- Check that the Mastodon server URL is correct and accessible
- Verify the authorization code was copied correctly during setup
| Key | Action |
|---|---|
q |
Show quit confirmation / Close current thread |
| Key | Action |
|---|---|
Tab |
Switch between left and right views |
h |
Focus timeline view |
l |
Focus status view |
r |
Reload home timeline |
u |
Go to user timeline |
t |
Go to thread |
q |
Quit / Remove thread view |
| Key | Action |
|---|---|
j |
Move to next status |
k |
Move to previous status |
g |
Jump to first status |
G |
Jump to last status |
O |
Open status with original URL in browser |
o |
Open status in current server instance URL in browser |
v |
Open card URL in browser |


