{"id":31784703,"url":"https://github.com/jutonic/inktex-watch","last_synced_at":"2025-10-10T11:17:51.998Z","repository":{"id":307906848,"uuid":"1031045800","full_name":"JuTonic/inktex-watch","owner":"JuTonic","description":"A companion binary for inkfig.nvim that monitors a directory for SVG file changes and autogenerates PDF and LaTeX overlays using Inkscape","archived":false,"fork":false,"pushed_at":"2025-08-06T17:55:32.000Z","size":34,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-10T05:25:58.726Z","etag":null,"topics":["inkscape","latex","neovim","neovim-plugins","rust"],"latest_commit_sha":null,"homepage":"https://github.com/JuTonic/Inkwatch","language":"Rust","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/JuTonic.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,"zenodo":null}},"created_at":"2025-08-02T22:18:02.000Z","updated_at":"2025-08-07T09:22:24.000Z","dependencies_parsed_at":"2025-08-03T10:47:29.745Z","dependency_job_id":null,"html_url":"https://github.com/JuTonic/inktex-watch","commit_stats":null,"previous_names":["jutonic/inkwatch","jutonic/inktex-watch"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/JuTonic/inktex-watch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuTonic%2Finktex-watch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuTonic%2Finktex-watch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuTonic%2Finktex-watch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuTonic%2Finktex-watch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JuTonic","download_url":"https://codeload.github.com/JuTonic/inktex-watch/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuTonic%2Finktex-watch/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279003729,"owners_count":26083610,"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","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"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":["inkscape","latex","neovim","neovim-plugins","rust"],"created_at":"2025-10-10T11:17:47.021Z","updated_at":"2025-10-10T11:17:51.984Z","avatar_url":"https://github.com/JuTonic.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Inktex-watch\n\n**Inktex-watch** is a background CLI tool that watches a directory for changes to SVG files and automatically exports them to PDF and LaTeX overlay files using [Inkscape](https://inkscape.org). It is designed to be used alongside the [inktex.nvim](https://github.com/JuTonic/inktex.nvim) plugin to automate figure workflows in LaTeX documents.\n\n## Usage\n\nTo start watching the `./figures` directory for changes, simply run:\n\n```bash\ninktex-watch ./figures\n```\n\nWhenever you create or save a file like:\n```bash\n./figures/picture.svg\n```\ninkwatch will automatically generate overlay files:\n```bash\n./figures/picture.pdf\n./figures/picture.pdf_tex\n```\nIf you delete `picture.svg`, the corresponding `.pdf` and `.pdf_tex` files will be deleted.\n\nAvaliable options are:\n\n```\ninktex-watch [DIR] (OPTIONS)\n\n[DIR] - REQUIRED\n  directory to watch for changes\n\n(OPTIONS)\n  --help or -h            Print this message\n  --version or -v         Print version\n  --inkscape-path [PATH]  Set path to inkscape binary\n  --aux-prefix [STR]      Set prefix added to pdf and pdf_tex files\n  --do-not-regenerate     Do not regenerate pdf and pdf_tex files at first run\n  --not-recursively       Do not watch for changes in subdirectories\n```\n\n## Build\n\nPrerequisites:\n- Rust toolchain (see [rustup](https://rustup.rs/))\n\nRun:\n```\ncargo install inktex-watch\n```\n\nOr build locally:\n\n```bash\ngit clone https://github.com/JuTonic/inktex-watch.git\ncd inktex-watch\ncargo build --release\n```\nThe binary will be created at `./target/release/inktex-watch`.\n\nTo install system-wide run:\n\n```bash\ncargo install --path .\n```\nMake sure that `~/.cargo/bin` is in your `PATH`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjutonic%2Finktex-watch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjutonic%2Finktex-watch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjutonic%2Finktex-watch/lists"}