All Projects → vivliostyle → Vivliostyle Cli

vivliostyle / Vivliostyle Cli

Licence: agpl-3.0
⚒ Supercharge command-line publication workflow.

Programming Languages

javascript
184084 projects - #8 most used programming language
typescript
32286 projects

Projects that are alternatives of or similar to Vivliostyle Cli

Doctron
Docker-powered html convert to pdf(html2pdf), html to image(html2image like jpeg,png),which using chrome(golang) kernel, add watermarks to pdf, convert pdf to images etc.
Stars: ✭ 141 (+147.37%)
Mutual labels:  pdf, headless-chrome
Puppeteer Dart
A Dart library to automate the Chrome browser over the DevTools Protocol. This is a port of the Puppeteer API
Stars: ✭ 92 (+61.4%)
Mutual labels:  pdf, headless-chrome
Html Pdf Chrome
HTML to PDF converter via Chrome/Chromium
Stars: ✭ 629 (+1003.51%)
Mutual labels:  pdf, headless-chrome
Phpchrometopdf
A slim PHP wrapper around google-chrome to convert url to pdf or to take screenshots , easy to use and clean OOP interface
Stars: ✭ 127 (+122.81%)
Mutual labels:  pdf, headless-chrome
Pdf Bot
🤖 A Node queue API for generating PDFs using headless Chrome. Comes with a CLI, S3 storage and webhooks for notifying subscribers about generated PDFs
Stars: ✭ 2,551 (+4375.44%)
Mutual labels:  pdf, headless-chrome
Md To Pdf
Hackable CLI tool for converting Markdown files to PDF using Node.js and headless Chrome.
Stars: ✭ 374 (+556.14%)
Mutual labels:  pdf, headless-chrome
Url To Pdf Api
Web page PDF/PNG rendering done right. Self-hosted service for rendering receipts, invoices, or any content.
Stars: ✭ 6,544 (+11380.7%)
Mutual labels:  pdf, headless-chrome
Format parser
file metadata parsing, done cheap
Stars: ✭ 46 (-19.3%)
Mutual labels:  pdf
Docker Texlive
A docker container containing an installation of texlive as well as several useful scripts.
Stars: ✭ 52 (-8.77%)
Mutual labels:  pdf
Sile
Simon’s Improved Layout Engine
Stars: ✭ 1,032 (+1710.53%)
Mutual labels:  pdf
Owasp Masvs
The Mobile Application Security Verification Standard (MASVS) is a standard for mobile app security.
Stars: ✭ 1,030 (+1707.02%)
Mutual labels:  pdf
Mobius
Scripts to extract data from the COVID-19 Google Community Mobility Reports
Stars: ✭ 47 (-17.54%)
Mutual labels:  pdf
Caj2pdf
Convert CAJ (China Academic Journals) files to PDF. 转换中国知网 CAJ 格式文献为 PDF。佛系转换,成功与否,皆是玄学。
Stars: ✭ 1,063 (+1764.91%)
Mutual labels:  pdf
Puppeteer Deep
Puppeteer, Headless Chrome;爬取《es6标准入门》、自动推文到掘金、站点性能分析;高级爬虫、自动化UI测试、性能分析;
Stars: ✭ 1,033 (+1712.28%)
Mutual labels:  headless-chrome
Pdfio.jl
PDF Reader Library for Native Julia.
Stars: ✭ 56 (-1.75%)
Mutual labels:  pdf
Pdfsave
Convert websites into readable PDFs
Stars: ✭ 46 (-19.3%)
Mutual labels:  pdf
Gulp Markdown Pdf
Markdown to PDF
Stars: ✭ 56 (-1.75%)
Mutual labels:  pdf
Diff Pdf
A simple tool for visually comparing two PDF files
Stars: ✭ 1,080 (+1794.74%)
Mutual labels:  pdf
Thinreports Php
An implementation of the Thinreports Generator in PHP. It provides easy and simple way for generating a PDF on pure PHP.
Stars: ✭ 51 (-10.53%)
Mutual labels:  pdf
Pdfgen
HTTP service to generate PDF from Json requests
Stars: ✭ 50 (-12.28%)
Mutual labels:  pdf

Vivliostyle CLI

npm npm: version (tag) npm: total downloads

Supercharge your command-line publication workflow.

Install

npm install -g @vivliostyle/cli

Use

Usage: vivliostyle [options] [command]

Options:
  -v, --version   output the version number
  -h, --help      display help for command

Commands:
  init            create vivliostyle config
  build           build and create PDF file
  preview         launch preview server
  help [command]  display help for command

init

create vivliostyle config file.

vivliostyle init

You are new to Vivliostyle? Check out our latest project Create Book. With Create Book, you can easily bootstrap your book project and start writing without any extra effort.

CLI Options

Options:
  --title <title>            title
  --author <author>          author
  -l, --language <language>  language
  -s, --size  <size>         paper size
  -T, --theme <theme>        theme
  -h, --help                 display help for command

build

build and create PDF file.

Put vivliostyle.config.js in the root directory, then:

vivliostyle build

build

CLI options

Options:
  -c, --config <config_file>    path to vivliostyle.config.js [vivliostyle.config.js]
  -o, --output <path>           specify output file name or directory [<title>.pdf]
                                This option can be specified multiple, then each -o options can be supplied one -f option.
                                ex: -o output1 -f webpub -o output2.pdf -f pdf
  -f, --format <format>         specify output format corresponding output target
                                If an extension is specified on -o option, this field will be inferenced automatically.
  -s, --size <size>             output pdf size [Letter]
                                preset: A5, A4, A3, B5, B4, JIS-B5, JIS-B4, letter, legal, ledger
                                custom(comma separated): 182mm,257mm or 8.5in,11in
  -p, --press-ready             make generated PDF compatible with press ready PDF/X-1a [false]
  -t, --timeout <seconds>       timeout limit for waiting Vivliostyle process [60s]
  -T, --theme <theme>           theme path or package name
  --title <title>               title
  --author <author>             author
  -l, --language <language>     language
  --verbose                     verbose log output
  --no-sandbox                  launch chrome without sandbox. use this option when ECONNREFUSED error occurred.
  --executable-chromium <path>  specify a path of executable Chrome (or Chromium) you installed
  -h, --help                    display help for command

preview

open preview page and save PDF interactively.

vivliostyle preview

CLI options

Options:
  -c, --config <config_file>    path to vivliostyle.config.js
  -T, --theme <theme>           theme path or package name
  -s, --size <size>             output pdf size [Letter]
                                preset: A5, A4, A3, B5, B4, JIS-B5, JIS-B4, letter, legal, ledger
                                custom(comma separated): 182mm,257mm or 8.5in,11in
  --title <title>               title
  --author <author>             author
  -l, --language <language>     language
  --verbose                     verbose log output
  --no-sandbox                  launch chrome without sandbox (use this option to avoid ECONNREFUSED error)
  --executable-chromium <path>  specify a path of executable Chrome(Chromium) you installed
  -h, --help                    display help for command

Q&A

Not working in Node v14.0.0

puppeteer is not working in Node v14.0.0, ie vivliostyle-cli is not working same. See also: https://developers.google.com/web/tools/puppeteer/troubleshooting

The error has been resolved by Node >= v14.1.0 or <= v12.0.0.

Contribute

See Contribution Guide.

License

Licensed under AGPL Version 3.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].