{"id":16674341,"url":"https://github.com/creecros/task2pdf","last_synced_at":"2025-03-21T18:31:26.404Z","repository":{"id":33493935,"uuid":"151114557","full_name":"creecros/Task2pdf","owner":"creecros","description":"Kanboard - Task2PDF","archived":false,"fork":false,"pushed_at":"2024-02-21T18:22:58.000Z","size":22108,"stargazers_count":54,"open_issues_count":5,"forks_count":7,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-10-13T12:31:28.752Z","etag":null,"topics":["kanboard","kanboard-plugin","pdf","pdf-generation","print"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/creecros.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-10-01T15:48:31.000Z","updated_at":"2024-08-30T15:38:46.000Z","dependencies_parsed_at":"2024-10-12T12:30:30.770Z","dependency_job_id":"c7b042b6-7f47-4e73-95ad-7204a7534d72","html_url":"https://github.com/creecros/Task2pdf","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creecros%2FTask2pdf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creecros%2FTask2pdf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creecros%2FTask2pdf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creecros%2FTask2pdf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/creecros","download_url":"https://codeload.github.com/creecros/Task2pdf/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221817459,"owners_count":16885544,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["kanboard","kanboard-plugin","pdf","pdf-generation","print"],"created_at":"2024-10-12T12:30:21.356Z","updated_at":"2024-10-28T10:34:01.022Z","avatar_url":"https://github.com/creecros.png","language":"PHP","funding_links":["https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=SEGNEVQFXHXGW\u0026source=url"],"categories":[],"sub_categories":[],"readme":"## Checkout our latest project\n[![](https://raw.githubusercontent.com/docpht/docpht/master/public/assets/img/logo.png)](https://github.com/docpht/docpht)\n\n- With [DocPHT](https://github.com/docpht/docpht) you can take notes and quickly document anything and without the use of any database.\n-----------\n[![Latest release](https://img.shields.io/github/release/creecros/Task2pdf.svg)](https://github.com/creecros/Task2pdf/releases)\n![GitHub license](https://img.shields.io/github/license/Naereen/StrapDown.js.svg)\n[![Maintenance](https://img.shields.io/badge/Maintained%3F-no-red.svg)](https://github.com/creecros/Task2pdf/graphs/contributors)\n![Open Source Love](https://badges.frapsoft.com/os/v1/open-source.svg?v=103)\n![Downloads](https://img.shields.io/github/downloads/creecros/Task2pdf/total.svg)\n\nDonate to help keep this project maintained.\n\u003ca href=\"https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=SEGNEVQFXHXGW\u0026source=url\"\u003e\n\u003cimg src=\"https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif\" border=\"0\" name=\"submit\" title=\"PayPal - The safer, easier way to pay online!\" alt=\"Donate with PayPal button\" /\u003e\u003c/a\u003e\n\n**Due to a lack of time, I will no longer Maintain this project, consider it Archived. If you wish to maintain, seek me out.**\n\n**:star: If you use it, you should star it on Github!**\n*It's the least you can do for all the work put into it!*\n\n# Task2PDF\n\nConvert a Task to a PDF, Printer Friendly!\n\n# What do?\n\n* Install plugin\n* Gain sidebar item to \"Create PDF\"\n* PDF is created that is simple and printer friendly\n* Win!\n* Support for CJK Characters!\n* New Feature: Print all open tasks in a project to one PDF.\n* New Feature: Can embed attached files to PDFs\n\n*To turn on CJK Support, go to **Settings \u003e Application Settings**, and the toggle will be located toward the bottom of the page.*\n\n# How can I make Task2pdf utilize my plugin?\n1.) Utilize any hook that exists in the templates, to insert your own templates in desired locations.\n```\ntemplate:subtask:table:header:before-timetracking\ntemplate:task:details:top\ntemplate:task:details:bottom\ntask2pdf:printlayout:beforedetails\ntask2pdf:printlayout:beforedescription\ntask2pdf:printlayout:beforesubtasks\ntask2pdf:printlayout:beforefiles\ntask2pdf:printlayout:beforeinternallinks\ntask2pdf:printlayout:beforecomments\ntask2pdf:printlayout:bottomoflayout\n```\n\n2.) For image display using internal links you have 2 options.\n\nOption 1: Pass html to printModel-\u003epreparePrint function, and then through markdownPlus. *Must have plugin MarkdownPlus installed*\n`$this-\u003etext-\u003emarkdown($this-\u003etask-\u003eprintModel-\u003epreparePrint($task['description']), isset($is_public) \u0026\u0026 $is_public)`\n\nOption 2: Prepend `data:image/png;base64,` to src in img tags, and base64_encode the image data\n`\u003cimg src=\"data:image/png;base64,\u003c?= base64_encode(file_get_contents(FILES_DIR.DIRECTORY_SEPARATOR.$image['path'])); ?\u003e\"\u003e`\n\n\n\n# Screenshots?\n\n## Menu item:\n\n*Create PDF of a task*\n\n![image](https://user-images.githubusercontent.com/26339368/46331051-f5fc4980-c5e3-11e8-8d3c-f1d023ee20eb.png)\n\n*Create PDF of all open tasks in a project*\n\n![image](https://user-images.githubusercontent.com/26339368/56245029-5a589500-606c-11e9-85f3-af77617d9219.png)\n\n## [Example PDF](https://github.com/creecros/Task2pdf/blob/master/Misc/1_Test%20Task.pdf):\n\n\u003cimg src=\"https://user-images.githubusercontent.com/26339368/46361826-9f6f2980-c63c-11e8-9ab9-de9d76e85f2a.png\" width=\"400\"\u003e\n\u003cimg src=\"https://user-images.githubusercontent.com/26339368/46362125-70a58300-c63d-11e8-9abe-0b9765306440.png\" width=\"400\"\u003e\n\n*Embeded files in PDF\n\n![image](https://user-images.githubusercontent.com/26339368/104648839-c1f8a580-5681-11eb-8e6c-a6c7c8f7acd9.png)\n\n## Option panel located in Settings \u003e Application Settings \n\n![image](https://user-images.githubusercontent.com/26339368/104648953-f1a7ad80-5681-11eb-8c89-ff4beba6622c.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcreecros%2Ftask2pdf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcreecros%2Ftask2pdf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcreecros%2Ftask2pdf/lists"}