Skip to content

feat: headless mode support#2

Merged
vihu merged 1 commit intomainfrom
rg/headless-mode
Dec 7, 2025
Merged

feat: headless mode support#2
vihu merged 1 commit intomainfrom
rg/headless-mode

Conversation

@vihu
Copy link
Owner

@vihu vihu commented Dec 7, 2025

Summary

Add headless mode support for penview.nvim, enabling real-time Markdown preview on Linux servers without a local browser. When enabled, the preview server binds to 0.0.0.0 for remote access via SSH tunnel while the user edits files in Neovim on the server.

Changes

  • Add headless option to setup() that binds server to 0.0.0.0 and skips browser launch
  • Add validation requiring explicit port number when headless mode is enabled
  • Make browser option optional in headless mode (required otherwise)
  • Document headless mode configuration and SSH tunnel workflow in README

@vihu vihu merged commit 2301268 into main Dec 7, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant