UniDoc is a powerful PDF library for Go (golang). The library is written and supported by the owners of the FoxyUtils.com website, where the library is used to power many of the PDF services offered.
go get github.com/unidoc/unidoc/...
Out of the box - unidoc is unlicensed and outputs a watermark on all pages, perfect for prototyping. To use unidoc in your projects, you need to get a license. We have 3 license types:
- Community: For open source AGPLv3 projects
- Business Individual
- Business Unlimited
Get your license on https://unidoc.io.
To load your license, simply do:
unidocLicenseKey := "... your license here ..."
err := license.SetLicenseKey(unidocLicenseKey)
if err != nil {
fmt.Printf("Error loading license: %v\n", err)
os.Exit(1)
}
Multiple examples are provided in our example repository. Many features for processing PDF files with documented examples on our website.
Contact us if you need any specific examples.
For reliability, we recommend using specific versions and the vendoring capability of golang. Check out the Releases section to see the tagged releases.
This library (UniDoc) has a dual license, a commercial one suitable for closed source projects and an AGPL license that can be used in open source software.
Depending on your needs, you must choose one of them and follow its policies. A detail of the policies and agreements for each license type are available in the LICENSE.COMMERCIAL and LICENSE.AGPL files.
In brief, purchasing a license is mandatory as soon as you develop activities distributing the UniDoc software inside your product or deploying it on a network without disclosing the source code of your own applications under the AGPL license. These activities include:
- offering services as an application service provider or over-network application programming interface (API)
- creating/manipulating documents for users in a web/server/cloud application
- shipping UniDoc with a closed source product
Please see pricing to purchase a commercial license or contact sales at sales@unidoc.io for more info.
Contributors need to approve the Contributor License Agreement before any code will be reviewed. Preferably add a test case to make sure there is no regression and that the new behaviour is as expected.
Please email us at support@unidoc.io for any queries.
If you have any specific tasks that need to be done, we offer consulting in certain cases. Please contact us with a brief summary of what you need and we will get back to you with a quote, if appropriate.