nvim-telescope / telescope-media-files.nvim

Telescope extension to preview media files using Ueberzug.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Uberzerg prerequisite no longer available -- any alternatives?

jacobsayono opened this issue · comments

title!

this repo is currently not maintained: #28 (comment) i am sorry, someone else has to provide a fix.

I am here to review and merge but i dont have the time to fix it myself.

If no one is interested in providing an alternative i'll archive this repo

I'm working on changing this plugin a bit to make it work with viu, the real negative thing with it is that it will make rather pixelated image previews, but it is something that I (at the very least) can use until something better pops up again ;)

I'll try to open a pull request soon

#35
Here you go!

commented

how about this? https://github.com/ueber-devel/ueberzug

we have a release, now jsut wait until it hits your favourite obscure distro like hannah montana linux.

commented

and ueberzug is still being maintained, we even had a release some days ago to address the issue with pillow 10 ueberzug 18.2.2 and some distros are already shipping it, tho there is still some work to be done in regard to the extension building.

https://repology.org/project/ueberzug/versions

Nice to see that the dev put the repo back up. they had git push forced everything out a few months ago.
If it works and if ueberzug supports kitty then I'm good.

I recently made the switch from Alacritty to kitty and I believe kitty does support picture stuff

commented

Nice to see that the dev put the repo back up. they had git push forced everything out a few months ago.

seebye's repo is still archived and down, the continued maintenance of ueberzug is the work of users that needed it working properly.

I say go for what many regard as ueberzug's spiritual successor -- ueberzugpp -- which I've seen a number of other projects dependent on ueberzug switch to too. It's a drop in replacement (afaik it even has the same binary name) so you should be able to just revert the commit that removes ueberzug support and add ueberzugpp to the dependency list instead. Ueberzugpp is written in C++, supports sixel, iterm2 and the kitty protocol and, hence, unlike the original ueberzug, it is not Linux/X11 exclusive but also runs on Wayland and macOS.

packaging tho

If you're concerned about system packaging, it's available for nix (which can be used on NixOS, other Linux distros and macOS), Arch (AUR), openSUSE and Gentoo. I'm not sure if Ubuntu, Debian or Fedora have them in their repos (as far as I could tell from navigating their crappy websites, they did not) but ueberzugpp's README links to this page for those three. It can also be installed with homebrew, using brew install jstkdng/programs/ueberzugpp (homebrew is available for both Linux and macOS).

Anyway, if ueber-devel/ueberzug and ueberzugpp maintain cross-compatability or at least telescope-media-files restricts itself to options that both projects offer, you could just leave which software to go for up to the user. Afterall, ueberzugpp aims to be compatible with all software that uses the old ueberzug. By the looks of the commit histories, @jstkdng seems to be involved in both projects actually.