Detypify Save

Typst symbol classifier

Project README
logo

Detypify

Can't remember some Typst symbol? Draw it!

Features

  • PWA: installable and works offline
  • Tiny model: 1.3 MiB (ONNX), fast to load and run
  • Decent symbol set: support 400+ symbols

News

  • 2024-04-06: This project has been integrated into Tinymist. 🔗

Associated Repos

  • detypify-data: Detypify's own dataset (your contributions on the website finally go here)
  • detypify-external: Necessary external data to bootstrap Detypify

Development

If you want to build migrate or train, you need to pull submodules. (Git LFS is required)

$ git submodule update --init --recursive

If you just want to build web, you can download train-out.zip from releases and extract it to project folder.

Migrating

$ rye sync              # install venv and denpendencies
$ rye run migrate       # migrate
$ rye run migrate-font  # strip font (optional)

Training

$ rye sync       # install venv and denpendencies
$ rye run train  # train

Web Page

$ bun install    # install dependencies
$ bun run dev    # start dev server
$ bun run build  # build for production

Logo & Favicons (Optional)

  1. Install NewComputerModernMath font (guide)

  2. Convert manuscript.svg

    $ cd assets
    $ inkscape manuscript.svg --export-text-to-path --export-filename=logo.svg
    $ bunx svgo --multipass logo.svg
    
  3. Generate favicons by Favicon InBrowser.App using logo.svg

License

MIT

Open Source Agenda is not affiliated with "Detypify" Project. README Source: QuarticCat/detypify
Stars
84
Open Issues
0
Last Commit
2 weeks ago
Repository
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating