{"id":23701011,"url":"https://github.com/lennetech/latex2pdf","last_synced_at":"2026-01-29T09:30:13.250Z","repository":{"id":98829925,"uuid":"530795568","full_name":"lenneTech/latex2pdf","owner":"lenneTech","description":"Docker Image to convert LaTeX to PDF","archived":false,"fork":false,"pushed_at":"2022-09-15T08:37:47.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-30T09:31:45.327Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/lenneTech.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":"2022-08-30T19:11:49.000Z","updated_at":"2022-08-30T19:15:33.000Z","dependencies_parsed_at":"2023-05-25T16:45:19.101Z","dependency_job_id":null,"html_url":"https://github.com/lenneTech/latex2pdf","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lenneTech%2Flatex2pdf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lenneTech%2Flatex2pdf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lenneTech%2Flatex2pdf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lenneTech%2Flatex2pdf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lenneTech","download_url":"https://codeload.github.com/lenneTech/latex2pdf/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239776523,"owners_count":19695120,"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":[],"created_at":"2024-12-30T09:31:29.736Z","updated_at":"2026-01-29T09:30:13.013Z","avatar_url":"https://github.com/lenneTech.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# latex2pdf\n\nDocker Image to convert LaTeX to PDF\n\nYou can find this image in Docker Hub:\nhttps://hub.docker.com/repository/docker/lennetech/latex2pdf\n\nIntegration in `docker-compose.yml`:\n```\n  latex2pdf:\n    image: lennetech/latex2pdf\n    ports:\n      - 80:80\n    volumes:\n      - /PATH_TO_ASSETS_DIR:/assets\n```\nand start with `docker-compse up`\n\nUsage via POST request with LaTeX in body:\n```\ncurl --data-binary \"@/path/to/latex/file\" --output ./latex.pdf http://localhost\n```\n\nAssets (like images) can be integrated into the LaTeX document via /assets/PATH_TO_ASSET \n(see values in docker-compose.yml).\n\n## Development \u0026 Deployment\n\n### Build\n```\ndocker build -t latex2pdf .\n```\n\n### Run\n\nRun with name\n```\ndocker run -dp 80:80 latex2pdf\n```\n\n### Stop\n```\ndocker stop $(docker ps -a -q --filter ancestor=latex2pdf --format=\"{{.ID}}\")\n```\n\n### Stop and remove\n```\ndocker rm $(docker stop $(docker ps -a -q --filter ancestor=latex2pdf --format=\"{{.ID}}\"))\n```\n\n### Build and push to Docker Hub\n\nInstall docker:\n[https://docs.docker.com/get-started/#download-and-install-docker-desktop](https://docs.docker.com/get-started/#download-and-install-docker-desktop)\n\n```\ndocker login --username=USERNAME\n    ENTER ACCESS_TOKEN\ndocker buildx create --use\ndocker buildx build --platform linux/amd64,linux/arm64 --push -t lennetech/latex2pdf:latest .\n```\n\nFor multiple tags:\n\n```\ndocker login --username=USERNAME\n    ENTER ACCESS_TOKEN\ndocker buildx create --use\ndocker buildx build --platform linux/amd64,linux/arm64 -t lennetech/latex2pdf:VERSION -t lennetech/latex2pdf:latest .\ndocker push lennetech/latex2pdf --all-tags\n```\n\n(see [How to build x86 (and others!) Docker images on an M1 Mac](https://jaimyn.com.au/how-to-build-multi-architecture-docker-images-on-an-m1-mac/))\n\n## Sources\n\n### Documentation\n- [Orientation and setup](https://docs.docker.com/get-started/)\n- [Build and run your image](https://docs.docker.com/get-started/part2/)\n- [Share images on Docker Hub](https://docs.docker.com/get-started/part3/)\n\n### Reference\n- [Dockerfile](https://docs.docker.com/engine/reference/builder/)\n- [docker_login](https://docs.docker.com/engine/reference/commandline/login/)\n- [docker build](https://docs.docker.com/engine/reference/commandline/build/)\n- [docker push](https://docs.docker.com/engine/reference/commandline/push/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flennetech%2Flatex2pdf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flennetech%2Flatex2pdf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flennetech%2Flatex2pdf/lists"}