An open API service indexing awesome lists of open source software.

https://github.com/codenoid/webtopdf

API to convert web page to pdf
https://github.com/codenoid/webtopdf

Last synced: about 1 year ago
JSON representation

API to convert web page to pdf

Awesome Lists containing this project

README

          

# WebToPdf

Convert Web Page to PDF

## Installation

```
sudo apt-get install \
libbsd-dev \
libedit-dev \
libevent-core-2.0-5 \
libevent-dev \
libevent-extra-2.0-5 \
libevent-openssl-2.0-5 \
libevent-pthreads-2.0-5 \
libgmp-dev \
libgmpxx4ldbl \
libssl-dev \
libxml2-dev \
libyaml-dev \
libreadline-dev \
automake \
libtool \
git \
llvm \
libpcre3-dev \
libgc-dev \
zlib1g-dev \
wkhtmltopdf \
build-essential -y

```

## Usage

1. `./WebToPdf`
2. http://localhost:4000/?url=https://detik.com

## Development

1. More config

## Contributing

1. Fork it ()
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request

## Contributors

- [codenoid](https://github.com/codenoid) Katon Widodo - creator, maintainer