{"id":14965741,"url":"https://github.com/devinit/di-pdfs","last_synced_at":"2025-10-25T12:30:46.651Z","repository":{"id":40308052,"uuid":"113323353","full_name":"devinit/di-pdfs","owner":"devinit","description":"For creating different DI PDFs in a streamlined manner","archived":false,"fork":false,"pushed_at":"2024-09-27T19:11:45.000Z","size":6024,"stargazers_count":3,"open_issues_count":21,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-31T07:11:13.432Z","etag":null,"topics":["pdf-generation","puppeteer","react","typescript"],"latest_commit_sha":null,"homepage":"http://212.111.41.68:7777/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devinit.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2017-12-06T13:58:38.000Z","updated_at":"2019-11-26T22:13:24.000Z","dependencies_parsed_at":"2023-09-26T10:43:47.058Z","dependency_job_id":"9d07f187-4aaa-42da-8f1f-9b036bb6553b","html_url":"https://github.com/devinit/di-pdfs","commit_stats":{"total_commits":264,"total_committers":5,"mean_commits":52.8,"dds":"0.40909090909090906","last_synced_commit":"8436b744950dde0a25cfb5ae8f3613bc90ea90c7"},"previous_names":[],"tags_count":33,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devinit%2Fdi-pdfs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devinit%2Fdi-pdfs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devinit%2Fdi-pdfs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devinit%2Fdi-pdfs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devinit","download_url":"https://codeload.github.com/devinit/di-pdfs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238137867,"owners_count":19422716,"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":["pdf-generation","puppeteer","react","typescript"],"created_at":"2024-09-24T13:35:13.573Z","updated_at":"2025-10-25T12:30:41.011Z","avatar_url":"https://github.com/devinit.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"### DI pdf creation app\n_____________________________\n\n[![Build Status](https://travis-ci.org/devinit/di-pdfs.svg?branch=master)](https://travis-ci.org/devinit/di-pdfs)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/e501f77141774b74979c60d5cfd219ac)](https://www.codacy.com/app/epicallan/di-pdfs?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=devinit/di-pdfs\u0026amp;utm_campaign=Badge_Grade)\n\nFor creating DI (ITEP) pdfs\n______________________________\n\nThis project structure is based on [lerna](https://github.com/lerna/lerna). The APIs \u0026 frontends of different pdf projects are different packages with in the same repo.\n\nThe pdf-base package contains components that will get re-used by current \u0026 future pdf packages. Same applies to the api-base package.\n\nThe thought process behind this project structure is to have re-usable atomic packages / components to re-use for all future and current pdf jobs\n\nGoals\n___________________\n\n- [x] To have ready to go pdf / web templates i.e have re-usable components\n- [x] Auto generate pdfs from web page equivalents using [puppeteer](https://github.com/GoogleChrome/puppeteer)\n- [ ] Create static html versions of pdf / web pages for easy insertion into other webapps (workes -- ish)\n- [x] Have a modular extensible platform for future re-use\n\nTools\n_________\n\n\nInstallations \u0026 setup\n\n```\nnpm i -g lerna yarn \nnpm install # from root\nlerna bootstrap # installs externa dependencies\n```\n\n\nUseful commands\n______________\n\n```\nlerna bootstrap # installs all package dependencies\nlerna run lint # lints all packages\nlerna run build \u0026\u0026 lerna run start # starts api \u0026 pdf front end\nlerna run dev # runs packages in dev mode\nlerna run build --scope @devinit/pdf-base # running a command in say one package\n\n```\n\nsee [lerna repo readme](https://github.com/lerna/lerna) for more.\n\nTODO\n\n------\n\n- [ ] add storybook snapshot testing","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevinit%2Fdi-pdfs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevinit%2Fdi-pdfs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevinit%2Fdi-pdfs/lists"}