{"id":17362795,"url":"https://github.com/grebtsew/overleaf-latex-compiler","last_synced_at":"2026-04-20T10:06:10.444Z","repository":{"id":129301037,"uuid":"595103630","full_name":"grebtsew/Overleaf-LaTeX-Compiler","owner":"grebtsew","description":"Scripts and docker container for local compile of LaTeX projects of any size.","archived":false,"fork":false,"pushed_at":"2023-05-17T14:58:37.000Z","size":1798,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-27T17:35:12.722Z","etag":null,"topics":["compile","docker","docker-compose","latex","overleaf"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/grebtsew.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":"2023-01-30T12:03:11.000Z","updated_at":"2023-05-17T13:09:15.000Z","dependencies_parsed_at":"2025-02-01T20:42:58.393Z","dependency_job_id":"6defb260-c9e1-401c-a16b-fadc82a9b5b1","html_url":"https://github.com/grebtsew/Overleaf-LaTeX-Compiler","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/grebtsew/Overleaf-LaTeX-Compiler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grebtsew%2FOverleaf-LaTeX-Compiler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grebtsew%2FOverleaf-LaTeX-Compiler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grebtsew%2FOverleaf-LaTeX-Compiler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grebtsew%2FOverleaf-LaTeX-Compiler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/grebtsew","download_url":"https://codeload.github.com/grebtsew/Overleaf-LaTeX-Compiler/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grebtsew%2FOverleaf-LaTeX-Compiler/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32042323,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T00:18:06.643Z","status":"online","status_checked_at":"2026-04-20T02:00:06.527Z","response_time":94,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["compile","docker","docker-compose","latex","overleaf"],"created_at":"2024-10-15T19:43:24.619Z","updated_at":"2026-04-20T10:06:10.416Z","avatar_url":"https://github.com/grebtsew.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Overleaf-LaTeX-Compiler\n![license](https://img.shields.io/github/license/grebtsew/Overleaf-LaTeX-Compiler)\n![size](https://img.shields.io/github/repo-size/grebtsew/Overleaf-LaTeX-Compiler)\n![commit](https://img.shields.io/github/last-commit/grebtsew/Overleaf-LaTeX-Compiler)\n\nSince Overleaf online free edition compile only offers a one minute maximum compile time for LaTeX projects this project was created to compile arbitrary LaTeX documents locally of any size. The project contains a docker container that facilitates the usage. The steps below describe how to compile your latex project. The implementation used `Latexmk`, similar to Overleaf, make sure that your projects LaTeX version is supported by `Latexmk` to ensure reliable compilation results.\n\n0. Install necessary programs needed to run the compile.tex.sh script (not needed if using docker). A list of the required programs can be found in the `Dockerfile`.\n1. Start by placing your LaTeX projects in the `./document` folder, either as a project folder or `.zip` download from `Overleaf`.  \n2. Define path to the main project `.tex` file that should be compiled in the `compilelist.txt` file. The relative path is important, an example of an appropriate path would be: `documents/project/thesis_main.tex`. The implementation requires that the symbols `(` and ` ` does note exist in the path. Always leave a blank row at the end of the file.\n3. Run the compile script locally or via docker, see how below.\n4. The resulting compiled `.pdf` file is moved into the `./target` folder. Done! \n\n**NOTE**: The `./document` and `./target` folder is ignored by git tracking, it is safe to place documents within the folders.\n\n# Demo\n\n![Demo](./demo.gif)\n# Running Locally\nRun the  `compile.tex.sh` script:\n```\n# Make file executable:\nchmod +x ./compile.tex.sh\n# Run script:\n./compile.tex.sh\n```\n# Running on Docker\nThe `Dockerfile` contains programs and requirements needed to create the Ubuntu:22.04 docker containers. The containers can be executed directly through docker or with docker-compose. The command below will execute the container.\n```Bash\n# Using Docker\ndocker build -t overleaf_latex_compile .\ndocker run overleaf_latex_compile\n\n# Using Docker Compose\ndocker-compose up --build\n```\n**NOTE**: This container takes a long time to build the first time. It is primarily the downloading and installation of programs in the container that takes time. Once the container is built, it is convenient to run it every time documents are to be compiled.\n\n# Testing\n\nThe `./tests` folder contains an example latex project and a script to test compile it using docker-compose.\n\n# License\nThis project is created under a [MIT LICENSE](./LICENSE).\n\nCopyright (c) 2023 Grebtsew\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrebtsew%2Foverleaf-latex-compiler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgrebtsew%2Foverleaf-latex-compiler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrebtsew%2Foverleaf-latex-compiler/lists"}