An open API service indexing awesome lists of open source software.

https://github.com/codefromanywhere/print-folder


https://github.com/codefromanywhere/print-folder

Last synced: 11 months ago
JSON representation

Awesome Lists containing this project

README

          

> superseeded by https://github.com/CodeFromAnywhere/print-code

# Print Folder

Print folder is a package that helps making the barrier to print something much lower.

Now you can finally take your enture codebase and print it with the printer so you can start reading it outside in the sun! ☀️

# Usage

`npx print-folder .`

The above command will create a pdf containing all text files in your CWD. Careful, may be a bit slow!

# Features

- Works with serverless optimised version of puppeteer (same as [here](https://www.umuttufanoglu.dev/blog/using-puppeteer-in-nextjs))
- Prints all text-only pages into a HTML based on its markdown.
- HTML is printed directly

# Todo

- Test this in a serverless environment with zip upload and pdf as downloadable response with redirect