{"id":20317446,"url":"https://github.com/thimc/lfimg","last_synced_at":"2025-04-05T14:09:35.942Z","repository":{"id":40368078,"uuid":"240356449","full_name":"thimc/lfimg","owner":"thimc","description":"Image preview support for lf (list files) using Überzug","archived":false,"fork":false,"pushed_at":"2024-09-20T05:23:03.000Z","size":662,"stargazers_count":269,"open_issues_count":12,"forks_count":47,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-29T13:09:28.272Z","etag":null,"topics":["cli","file","lf","manager","preview","terminal","ueberzug"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thimc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-02-13T20:40:27.000Z","updated_at":"2025-03-11T21:34:34.000Z","dependencies_parsed_at":"2024-03-16T15:43:13.361Z","dependency_job_id":"2f6ff2ce-b097-4be8-b30b-018059feb3fa","html_url":"https://github.com/thimc/lfimg","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thimc%2Flfimg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thimc%2Flfimg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thimc%2Flfimg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thimc%2Flfimg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thimc","download_url":"https://codeload.github.com/thimc/lfimg/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247345856,"owners_count":20924102,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","file","lf","manager","preview","terminal","ueberzug"],"created_at":"2024-11-14T18:32:08.445Z","updated_at":"2025-04-05T14:09:35.923Z","avatar_url":"https://github.com/thimc.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Image preview support for lf (list files) using Überzug\n![image](https://raw.githubusercontent.com/cirala/lfimg/master/screenshot.png)\n\nlfimg is a repository that contains scripts that are used for generating image\npreview in lf.\\\nIf you want image preview support for vifm, head on over to\n[vifmimg](https://github.com/cirala/vifmimg).\n\n## Prerequisites\nBesides lf and Überzug you will need to install the following packages:\n* ffmpegthumbnailer\n* ImageMagick\n* poppler\n* epub-thumbnailer\n* wkhtmltopdf\n* file (pre-installed on most linux flavours; needed for nixOs)\n\nThe following packages are optional but if installed will provide more functionality to lfimg.\n* bat (optional - color highlight for text files)\n* chafa (optional - for image preview over SSH or inside Wayland session)\n* unzip (optional - for .zip and .jar files)\n* 7z (optional - for .7z files)\n* unrar (optional - for .rar files)\n* catdoc (optional - for .doc files)\n* docx2txt (optional - for .docx files)\n* odt2txt (optional - for .odt and *.ods files)\n* gnumeric (optional - for .xls and .xlsx files)\n* exiftool (optional - for music files)\n* iso-info (optional - for .iso files)\n* transmission (optional - for .torrent files)\n* [comicthumb](https://codeberg.org/johndovern/comicthumb) (optional - for .cbz and .cbr files)\n\n## Installation\nThe preferred way of installing lfimg is running make:\n```\nmake install\n```\n\nIf you prefer to do it manually you will need to do the following:\n1. Extract the following files: **cleaner**, **preview** to **~/.config/lf/**.\n2. Extract **lfrun** to a directory that is in your $PATH variable (such as\n   /usr/bin or ~/.local/bin).\n3. Edit your **lfrc** file and add the following lines:\n```\nset previewer ~/.config/lf/preview\nset cleaner ~/.config/lf/cleaner\n```\nMake sure to adjust the previewer and cleaner paths to where you put those\nscripts in step 2.\n4. In order to use lfimg you will need to start lf using the **lfrun** script.\n\nI recommend that you make an alias in your shell that points to lfrun.\\\nIf you are using bash, append the following to your **~/.bashrc**:\n```\nalias lf=lfrun\n```\n\n## Credits\n* [lf](https://github.com/gokcehan/lf/)\n* [Seebye's Überzug](https://github.com/seebye/ueberzug)\n* [Brodie's](https://github.com/BrodieRobertson/) initial preview script which\n  I used as a template for handling the miscellaneous filetypes that this\n  script also handles.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthimc%2Flfimg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthimc%2Flfimg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthimc%2Flfimg/lists"}