Skip to content
/ pdfjoy Public

small toy utility to generate arbitrary length pdfs, filled with color

Notifications You must be signed in to change notification settings

e-lu6a/pdfjoy

Repository files navigation

pdfjoy

small toy utility to generate arbitrary length pdfs, filled with color

example calls:

  • /10 --> 10 pages, blank
  • /#f878ff/ --> 1 page, single color
  • /#f878ff-#f878ff-#f878ff/ --> 1 page, 3 color gradient
  • /10/#f878ff-#f878ff-#f878ff/ --> 10 pages, 3 color gradient

notes:

  • https://colorkit.co/ has a nice, actually built-out suite of tools that is similar
  • first time setting up node.js & express.js on my own, from scratch. express has been pretty easy to use, although:
  • express won't allow '#' in routes
  • pdfkit can stream directly to the http response (as opposed to saving to the server and serving that file)

About

small toy utility to generate arbitrary length pdfs, filled with color

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published