Go to file
Kailash Nadh 4f5cca25c6 Suppress license warning 2020-01-07 17:18:16 +05:30
.github/ISSUE_TEMPLATE Update issue templates 2019-05-20 10:18:26 +00:00
.travis Adapt travis script to use the examples development branch 2019-09-07 17:27:41 +03:00
annotator Check for missing resource dict when generating field appearance (#135) 2019-07-31 20:06:50 +00:00
common Disable forced license 2020-01-06 12:46:15 +05:30
contentstream Changes to make the lazy reader work on the PaperCut corpus (#194) 2019-10-28 20:49:07 +00:00
core Changes to make the lazy reader work on the PaperCut corpus (#194) 2019-10-28 20:49:07 +00:00
creator Preserve TOC line components style properties when setting links (#202) 2019-11-26 21:49:45 +00:00
extractor Suppress license warning 2020-01-07 17:18:16 +05:30
fdf Remmove pdf folder and move packages up one level (#2) 2019-05-16 20:44:51 +00:00
fjson Remmove pdf folder and move packages up one level (#2) 2019-05-16 20:44:51 +00:00
internal Add basic support for UTF-16 text encodings (#203) 2019-11-28 00:47:00 +00:00
model Prevent recursive parsing of invalid circular outlines 2019-12-17 20:29:02 +02:00
ps Remmove pdf folder and move packages up one level (#2) 2019-05-16 20:44:51 +00:00
.gitattributes Improvements in field handling and utility functions 2018-07-04 23:02:34 +00:00
.gitignore Fix fuzzy problems with crossrefs and add a recursive loop guard in reader (page building). Added test cases for these issues. 2017-07-21 14:12:37 +00:00
.travis.yml Add Travis CI integration (#162) 2019-09-03 08:46:25 +00:00
ACKNOWLEDGEMENTS.md JBIG2Decoder implementation (#67) 2019-07-14 21:18:40 +00:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2017-06-15 11:03:26 +00:00
CONTRIBUTING.md unipdf move updates (#6) 2019-05-19 12:41:13 +00:00
Gopkg.lock Update go dep file (#100) 2019-06-25 20:03:42 +00:00
Gopkg.toml list dependencies for dep and go modules 2018-11-29 01:15:19 +02:00
Jenkinsfile Adapt Jenkins file to use the examples development branch 2019-09-07 17:28:53 +03:00
LICENSE.AGPL unipdf move updates (#6) 2019-05-19 12:41:13 +00:00
LICENSE.COMMERCIAL unipdf move updates (#6) 2019-05-19 12:41:13 +00:00
LICENSE.md unipdf move updates (#6) 2019-05-19 12:41:13 +00:00
README.md Merge pull request #186 from ribice/patch-1 2019-10-14 10:51:42 +00:00
codecov.yml Update codecov.yml 2019-01-28 11:32:41 +00:00
doc.go unipdf move updates (#6) 2019-05-19 12:41:13 +00:00
go.mod Disable forced license 2020-01-06 12:46:15 +05:30
go.sum JBIG2Decoder implementation (#67) 2019-07-14 21:18:40 +00:00
wercker.yml unipdf move updates (#6) 2019-05-19 12:41:13 +00:00

README.md

UniPDF - PDF for Go

UniDoc's UniPDF (formerly unidoc) is a PDF library for Go (golang) with capabilities for creating and reading, processing PDF files. The library is written and supported by FoxyUtils.com, where the library is used to power many of its services.

Build Status GitHub (pre-)release License: AGPL v3 Go Report Card GoDoc

Features

Multiple examples are provided in our example repository https://github.com/unidoc/unidoc-examples.

Contact us if you need any specific examples.

Installation

With modules:

go get github.com/unidoc/unipdf/v3

With GOPATH:

go get github.com/unidoc/unipdf/...

How can I convince myself and my boss to buy unipdf rather using a free alternative?

The choice is yours. There are multiple respectable efforts out there that can do many good things.

In UniDoc, we work hard to provide production quality builds taking every detail into consideration and providing excellent support to our customers. See our testimonials for example.

Security. We take security very seriously and we restrict access to github.com/unidoc/unipdf repository with protected branches and only the founders have access and every commit is reviewed prior to being accepted.

The profits are invested back into making unipdf better. We want to make the best possible product and in order to do that we need the best people to contribute. A large fraction of the profits made goes back into developing unipdf. That way we have been able to get many excellent people to work and contribute to unipdf that would not be able to contribute their work for free.

Contributing

CLA assistant

All contributors must sign a contributor license agreement before their code will be reviewed and merged.

Support and consulting

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.

Licensing Information

This library (unipdf) 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 unipdf 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 unipdf with a closed source product

Please see pricing to purchase a commercial license or contact sales at sales@unidoc.io for more info.

Getting Rid of the Watermark - Get a License

Out of the box - unipdf is unlicensed and outputs a watermark on all pages, perfect for prototyping. To use unipdf in your projects, you need to get a license.

Get your license on https://unidoc.io.

The easiest way to load your license is through environment variables, for example:

export UNIPDF_CUSTOMER_NAME=UniDoc
export UNIPDF_LICENSE_PATH=/path/to/licenses/UniDoc.txt

Alternatively you can load the license in code, simply do:

licenseKey := "... your license here ..."
customerName := `name of license holder`

err := license.SetLicenseKey(licenseKey, customerName)
if err != nil {
    fmt.Printf("Error loading license: %v\n", err)
    os.Exit(1)
}