惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Engineering at Meta
Engineering at Meta
Microsoft Azure Blog
Microsoft Azure Blog
I
InfoQ
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
人人都是产品经理
人人都是产品经理
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
T
Tailwind CSS Blog
MongoDB | Blog
MongoDB | Blog
Google DeepMind News
Google DeepMind News
WordPress大学
WordPress大学
量子位
美团技术团队
大猫的无限游戏
大猫的无限游戏
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Last Week in AI
Last Week in AI
博客园 - 司徒正美
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
小众软件
小众软件
C
Check Point Blog
博客园 - 三生石上(FineUI控件)
N
Netflix TechBlog - Medium
Recent Announcements
Recent Announcements
有赞技术团队
有赞技术团队
月光博客
月光博客

Hacker News: Show HN

PurrrrrFocus: Pomodoro Timer App - App Store Workflow Engine — Multi-Step Orchestration for Bun RapidPhoto: Pro Photo Editor App - App Store GitHub - DheerG/swarms: Achieve extraordinary results with claude code across a variety of tasks SPICE simulation → oscilloscope → verification with Claude Code — Lucas Gerads Show HN: VCoding – A 5 MB native Windows IDE with no dynamic dependencies Show HN: LLMs don't hallucinate because they're bad at math, it's the format GitHub - Agent-FM/agentfm-core: AgentFM is a peer-to-peer network that turns everyday computers into a decentralized AI supercomputer. AgentFM lets you run massive AI workloads directly across a global mesh of idle CPUs and GPUs. Show HN: Tracking Top US Science Olympiad Alumni over Last 25 Years GitHub - Potarix/agent-hub: One place to talk to all your agents Show HN: Runtime security for AI agents(injection,tool abuse, data exfiltration) GitHub - dubeyKartikay/lazyspotify: Terminal Spotify client for macOS and Linux GitHub - the-banana-tool/king-louie: Easy to use GUI Personal AI Assistant. Win/Linux/Mac. Show HN I made my vacation rental bookable by AI agents–no Airbnb, 0% commission GitHub - basteez/jsf-autoreload: maven plugin to enable hot reload on jsf projects uvm32/hosts/host-gdbstub at main · ringtailsoftware/uvm32 GitHub - labsai/EDDI: Config-driven engine that turns JSON into production-grade AI agents. Multi-agent orchestration, 12+ LLM providers, MCP/A2A protocols, RAG, persistent memory, and enterprise compliance (EU AI Act, GDPR, HIPAA). Built on Quarkus. GitHub - glitchnsec/fortyone-oss: AI Executive Assistant Platform Quickstart | Alien GitHub - muxshed/shed: One stream in, or many. Every destination, simultaneously. No cloud middleman, no per-channel fees, no limits. GitHub - ocrbase-hq/ocrbase: 📄 PDF/IMG ->.MD/JSON Document OCR API for PaddleOCR and GLMOCR. Self-hostable. GitHub - impactjo/home-memory: MCP server that lets your AI assistant remember everything about your home. GitHub - Sets88/dbcls: DbCls is a powerful terminal database client that supports various databases GitHub - neptun2000/heor-agent-mcp GitHub - SeanFDZ/macmind: Single-layer transformer in HyperTalk for the classic Macintosh RollQuation: Math Puzzles - Apps on Google Play GitHub - dropbox/witchcraft Show HN: Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis GitHub - opentalon/opentalon: OpenTalon is an open-source platform built from the ground up in Go as a robust alternative to OpenClaw LinkedIn™ 职位抓取工具 - Chrome 应用商店
GitHub - vincent-uden/miro: A native pdf viewer for Windo...
vincent-uden · 2026-05-11 · via Hacker News: Show HN

A native pdf viewer for Windows, macOS and Linux (Wayland/X11) with configurable keybindings.

An image of the pdf reader

Features

  • Dark mode (both for the interface and the pdf)
  • Vim-like keybindings (by default)
  • Configuration file for key bindings (in case you don't like Vim bindings)
  • Mouse controls
  • Multiple pdfs in tabs
  • Cli arg for opening pdfs from the terminal
  • Automatic hot-reloading of any viewed pdf (especially useful when writing anything that compiles into pdfs like Latex/Typst/etc.)
  • Text copying in documents
  • Internal links (such as a table of contents)
  • External links (email, websites, etc. copies on click)
  • Bookmarks
  • Jumplist
  • Optional RPC server to control the viewer from another program
  • Print via the default web browser
  • Open links using keyboard controls
  • Fullscreen
  • A presentation mode that hides all UI
  • Shows recently opened files

Configuration

The configuration file is located at ~/.config/miro-pdf/miro.conf (or .config/miro-pdf/miro.conf in the home directory of your operating system). An example configuration file is located at /assets/default.conf which contains all the default bindings for the program.

Every binding that is possible is bound at least once in the default configuration file.

Configuration File Format

The configuration file uses a simple text format with three types of commands and comments:

Key Bindings

Bind <key_sequence> <action>

Key sequences can be:

  • Single keys: j, k, h, l
  • Modified keys: Ctrl+r, Shift+Tab
  • Key chords (multiple keys): "Z Z" (quotes required for sequences with spaces)

All available actions are bound in the example config file. If you need a more exact view of the syntax it is documented in the keybinds-rs crate.

Mouse Bindings

MouseBind <mouse_input> <action>

Mouse inputs can be:

  • Basic buttons: MouseLeft, MouseRight, MouseMiddle, MouseBack, MouseForward
  • With modifiers: Ctrl+MouseLeft, Shift+MouseRight

All available actions are bound in the example config file.

Settings

Set <setting> <value>

Available settings:

  • Rpc <True|False> - Enable/disable RPC server
  • RpcPort <number> - Set RPC server port
  • TrackpadSensitivity <float> - Set a multiplier on panning with a trackpad

Default Settings

Set <setting> <value>

Default settings apply only at application startup. They can later be toggled with key bindings.

Available default settings:

  • DarkModePdf <True|False> - Enable/disable dark mode rendering of the PDF
  • DarkModeUi <True|False> - Enable/disable dark mode for the UI
  • OpenSidebar <True|False> - Open sidebar
  • PageBorders <True|False> - Enable/disable page borders

Comments and Empty Lines

# This is a comment
# Comments start with # and are ignored during parsing

# Empty lines are also ignored

Error Handling

The configuration parser provides detailed error messages with line numbers when parsing fails. Errors on one line don't prevent parsing of other lines

Example error output:

Configuration parsing errors:
  Line 3: Unknown command: InvalidCommand
  Line 5: Unknown action: InvalidAction
  Line 7: Invalid port number: 'not_a_number'. Must be a valid integer

Installation

Pre-compiled binary

Head over to releases and download the latest binary for your platform, then place it somewhere in your path.

Nix Cachix Binary Cache

nix.settings = {
  substituters = [
    "https://miro-pdf.cachix.org"
    # Others...
  ];
  trusted-public-keys = [
    "miro-pdf.cachix.org-1:4XzXt3PjR8lGUo00nhzAGQLdRa73iPQNTRD5tfIZf4k="
    # Others...
  ];
};

Crates.io

This is pretty much the same as the following option, but doesn't require cloning the repo. See building from source for possible complications when compiling for Windows. I've had no problems compiling on Linux thus far.

cargo install miro-pdf

Building from source

On linux, the commands below would clone the repository, compile the project and copy the resulting binary to /usr/bin/.

git clone https://github.com/vincent-uden/miro.git
cd miro
cargo r --release
cp ./target/release/miro-pdf /usr/bin/miro-pdf

Windows

On Windows, the same rough process should work, but often doesn't. I highly recommend downloading a precompiled binary for Windows. The problem lies in compiling the crate mupdf-sys which requires MSVC.

The Visual Studio project embedded in this crate requires Visual Studio 2019 which isn't available for downloading anymore, but can optionally be compiled using Visual Studio 2022. Even with this option, the build might just not work sometimes due to issues with the Windows 10/11 SDK kits which I have not managed to solve.

However, I've managed to get compilation working in github actions which is what produces the release binaries which do function correctly on Windows systems.

Linux

Mupdf-rs requries headers for fontconfig. The packages are:

  • libfontconfig1-dev on Ubuntu/Debian
  • fontconfig-devel on Fedora
  • fontconfig on Arch and derivatives

Building on linux also requires some hidden dependencies that you probably already have.

  • clang
  • unzip

macOS

While I don't test the software for macOS since I don't own a mac. It should work although only supporting building from source or crates.io. No binary releases are made.