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
- Host: GitHub
- URL: https://github.com/codenoid/webtopdf
- Owner: codenoid
- License: mit
- Created: 2018-08-04T10:09:38.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-08-04T10:14:52.000Z (almost 8 years ago)
- Last Synced: 2024-10-19T08:13:46.906Z (over 1 year ago)
- Language: Crystal
- Size: 5.05 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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