{"id":15671534,"url":"https://github.com/winstxnhdw/tectonic-api","last_synced_at":"2025-05-06T20:25:47.483Z","repository":{"id":177386449,"uuid":"660323703","full_name":"winstxnhdw/tectonic-api","owner":"winstxnhdw","description":"A simple axum API for compiling TeX/LaTeX with Tectonic, hosted on Hugging Face Spaces.","archived":false,"fork":false,"pushed_at":"2025-05-01T11:00:55.000Z","size":609,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-01T12:19:12.031Z","etag":null,"topics":["axum","docker","gxhash","huggingface-spaces","latex","moka","tectonic"],"latest_commit_sha":null,"homepage":"https://huggingface.co/spaces/winstxnhdw/tectonic-api","language":"Rust","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/winstxnhdw.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":"2023-06-29T18:48:07.000Z","updated_at":"2025-05-01T11:00:53.000Z","dependencies_parsed_at":"2024-02-12T09:43:10.507Z","dependency_job_id":"56cc0182-2496-4273-a1a2-0ea6308300db","html_url":"https://github.com/winstxnhdw/tectonic-api","commit_stats":{"total_commits":181,"total_committers":3,"mean_commits":"60.333333333333336","dds":0.3591160220994475,"last_synced_commit":"5f024bcc6fe6a6ba702fa1f5c6650a28f94933fc"},"previous_names":["winstxnhdw/tectonic-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/winstxnhdw%2Ftectonic-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/winstxnhdw%2Ftectonic-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/winstxnhdw%2Ftectonic-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/winstxnhdw%2Ftectonic-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/winstxnhdw","download_url":"https://codeload.github.com/winstxnhdw/tectonic-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252763094,"owners_count":21800426,"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":["axum","docker","gxhash","huggingface-spaces","latex","moka","tectonic"],"created_at":"2024-10-03T15:03:16.233Z","updated_at":"2025-05-06T20:25:47.457Z","avatar_url":"https://github.com/winstxnhdw.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tectonic-api\n\n[![main.yml](https://github.com/winstxnhdw/tectonic-api/actions/workflows/main.yml/badge.svg)](https://github.com/winstxnhdw/tectonic-api/actions/workflows/main.yml)\n[![build.yml](https://github.com/winstxnhdw/tectonic-api/actions/workflows/build.yml/badge.svg)](https://github.com/winstxnhdw/tectonic-api/actions/workflows/build.yml)\n[![warmer.yml](https://github.com/winstxnhdw/tectonic-api/actions/workflows/warmer.yml/badge.svg)](https://github.com/winstxnhdw/tectonic-api/actions/workflows/warmer.yml)\n[![dependabot.yml](https://github.com/winstxnhdw/tectonic-api/actions/workflows/dependabot.yml/badge.svg)](https://github.com/winstxnhdw/tectonic-api/actions/workflows/dependabot.yml)\n\n[![Open in Spaces](https://huggingface.co/datasets/huggingface/badges/raw/main/open-in-hf-spaces-md-dark.svg)](https://huggingface.co/spaces/winstxnhdw/tectonic-api)\n[![Open a Pull Request](https://huggingface.co/datasets/huggingface/badges/raw/main/open-a-pr-md-dark.svg)](https://github.com/winstxnhdw/tectonic-api/compare)\n\nA simple [axum](https://github.com/tokio-rs/axum) API for compiling TeX/LaTeX with [Tectonic](https://github.com/tectonic-typesetting/tectonic), hosted on Hugging Face Spaces.\n\n## Usage\n\nSimply cURL the endpoint like in the following.\n\n```bash\ncurl -O 'https://winstxnhdw-tectonic-api.hf.space/api/v1/compile' \\\n     -H 'Content-Type: application/json' \\\n     -d '{ \"latex\": \"\\\\\\documentclass{article}\\\\\\begin{document}Hello, world!\\\\\\end{document}\" }'\n```\n\n## Development\n\nYou can spin the server up locally with the following.\n\n```bash\ndocker build -f Dockerfile.build -t tectonic-api .\ndocker run --rm -e APP_PORT=7860 -p 7860:7860 tectonic-api\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwinstxnhdw%2Ftectonic-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwinstxnhdw%2Ftectonic-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwinstxnhdw%2Ftectonic-api/lists"}