Releases: RasmusLindroth/tut
Release 0.0.41
New feature
The only new feature is that tut is now able to show a help view. You can access it with ?
, :h
or :help
.
There's also a message in the cmdbar that shows how to access help. If you don't want that, you can disable it by setting show-help=false
under [general]
in your config.
Bug fixes
- You'll now return to View-mode if that was your previous state when for example you're done viewing URLs.
Binary notes
The only build I'm able to test is tut-amd64, but I've compiled for some more architectures. They're targeting Linux. If you want some other architecture or OS you can open an issue.
GLIBC error
If you get an GLIBC_x.xx error, try the static builds instead
Release 0.0.40
New feature
- Support for the notification type
status
Bug fixes
- Don't crash if the instance doesn't support bookmarks
- Don't crash if the status is nil in notification
Binary notes
The only build I'm able to test is tut-amd64, but I've compiled for some more architectures. They're targeting Linux. If you want some other architecture or OS you can open an issue.
GLIBC error
If you get an GLIBC_x.xx error, try the static builds instead
Twenty-seven (0.0.38)
Changes
Voting
You can now vote on polls in toots. You still can't create your own, but it's on the roadmap. toot.tmpl
has been changed, so if you're rolling your own you might want to update it.
Template for user profiles
Template support now support user profiles, so you can control how they're rendered. Checkout the README#templates for more info.
Binary notes
The only build I'm able to test is tut-amd64, but I've compiled for some more architectures. They're targeting Linux. If you want some other architecture or OS you can open an issue.
GLIBC error
If you get an GLIBC_x.xx error, try the static builds instead
Twenty-six (0.0.37)
Changes
Yank/copy the URL to toots and users
You can now copy the URL of toots and users. Use y
to do so.
Run programs in the same terminal as tut for pattern
and custom
Now pattern
and custom
has support for opening terminal programs in the same terminal as tut.
You can enable it under [open-pattern]
and set foo-terminal=true
. It's the same for custom
with the only difference that it's under [open-custom]
and you set it with cX-terminal=true
.
See config.example.ini for more information.
Bug fix
Your $EDITOR now support flags and/or arguments. Previously it only accepted the name of the editor.
Binary notes
The only build I'm able to test is tut-amd64, but I've compiled for some more architectures. They're targeting Linux. If you want some other architecture or OS you can open an issue.
GLIBC error
If you get an GLIBC_x.xx error, try the static builds instead
Twenty-five (0.0.36)
Changes
Run programs in the same terminal as tut
If your browser or viewer for images, audio or video runs in the terminal you now have the option to open media and links in the same terminal as tut.
You can enable it under [media]
and set link-terminal=true
. It's the same for image, audio and video, you'll just have to substitute link-terminal
with e.g. image-terminal
.
It can be a problem with displaying images as most programs just prints the image and then exists. This results in that you can't see the image. In chafa
you can use the duration flag to circumvent this (chafa -d 5
), it's not perfect but I don't have a better fix for it.
Bug fix
Your $EDITOR now support flags and/or arguments. Previously it only accepted the name of the editor.
Binary notes
The only build I'm able to test is tut-amd64, but I've compiled for some more architectures. They're targeting Linux. If you want some other architecture or OS you can open an issue.
GLIBC error
If you get an GLIBC_x.xx error, try the static builds instead
Twenty-four
New feature
Max width of toots
You can now specify the max-width of toots so the viewing experience is more pleasant.
E.g. max-width=80
under [general]
in your config.ini
. See example.config.ini
for reference.
Template support
This new feature allows you to create your own template for how toots will be displayed with a Go text/template. So you'll be in full control.
You'll have to place a file named toot.tmpl
in XDG_CONFIG_HOME/tut/
which
usually equals to ~/.config/tut/
.
You can copy toot.tmpl from this repo manually or with curl
or wget
.
cd ~/.config/tut
# using curl
curl -o toot.tmpl https://raw.githubusercontent.com/RasmusLindroth/tut/master/toot.tmpl
# using wget
wget https://raw.githubusercontent.com/RasmusLindroth/tut/master/toot.tmpl
The data available for you is two structs. The first one is the Toot
-struct, you can see all fields in ./feed.go
. The second one is the StyleConfig
-struct. You can find the fields in ./config.go
.
You acces them with .Toot
and .Style
in your template file.
For the time being you can only change how toots are displayed, but I plan to support templates in more places like profiles.
Minimum requirement of Go is 1.16
Because I've added templates and useembed
you'll need Go 1.16 to build this project from now on.
Binary notes
The only build I'm able to test is tut-amd64, but I've compiled for some more architectures. They're targeting Linux. If you want some other architecture or OS you can open an issue.
GLIBC error
If you get an GLIBC_x.xx error, try the static builds instead
Twenty-three
Bug fixes/improvements
- Smarter autocomplete for media attachments (see #83)
- Allow shortcuts in
View
-mode, e.g. favorite and toggle spoiler - Support for URLs from non-Mastodon instances e.g. Honk (thanks to @davidoskky)
- Remove artifacts of emojis from previous toots (see #38 for an example)
Binary notes
The only build I'm able to test is tut-amd64, but I've compiled for some more architectures. They're targeting Linux. If you want some other architecture or OS you can open an issue.
GLIBC error
If you get an GLIBC_x.xx error, try the static builds instead
Twenty-two
New feature
- Viewing lists. Use
:lists
to select one
Icons
- Shows ⤶ in the list if there is a reply to the toot
- There's also icons in the notification list so you can see what the notification is about more quickly
To disable icons you can set show-icons=false
under [general]
Binary notes
The only build I'm able to test is tut-amd64, but I've compiled for some more architectures. They're targeting Linux. If you want some other architecture or OS you can open an issue.
GLIBC error
If you get an GLIBC_x.xx error, try the static builds instead
Twenty-one
New feature
You can now change the layout of tut.
The list of toots and notification can now be placed left
, right
, top
or bottom
. Set list-placement
in your config.
You can also specify if the notification list should be placed under the main list (row
) or if it should be placed to the right (column
). Set list-split
in your config.
You can also hide the text [N]otifications
on column split by setting hide-notification-text=true
.
The proportions of the list of toots and content can now also be changed to suit your needs. This can be useful if you want the list to take up more space on a large screen when the list is placed at the top or bottom. See list-proportion
and content-proportion
in config.example.ini
Bug fix and improvements
- Don't insert an
a
when adding media content to your toots - Parse urls without regex (thanks to @davidoskky)
Binary notes
The only build I'm able to test is tut-amd64, but I've compiled for some more architectures. They're targeting Linux. If you want some other architecture or OS you can open an issue.
GLIBC error
If you get an GLIBC_x.xx error, try the static builds instead
Twenty
New feature
- You can now reverse files when you open them. Some image viewers will then show them in the right order. See the config.example.ini and look at
image-reverse
,video-reverse
etc. - List all toots you have favorited with
:favorited
or:timeline favorited
. Don't mix it up with:favorites
which shows who have favorited a specific toot.
Bug fix and minor improvements
- Bookmarks is now able to load more than 20 bookmarks
- Bind output to stderr so more terminals are supported (@YerinAlexey)
- Minor UI changes that were inconsistent and don't display
(public)
on public toots as it gets cluttered (@YerinAlexey)
Binary notes
The only build I'm able to test is tut-amd64, but I've compiled for some more architectures. They're targeting Linux. If you want some other architecture or OS you can open an issue.
GLIBC error
If you get an GLIBC_x.xx error, try the static builds instead