Skip to content
Lucas Caton

My new gem "code2pdf"

Lucas Caton

Lucas Caton

I've created a gem called code2pdf, which is a simple and open-source tool to convert your codebase to a PDF file. It might be especially useful in case you need to register you software.
In order to install it, just run:
gem install code2pdf
Then, open a terminal and run:
code2pdf [project path] [blacklist file]
The blacklist file is optional and must be a YML file, similar to the following:
  - .git
  - log
  - public/system
  - spec
  - tmp
  - vendor

  - .DS_Store
  - .gitignore
  - database.yml
  - favicon.ico
You can find more information (including a PDF output example in the repository:
Please, let me know in the comments if you like it :)

Post updated at 02/10/2017, 10:00:00