pdf-live-server

Crates.iopdf-live-server
lib.rspdf-live-server
version0.0.1
sourcesrc
created_at2024-08-11 14:01:40.751751
updated_at2024-08-12 10:53:44.540474
descriptionServe a PDF live while watching for changes and reloading the browser.
homepage
repositoryhttps://github.com/SichangHe/pdf-live-server
max_upload_size
id1333344
size60,454
Steven Hé (Sīchàng) (SichangHe)

documentation

README

PDF Live Server

I developed this for remote LaTeX editing with previewing.

Installation

cargo install pdf-live-server

Usage

$ pdf-live-server --help
Serve a PDF file live and reload the browser on changes

Usage: pdf-live-server [OPTIONS] --served-pdf <SERVED_PDF>

Options:
  -d, --watch-dir <WATCH_DIR>      Directory to watch for changes [default: ./]
  -f, --served-pdf <SERVED_PDF>    PDF file to serve. I also check its modified time to decide if changes occur
  -s, --socket-addr <SOCKET_ADDR>  Address to bind the server [default: 127.0.0.1:3000]
  -h, --help                       Print help
Commit count: 0

cargo fmt