-
-
Notifications
You must be signed in to change notification settings - Fork 3
Getting Started and Usage
This guide walks you through logging in, navigating timelines, interacting with posts, composing rich content, managing multiple accounts, and utilizing power features.
When launching Mastui for the first time, you are greeted by the Mastui Login modal:
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Mastui Login β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Welcome to Mastui! β
β Enter your Mastodon instance to get started. β
β β
β Mastodon Instance: [ mastodon.social ] β
β β
β [ Get Auth Link ] [ Cancel ] β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
-
Enter Instance Domain: Type your Mastodon server domain (e.g.,
mastodon.social,fosstodon.org,infosec.exchange) and pressEnteror click Get Auth Link. - Authorize Application: Mastui registers a secure client application with your instance and displays an OAuth authorization URL (and copies it to your clipboard if supported).
- Paste Authorization Code: Open the URL in your web browser, log in to your Mastodon account, click Authorize, copy the provided authorization code, and paste it into the Authorization Code input field in Mastui.
-
Instant Sync: Mastui exchanges the code for an OAuth access token, stores it securely with restricted
0600file permissions in~/.config/mastui/profiles/default/.env, and loads your timelines immediately.
Mastui organizes your feeds into a responsive multi-column layout:
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Mastui v0.4.0 β’ @user@mastodon.social β’ Connected β
βββββββββββββββββββββββββββ¬ββββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββ€
β Home Timeline β Notifications β Federated Timeline β
βββββββββββββββββββββββββββΌββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββ€
β > @alice: Hello world! β [Boost] @bob boosted... β @carol: Check out this link! β
β π 12 π 4 β [Fav] @dave liked... β π 3 π 1 β
β β [Mention] @eve: Hey... β β
β @frank: Good morning β β @grace: Photo from my hike... β
β π 5 π 0 β β πΌοΈ [Image: mountain.jpg] β
βββββββββββββββββββββββββββ΄ββββββββββββββββββββββββββ΄βββββββββββββββββββββββββββββββββββββ
β [c] Compose [r] Refresh [a] Reply [l] Like [b] Boost [x] URLs [u] Switch [?] Help β
-
Left/Right: Switch active timeline column. -
Up/Down: Navigate up and down through posts in the active column. -
g: Jump directly to the top of the timeline. -
r: Manually trigger an immediate refresh of all enabled timelines. -
d: Instant toggle between Dark and Light color themes. -
?: Show quick help overlay with all keyboard bindings. -
q: Exit Mastui.
When highlighting any post on a timeline, use these single-key shortcuts:
| Key | Action | Description |
|---|---|---|
l |
Like / Favourite | Toggle favourite (π) status on the selected post. |
b |
Boost / Reblog | Toggle boost (π) on the selected post. |
a |
Reply | Open composer with a thread reference and inline preview of the original post. |
e |
Edit Post | Edit your own previously published post. |
Delete |
Delete Post | Delete your own post with confirmation. |
p |
View Profile / Thread | Open the author's profile view and complete conversation thread. |
x |
Show URLs | Open the URL Selector modal to copy external links or image URLs. |
Press c anywhere to open the composer modal:
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Compose Post β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Content Warning: [ ] β
β β
β Post Content: β
β [ Writing my first post from terminal using Mastui! ] β
β 52/500 β
β β
β Visibility: [ Public βΌ ] Language: [ English βΌ ]β
β β
β [x] Add Poll β
β Choice 1: [ Option A ] β
β Choice 2: [ Option B ] β
β Expires: [ 1 Day βΌ ] [ ] Allow Multiple β
β β
β [ Post (Ctrl+Enter) ] [ Cancel (Esc) ] β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
-
Mentions & Hashtag Autocomplete: Type
@or#to trigger instantaneous fuzzy autocomplete suggestions sourced from your following list and instance cache. - Content Warning (CW / Spoiler): Add a spoiler warning so users must click to expand your post body.
- Interactive Poll Builder: Create 2β4 poll choices, configure voting expiration (5 min to 7 days), and allow multiple selection.
-
Visibility Levels: Set post visibility to
Public,Unlisted,Followers Only, orDirect Mention. -
Language Selector: Easily tag posts with proper language codes (
en,da,fr,de,ja, etc.). -
Keyboard Submission: Press
Ctrl+Enteror click Post to publish.
When a post contains links, hashtags, or media attachments, press x:
- Lists all extracted links with numbered shortcuts (
1,2,3...). - Pressing the number automatically copies the selected URL to your system clipboard.
Mastui natively supports managing multiple accounts (e.g., personal, work, bots):
- Press
uto open the Switch Profile modal. - Select an existing profile or choose Add New Account.
-
Alternative: Launch from CLI with
mastui --add-account. - Each profile maintains completely isolated:
- Credentials (
.env) - Timelines & SQLite database (
cache.db) - Custom keybindings (
keymap.json) - Image cache directory (
image_cache/)
- Credentials (
Press / to open the global search modal:
- Search for Accounts (
@username@domain), Hashtags (#linux), or Status Content. - Select an account to view their full profile, bio, follower counts, and recent posts.
- Perform Follow / Unfollow, Mute, and Block actions directly from the profile screen.
Press i to view and configure Mastodon server-side filters:
- View all active filter rules synchronized with your instance.
- Filter by keywords or regex across Public timelines, Home timeline, Notifications, and Conversations.
When launching Mastui in debug mode (mastui --debug), press F12 to open an embedded real-time log inspector to view network requests, API responses, and diagnostics.
Mastui Wiki β The fast, keyboard-driven terminal and web client for Mastodon.
GitHub Repository β’ Releases β’ Issues