Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kelsoncm/code2pdf
code2pdf docker image
https://github.com/kelsoncm/code2pdf
Last synced: 3 days ago
JSON representation
code2pdf docker image
- Host: GitHub
- URL: https://github.com/kelsoncm/code2pdf
- Owner: kelsoncm
- Created: 2023-03-15T17:23:01.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-24T17:44:44.000Z (about 1 year ago)
- Last Synced: 2023-11-24T18:37:11.608Z (about 1 year ago)
- Language: Dockerfile
- Homepage:
- Size: 27.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# code2pdf
This image (thanks to [@sedir](https://github.com/sedir)) executes a code2pdf ruby based (thanks to [@lucascaton](https://github.com/lucascaton)) that outputs a PDF with all source code localated at `/code` at the container (exposed using volume).
## How to use
Execute docker image informing the source code at `/code`, the output PDF will be `_.pdf`.
```bash
docker run --rm -v $PWD:/code kelsoncm/code2pdf .
```> You can ignore files to output putting a file named `.code2pdf` as specified here https://github.com/lucascaton/code2pdf#blacklist-file-example .