GNU General Public License v3.0

项目介绍

thimc/vifmimg 是一个托管在 GitHub 上的开源项目,主要使用 Shell 编写,采用 GNU General Public License v3.0 许可证,目前获得 257 个 Star、26 次 Fork。

仓库全名
thimc/vifmimg
开源许可证
GNU General Public License v3.0
Star 数
257
Fork 数
26
未关闭 Issue
7

README 摘要

Image previews using Überzug for vifm (vi file manager) This script is used along vifm to generate image previews for various file types in vifm. If you want image preview support for lf check out cirala/lfimg. The script is currently able to handle the following formats: Video Pdf Djvu eBook Images Audio files Fonts All previews are cached (except for regular images) and stored in your /.cache/vifm/ folder…

完整内容见 GitHub 原始 README 或本页 。

常见问题

vifmimg 用什么语言开发?

主要使用 Shell 编写,采用 GNU General Public License v3.0 许可证,目前有 257 个 Star。

vifmimg 可以免费商用吗?

仓库标注的许可证为 GNU General Public License v3.0,商用前请先阅读仓库 LICENSE 文件确认授权范围。

如何获取 vifmimg 的源码?

可以直接克隆仓库:git clone https://github.com/thimc/vifmimg.git,默认分支为 master;安装与运行步骤见仓库 README。

vifmimg 最近还在维护吗?

仓库最近一次更新为 2024年1月16日,当前有 7 个未关闭 Issue;Star 数为 257,可作为社区活跃度的参考。

关于

Image previews for Vifm (vi file manager) using Überzug

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

简要分析

热度分
316
价值分
162
活跃状态
活跃

语言占比

Makefile
Shell

README

Image previews using Überzug for vifm (vi file manager)

image

This script is used along vifm to generate image previews for various file types in vifm.

If you want image preview support for lf check out cirala/lfimg.

The script is currently able to handle the following formats:

  • Video
  • Pdf
  • Djvu
  • eBook
  • Images
  • Audio files
  • Fonts

All previews are cached (except for regular images) and stored in your ~/.cache/vifm/ folder.

Installation

  1. Copy the vifmimg and vifmrun scripts to a folder that is included in your $PATH variable for easy access to the files.

  2. Edit your ~/.config/vifm/vifmrc file and add fileviewer properties like so:

    fileviewer *.pdf
        \ vifmimg pdf %px %py %pw %ph %c
        \ %pc
        \ vifmimg clear

    fileviewer *.djvu
        \ vifmimg djvu %px %py %pw %ph %c
        \ %pc
        \ vifmimg clear

    fileviewer *.epub
        \ vifmimg epub %px %py %pw %ph %c
        \ %pc
        \ vifmimg clear

    fileviewer <video/*>
        \ vifmimg video %px %py %pw %ph %c
        \ %pc
        \ vifmimg clear

    fileviewer <image/*>
        \ vifmimg draw %px %py %pw %ph %c
        \ %pc
        \ vifmimg clear

    fileviewer <audio/*>
        \ vifmimg audio %px %py %pw %ph %c
        \ %pc
        \ vifmimg clear

    fileviewer <font/*>
        \ vifmimg font %px %py %pw %ph %c
        \ %pc
        \ vifmimg clear

  1. In order to launch vifm with image preview support from now on, you will need to use the supplied vifmrun script.

I recommend that you make an alias in your shell that points to vifm.

Prerequisites

Credits

  • Seebye for creating Überzug and the initial script that this script is heavily based upon.
  • Ranger’s approach to file previewing as an inspiration source.

评论

暂无评论