https://github.com/codefromanywhere/print-folder
https://github.com/codefromanywhere/print-folder
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/codefromanywhere/print-folder
- Owner: CodeFromAnywhere
- Created: 2024-04-25T16:10:38.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-25T16:13:39.000Z (almost 2 years ago)
- Last Synced: 2024-04-25T17:30:59.103Z (almost 2 years ago)
- Language: TypeScript
- Size: 30.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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