luabagg / orcgen

Web pages and HTML content conversion

Home Page:https://pkg.go.dev/github.com/luabagg/orcgen

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Orcgen

Orcgen is a Go package that enables the conversion of web pages and HTML content to various file formats like PDF, PNG, and JPEG. It provides an easy-to-use interface for generating these file formats from web pages and HTML.

Functionalities

Orcgen provides the following functionalities:

  • Conversion of HTML content to PDF, PNG, and JPEG files.
  • Conversion of web pages to PDF, PNG, and JPEG files.
  • The package provides functions to convert HTML content and web pages to the desired file format.
  • The ability to configure the conversion process by setting parameters like load timeout and page idle time.
  • The package supports the creation of full-page screenshots of web pages.

Installation

To use Orcgen, you can install it via Go modules:

    go get github.com/luabagg/orcgen

Then you can import it in your Go code:

    import "github.com/luabagg/orcgen"

Example Usage

The package comes with examples that demonstrate the usage of the various functions and features provided by Orcgen.

You can see it in examples_test.go page.

Contributors

This project is an open-source project, and contributions from other developers are welcome. If you encounter any issues or have suggestions for improvement, please submit them on the project's GitHub page.

About

Web pages and HTML content conversion

https://pkg.go.dev/github.com/luabagg/orcgen

License:MIT License


Languages

Language:Go 97.9%Language:Makefile 2.1%