Skip to content
TUI for Mastodon
Go
Branch: master
Clone or download

Latest commit

Latest commit 8f5d121 Mar 24, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
images support media upload and fixes Mar 23, 2020
.gitignore fix readme Mar 23, 2020
LICENSE Create LICENSE Mar 17, 2020
README.md Use nvim and default to vi Mar 24, 2020
account.go First Mar 17, 2020
api.go Load new toots, switch timeline, boost, favorite and delete Mar 18, 2020
app.go clean up code Mar 24, 2020
authoverlay.go clean up code Mar 24, 2020
cmdbar.go clean up code Mar 24, 2020
config.go support media upload and fixes Mar 23, 2020
controls.go First Mar 17, 2020
go.mod support media upload and fixes Mar 23, 2020
go.sum support media upload and fixes Mar 23, 2020
linkoverlay.go clean up code Mar 24, 2020
main.go clean up code Mar 24, 2020
media.go clean up code Mar 24, 2020
messagebox.go clean up code Mar 24, 2020
status.go clean up code Mar 24, 2020
tootlist.go clean up code Mar 24, 2020
tootview.go clean up code Mar 24, 2020
top.go clean up code Mar 24, 2020
ui.go fix thread bug Mar 24, 2020
util.go Use nvim and default to vi Mar 24, 2020

README.md

Tut - a Mastodon TUI

A TUI for Mastodon with vim inspired keys. The program misses some features but they will be added when I get time.

Press C to create a new toot.

You can find Linux binaries under releases.

Preview

Currently supported commands

  • :q :quit exit
  • :timeline home, local, federated, direct

Explanation of the non obvious keys when viewing a toot

  • V = view. In this mode you can scroll throught the text of the toot if it doesn't fit the screen
  • O = open. Gives you a list of all URLs in the toot. Opens them in your default browser.
  • M = media. Opens the media with xdg-open.

Install instructions

If you don't use the binary that you find under releases you will need Go. Use a newer one that supports modules.

# First clone this repository
git clone https://github.com/RasmusLindroth/tut.git

# Go to that folder
cd tut

# Build or install

# Install (usally /home/user/go/bin)
go install

#Build (same directory i.e. ./ )
go build

If you choose to install and want to be able to just run tut you will have to add go/bin to your $PATH.

On my TODO-list:

  • Support for config files (theme, default image/video viewer)
  • Multiple accounts
  • View users profiles
  • Support search
  • Support tags
  • Support lists
  • Notifications
  • Better error handling (in other words, don't crash the whole program)

Thanks to

You can’t perform that action at this time.