https://github.com/foosel/cardfoldr
Convert a PDF of card grids as found in Print'n'play games into a PDF with the cards arranged side by side with their backs, with a foldline right down the middle of the page
https://github.com/foosel/cardfoldr
browser pdf-converter pnp print-and-play tool
Last synced: 7 months ago
JSON representation
Convert a PDF of card grids as found in Print'n'play games into a PDF with the cards arranged side by side with their backs, with a foldline right down the middle of the page
- Host: GitHub
- URL: https://github.com/foosel/cardfoldr
- Owner: foosel
- License: mit
- Created: 2024-05-09T16:50:19.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-10T13:54:57.000Z (7 months ago)
- Last Synced: 2025-03-19T07:33:37.090Z (7 months ago)
- Topics: browser, pdf-converter, pnp, print-and-play, tool
- Language: JavaScript
- Homepage: https://foosel.github.io/cardfoldr/
- Size: 5.72 MB
- Stars: 18
- Watchers: 1
- Forks: 5
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# 🃏 CardFoldr


[](https://boardgamegeek.com/thread/3298313/i-created-a-tool-to-create-foldable-card-pdfs-from)
[](https://boardgamegeek.com/geeklist/336986/cardfoldr-settings-for-games)CardFoldr is a tool to help you convert a PDF of card grids (say, 3x3 cards per page, several pages of fronts and one page of backs) into a gutterfold PDF: card fronts and backs on the same page, with a foldline down the middle for easy double sided alignment.
It is meant to help with building print'n'play games.
## Changelog
[See CHANGELOG.md](CHANGELOG.md).
## License
This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details.
## Acknowledgments
CardFoldr uses the following fine projects:
- [PDF.js](https://mozilla.github.io/pdf.js/)
- [PDF-Lib](https://pdf-lib.js.org/)
- [pure.css](https://purecss.io/)
- [Font Awesome](https://fontawesome.com/)
- [Playwright](https://playwright.dev/)## Development
A [Taskfile](https://taskfile.dev/) is provided that features the following commands:
- `serve`: Serves the app on `localhost:8000`
- `test`: Runs the test suite
- `test-ui`: Runs the test suite with Playwright's UI
- `test-report`: Opens the report of the latest test run
- `update-screenshots`: Updates the screenshots used for expected PDF output results