A coloring script for nicer presentation + issue with the reblogged status id
Hey there ! Thanks a lot for msync, after much searching left and right I might finally have found the foundation of my fediverse usage :)
-
I am creating it at https://git.sr.ht/~rakoo/msync_fzf, it's small and intends to remain so. I created a coloring awk script at https://git.sr.ht/~rakoo/msync_fzf/tree/master/item/color.awk , inspired by the one from mblaze at https://github.com/leahneukirchen/mblaze/blob/master/mcolor. This script makes displaying much nicer in my opinion, but of course it's open for customization :)
-
I stumbled upon an issue: some of statuses are actually reblogged statuses which their own id (see https://docs.joinmastodon.org/methods/statuses/), and msync uses that reblogged id. When I want to boost the original status, msync picks the reblogged id but that fails because AFAIU you can't reblog a reblog, you have to get the initial status.
Hey, thank you for this! It always warms my heart to see folks using msync to build stuff.
Good point about the reblogged ID stuff- msync already makes sure to get the original post URL and such from boosts. Should be an easy fix- I started a branch for this, I'll finish it up once I have the time and energy to test it. Thank you!
Hey, I merged a fix for this into main, I'll do a release after I get some other changes in.