{"id":13523343,"url":"https://github.com/QuarticCat/detypify","last_synced_at":"2025-04-01T00:31:29.223Z","repository":{"id":230557555,"uuid":"774899977","full_name":"QuarticCat/detypify","owner":"QuarticCat","description":"Typst symbol classifier","archived":false,"fork":false,"pushed_at":"2024-04-14T01:03:15.000Z","size":2330,"stargazers_count":66,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-04-14T04:23:38.444Z","etag":null,"topics":["image-classification","typst"],"latest_commit_sha":null,"homepage":"https://detypify.quarticcat.com/","language":"Svelte","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/QuarticCat.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}},"created_at":"2024-03-20T12:01:23.000Z","updated_at":"2024-04-15T04:30:27.908Z","dependencies_parsed_at":"2024-04-15T04:30:24.075Z","dependency_job_id":"68db80d8-4726-42b8-8209-bf11a3e18b25","html_url":"https://github.com/QuarticCat/detypify","commit_stats":null,"previous_names":["quarticcat/detypify"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QuarticCat%2Fdetypify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QuarticCat%2Fdetypify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QuarticCat%2Fdetypify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QuarticCat%2Fdetypify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/QuarticCat","download_url":"https://codeload.github.com/QuarticCat/detypify/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222688173,"owners_count":17023297,"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":["image-classification","typst"],"created_at":"2024-08-01T06:00:59.171Z","updated_at":"2025-04-01T00:31:29.206Z","avatar_url":"https://github.com/QuarticCat.png","language":"Svelte","funding_links":[],"categories":["Svelte","Integrations \u0026 Tools","Python"],"sub_categories":["Online Tools"],"readme":"\u003cdiv align=\"center\"\u003e\n    \u003cimg src=\"./assets/logo.svg\" alt=\"logo\" width=\"150\"/\u003e\n    \u003ch1\u003eDetypify\u003c/h1\u003e\n    \u003cp\u003e\n        Can't remember some Typst symbol?\n        \u003ca href=\"https://detypify.quarticcat.com/\"\u003eDraw it!\u003c/a\u003e\n    \u003c/p\u003e\n\u003c/div\u003e\n\n## Features\n\n- **PWA**: installable and works offline\n- **Tiny model**: 1.3 MiB (ONNX), fast to load and run\n- **Decent symbol set**: support 400+ symbols\n\n## News\n\n- 2024-04-06: This project has been integrated into [Tinymist](https://github.com/Myriad-Dreamin/tinymist).\n\n## Associated Repos\n\n- [detypify-data](https://github.com/QuarticCat/detypify-data): Detypify's own dataset (your contributions on the website finally go here)\n- [detypify-external](https://github.com/QuarticCat/detypify-external): Necessary external data to bootstrap Detypify\n\n## Use As A Library\n\nUse the [detypify-service](https://www.npmjs.com/package/detypify-service) NPM package.\n\n## Self Deployment\n\nDownload files from [gh-pages](https://github.com/QuarticCat/detypify/tree/gh-pages) branch and host them using any HTTP server.\n\n## Development\n\nIf you want to build `migrate` or `train`, you need to pull submodules. ([Git LFS](https://git-lfs.com/) is required)\n\n```console\n$ git submodule update --init --recursive\n```\n\nIf you just want to build `web`, you can download `train-out` from [NPM](https://www.npmjs.com/package/detypify-service?activeTab=code) to project root.\n\n### Migrating\n\n```console\n$ uv sync              # install venv and denpendencies\n$ uv run migrate       # migrate\n$ uv run migrate-font  # strip font (optional)\n```\n\n### Training\n\n```console\n$ uv sync       # install venv and denpendencies\n$ uv run train  # train\n```\n\n### Web Page\n\n```console\n$ bun run --cwd=service copy  # copy train-out folder\n$ bun install                 # install dependencies\n$ bun run dev                 # start dev server\n$ bun run build               # build for production\n```\n\n### Logo \u0026 Favicons (Optional)\n\n1. Install *NewComputerModernMath* font ([guide](https://wiki.archlinux.org/title/TeX_Live#Making_fonts_available_to_Fontconfig)).\n\n1. Convert `manuscript.svg`.\n\n    ```console\n    $ cd assets\n    $ inkscape manuscript.svg --export-text-to-path --export-filename=logo.svg\n    $ bunx svgo --multipass logo.svg\n    ```\n\n1. Generate favicons by [Favicon InBrowser.App](https://favicon.inbrowser.app/tools/favicon-generator) using `logo.svg`.\n\n1. Move them to [web/public/icons](web/public/icons).\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FQuarticCat%2Fdetypify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FQuarticCat%2Fdetypify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FQuarticCat%2Fdetypify/lists"}