{"id":24772587,"url":"https://github.com/firefly-cpp/latex-clean-fig","last_synced_at":"2026-04-30T17:32:03.358Z","repository":{"id":272132151,"uuid":"914347522","full_name":"firefly-cpp/latex-clean-fig","owner":"firefly-cpp","description":"A tool that removes unused image files from a LaTeX project directory","archived":false,"fork":false,"pushed_at":"2026-01-24T21:12:19.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-25T08:32:16.802Z","etag":null,"topics":["figures","latex","latex-template","paper-submission"],"latest_commit_sha":null,"homepage":"","language":"Python","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/firefly-cpp.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-01-09T12:22:27.000Z","updated_at":"2026-01-24T21:09:03.000Z","dependencies_parsed_at":"2025-01-19T05:01:51.693Z","dependency_job_id":null,"html_url":"https://github.com/firefly-cpp/latex-clean-fig","commit_stats":null,"previous_names":["firefly-cpp/latex-clean-fig"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/firefly-cpp/latex-clean-fig","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firefly-cpp%2Flatex-clean-fig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firefly-cpp%2Flatex-clean-fig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firefly-cpp%2Flatex-clean-fig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firefly-cpp%2Flatex-clean-fig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/firefly-cpp","download_url":"https://codeload.github.com/firefly-cpp/latex-clean-fig/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firefly-cpp%2Flatex-clean-fig/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32472396,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"ssl_error","status_checked_at":"2026-04-30T13:12:06.837Z","response_time":57,"last_error":"SSL_read: 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":["figures","latex","latex-template","paper-submission"],"created_at":"2025-01-29T04:23:28.387Z","updated_at":"2026-04-30T17:32:03.353Z","avatar_url":"https://github.com/firefly-cpp.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n    latex-clean-fig\n\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003cimg alt=\"PyPI version\" src=\"https://img.shields.io/pypi/v/latex-clean-fig.svg\" /\u003e\n    \u003cimg alt=\"PyPI - Python Version\" src=\"https://img.shields.io/pypi/pyversions/latex-clean-fig.svg\"\u003e\n    \u003ca href=\"https://pepy.tech/project/latex-clean-fig\"\u003e\n        \u003cimg alt=\"PyPI - Downloads\" src=\"https://img.shields.io/pypi/dm/latex-clean-fig.svg\"\u003e\n    \u003c/a\u003e\n    \u003cimg alt=\"Downloads\" src=\"https://static.pepy.tech/badge/latex-clean-fig\"\u003e\n    \u003cimg alt=\"latex-clean-fig\" src=\"https://github.com/firefly-cpp/latex-clean-fig/actions/workflows/test.yml/badge.svg\" /\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003cimg alt=\"Repository size\" src=\"https://img.shields.io/github/repo-size/firefly-cpp/latex-clean-fig\" /\u003e\n    \u003cimg alt=\"License\" src=\"https://img.shields.io/github/license/firefly-cpp/latex-clean-fig.svg\" /\u003e\n    \u003cimg alt=\"GitHub commit activity\" src=\"https://img.shields.io/github/commit-activity/w/firefly-cpp/latex-clean-fig.svg\"\u003e\n    \u003ca href=\"https://isitmaintained.com/project/firefly-cpp/latex-clean-fig\"\u003e\n        \u003cimg alt=\"Percentage of issues still open\" src=\"https://isitmaintained.com/badge/open/firefly-cpp/latex-clean-fig.svg\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://isitmaintained.com/project/firefly-cpp/latex-clean-fig\"\u003e\n        \u003cimg alt=\"Average time to resolve an issue\" src=\"https://isitmaintained.com/badge/resolution/firefly-cpp/latex-clean-fig.svg\"\u003e\n    \u003c/a\u003e\n    \u003cimg alt=\"GitHub contributors\" src=\"https://img.shields.io/github/contributors/firefly-cpp/latex-clean-fig.svg\"/\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"#-motivation\"\u003e🎯 Motivation\u003c/a\u003e •\n    \u003ca href=\"#-installation\"\u003e📦 Installation\u003c/a\u003e •\n    \u003ca href=\"#-license\"\u003e🔑 License\u003c/a\u003e\n\u003c/p\u003e\n\n## 🎯 Motivation\n\nThe package provides a simple command-line tool to help authors clean up unused image files in a project directory before submitting a paper. Multiple versions of figures often accumulate in the folder during the writing process, making it cluttered and difficult to manage. This tool scans the LaTeX file for figures included using the \\includegraphics command and compares them against the image files in the specified folder. It identifies unused images and removes them, leaving only the files referenced in the LaTeX document. This is especially useful for ensuring the project directory remains tidy and submission-ready.\n\n## 📦 Installation\n\n### pip\n\nInstall `latex-clean-fig` with pip:\n\n```sh\npip install latex-clean-fig\n```\n\n### How to use?\n\n```sh\nclean-fig TEX_FILE FOLDER\n```\nwhere:\n\n- `TEX_FILE`: Path to your LaTeX file.\n- `FOLDER`: Path to the folder containing image files.\n\nThis will scan TEX_FILE for included figures and remove any unused image files from the FOLDER directory.\n\n## 🔑 License\n\nThis package is distributed under the MIT License. This license can be found online at \u003chttp://www.opensource.org/licenses/MIT\u003e.\n\n## Disclaimer\n\nThis package is provided as-is, and there are no guarantees that it fits your purposes or that it is bug-free. Use it at your own risk!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffirefly-cpp%2Flatex-clean-fig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffirefly-cpp%2Flatex-clean-fig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffirefly-cpp%2Flatex-clean-fig/lists"}