Automic VaultAutomic Vault

brew

使用 Homebrew 安装 mdv

查看 mdv 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install mdv

local Homebrew formula metadata

概览

软件包摘要

Styled terminal markdown viewer

命令和别名

  • mdv

历史

项目历史与用法

mdv, from the terminal_markdown_viewer repository, is a Python styled Markdown viewer for terminals. It targets remote editing, browserless environments, CLI help output, and colored reading of Markdown in 256-color terminals.

项目历史

The public GitHub repository was created on 2015-07-12. The README explains the motivation as avoiding browser context switches while editing Markdown remotely, especially in larger mkdocs projects or constrained hop-machine environments.

The project began as a proof-of-concept hack, and the README is candid that complex Markdown and inline HTML are outside its strongest use cases. Over time it added themes, tables, admonitions, file and directory monitoring, source-code highlighting, library usage, and Python 3 support.

采用历史

The README documents `pip install mdv`, a MacPorts entry, and FreeBSD package availability. The input package-manager facts show Homebrew packaging for the same executable name.

GitHub metadata showed sustained attention for a terminal Markdown renderer, with more than a thousand stars and over a hundred forks by 2026.

使用方式

CLI users run `mdv [OPTIONS] MDFILE` to render Markdown with themes, link styles, source-code highlighting, width control, file monitoring, directory monitoring, and optional HTML output.

The README also documents inline library use from Python, environment variables `MDV_THEME` and `MDV_CODE_THEME`, YAML CLI-argument defaults in `$HOME/.mdv`, and executable Python customization in `$HOME/.mdv.py`.

为什么软件包爱好者会关心

mdv matters in package-manager culture as one of the older terminal Markdown viewers that made README rendering, colored CLI docs, and remote-server Markdown inspection feasible without Node, Pandoc, or a browser.

Its README's own alternatives section places it among JavaScript terminal renderers, Pandoc-to-browser or man-page pipelines, and vimcat, while arguing for a Python package that handles tables, admonitions, and themes in a terminal.

时间线

  • 2015: Public GitHub repository created.
  • 2016: README update noted pip installation, setup.py-based dependencies, light-theme work, stdin support, wrapping fixes, and test additions.
  • 2018: README update noted merged PRs, Python 3 support, header numbering, and simpler config handling.
  • 2023: README update noted release 1.7.5 and a mailto link fix.

Related projects

  • The README discusses msee, ansidown, ansimd, nd, Pandoc with terminal browsers or groff/man output, and vimcat as alternatives.
  • The README credits Pygments, tabulate, and Python Markdown as supporting projects.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 2 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.mdv~/.mdv.py

可执行文件

已安装的可执行文件

命令类型暴露范围备注
mdvcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本1.7.5
管理器更新时间
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/axiros/terminal_markdown_viewer

安装元数据

软件包元数据

软件包键brew:mdv
版本1.7.5
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/mdv
主页https://github.com/axiros/terminal_markdown_viewer
仓库https://github.com/axiros/terminal_markdown_viewer
上游文档https://github.com/axiros/terminal_markdown_viewer#readme
许可证BSD-3-Clause
源码归档https://files.pythonhosted.org/packages/d0/32/f5e1b8c70dc40b02604fbd0be3ff0bd5e01ee99c9fddf8f423b10d07cd31/mdv-1.7.5.tar.gz
依赖libyaml, python@3.14
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namemdv
Version Scheme0
Revision1
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment