{"id":40600199,"url":"https://github.com/cscart/pdf-infrastructure","last_synced_at":"2026-01-21T04:31:07.450Z","repository":{"id":44472958,"uuid":"329579735","full_name":"cscart/pdf-infrastructure","owner":"cscart","description":"Service that converts HTML documents to PDF","archived":false,"fork":false,"pushed_at":"2024-03-06T07:20:05.000Z","size":70921,"stargazers_count":1,"open_issues_count":1,"forks_count":2,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-03-26T15:53:01.239Z","etag":null,"topics":["docker","docker-compose","pdf"],"latest_commit_sha":null,"homepage":"https://www.cs-cart.com/marketplace-builder","language":"Dockerfile","has_issues":false,"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/cscart.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}},"created_at":"2021-01-14T10:22:39.000Z","updated_at":"2023-07-21T13:09:35.000Z","dependencies_parsed_at":"2023-02-16T16:16:26.137Z","dependency_job_id":null,"html_url":"https://github.com/cscart/pdf-infrastructure","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cscart/pdf-infrastructure","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cscart%2Fpdf-infrastructure","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cscart%2Fpdf-infrastructure/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cscart%2Fpdf-infrastructure/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cscart%2Fpdf-infrastructure/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cscart","download_url":"https://codeload.github.com/cscart/pdf-infrastructure/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cscart%2Fpdf-infrastructure/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28626215,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T02:47:06.670Z","status":"ssl_error","status_checked_at":"2026-01-21T02:45:44.886Z","response_time":86,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["docker","docker-compose","pdf"],"created_at":"2026-01-21T04:31:07.396Z","updated_at":"2026-01-21T04:31:07.445Z","avatar_url":"https://github.com/cscart.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PDF Converter Infrastructure\n\nService that converts HTML documents to PDF.\n\n# System requirements\n\n* Docker\n* Docker Compose\n\n# Running locally\n\n1. Clone the environment repository:\n    ```\n    $ git clone https://github.com/cscart/pdf-infrastructure.git pdf-infrastructure\n    $ cd pdf-infrastructure\n    ```\n2. Put your SSL certificates into the `ssl` directory. Certificate and key files should be named after the domain your service will be hosted at. E.g., if you host your PDF Converter at https://pdf.example.com, certificate must be named `pdf.example.com.crt` and key `pdf.example.com.key`.\n3. Clone source code of the [converter](https://github.com/cscart/pdf) itself into the `compose/images/pdf` directory:\n    ```\n    $ git clone https://github.com/cscart/pdf.git compose/images/pdf\n    ```\n4. In the `compose` directory:\n    1. Copy `.env.dist` to `.env`.\n    2. Set the domain of your service in the `GENWORKER_ADDRESS` variable and its external IP in the `GW_EXTERNAL_IP` variable in the `.env` file.\n5. Run `make gw_base` in the root directory to build images.\n6. Run `make gw_prod` to start project containers.\n7. Run `make gw_prp` to install composer packages.\n\n# Running with previously built image from Docker registry\n\n1. Clone the environment repository:\n    ```\n    $ git clone https://github.com/cscart/pdf-infrastructure.git pdf-infrastructure\n    $ cd pdf-infrastructure\n    ```\n2. Put your SSL certificates into the `ssl` directory. Certificate and key files should be named after the domain your service will be hosted at. E.g., if you host your PDF Converter at https://pdf.example.com, certificate must be named `pdf.example.com.crt` and key `pdf.example.com.key`.\n3. Clone source code of the [converter](https://github.com/cscart/pdf) itself into the `compose/images/pdf` directory:\n    ```\n    $ git clone https://github.com/cscart/pdf.git compose/images/pdf\n    ```\n4. In the `compose` directory:\n    1. Copy `.env.dist` to `.env`.\n    2. Set the domain of your service in the `GENWORKER_ADDRESS` variable and its external IP in the `GW_EXTERNAL_IP` variable in the `.env` file.\n    3. Set the address of the Docker registry in the `REGISTRY` variable in the `.env` file.\n    User must be logged in in the Docker registry to interact with it.\n5. Run `make gw_registry` in the root directory to download built images from the Docker registry.\n6. Run `make gw_prp_registry` to install composer packages.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcscart%2Fpdf-infrastructure","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcscart%2Fpdf-infrastructure","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcscart%2Fpdf-infrastructure/lists"}