https://github.com/rekgrpth/pg_htmldoc
PostgreSQL implementation of HTMLDOC conversion software. It is a program that reads HTML and Markdown source files or web pages and generates corresponding EPUB, HTML, PostScript, or PDF files with an optional table of contents.
https://github.com/rekgrpth/pg_htmldoc
c html pdf postgresql ps
Last synced: 6 months ago
JSON representation
PostgreSQL implementation of HTMLDOC conversion software. It is a program that reads HTML and Markdown source files or web pages and generates corresponding EPUB, HTML, PostScript, or PDF files with an optional table of contents.
- Host: GitHub
- URL: https://github.com/rekgrpth/pg_htmldoc
- Owner: RekGRpth
- License: mit
- Created: 2019-08-07T07:27:08.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2025-01-01T19:00:45.000Z (over 1 year ago)
- Last Synced: 2025-03-24T11:21:18.439Z (over 1 year ago)
- Topics: c, html, pdf, postgresql, ps
- Language: C
- Homepage:
- Size: 57.6 KB
- Stars: 5
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
PostgreSQL implementation of HTMLDOC conversion software. It is a program that reads HTML and Markdown source files or web pages and generates corresponding EPUB, HTML, PostScript, or PDF files with an optional table of contents.
### [Use of the extension](#use-of-the-extension)
```sql
select htmldoc_addurl('https://github.com');
copy (
select convert2pdf()
) to '/var/lib/postgresql/htmldoc.pdf' WITH (FORMAT binary, HEADER false)
```