Skip to content

The web application for Texo, a minimalist SOTA LaTeX OCR model which contains only 20M parameters runs in browser. | 超轻量SOTA LaTeX公式识别模型,20M参数量的 web 应用仓库

License

Notifications You must be signed in to change notification settings

alephpi/Texo-web

Repository files navigation

Texo-web

The web application for Texo. Built with Nuxt.

For Windows users, a community-contributed installable version implementation is available here based on Tauri. (Thanks to @xjhaz)

Note

Feel honored been collected in @ruanyf's weekly, if you are a user from there, and have an issue on visit the website, please leave a message in Texo-web repo. Due to my limited front-end skills, please contribute to help me in any form.

很荣幸被 《阮一峰的科技周刊》 收录,如果你从那里过来,并且在访问 demo 网站时出现 bug,请移步至 Texo-web 仓库报告。由于我前端水平有限,欢迎各位不吝赐教。

Todo

  • support user from chinese mainland (by switching remote source)
  • model loading progress bar
  • better formatting
  • model switching (support multiple models under a model manager singleton)
  • array environment conversion to aligned and so on.
  • web-gpu
  • streaming output
  • pwa
  • typst conversion
  • mathml conversion (#13)
  • WYSIWYG editor

Acknowledgement

Develop

Warning

Maybe you already know, but please avoid using snap version node.js. It kills me 1 day of life.

Setup

Make sure to install the dependencies:

pnpm install

Development Server

Start the development server on http://localhost:3000:

pnpm dev

Production

Build the application for production:

pnpm build

Locally preview production build:

pnpm preview

Check out the deployment documentation for more information.

Note

Pay attention that pnpm preview would listen on http://[::]:3000 while this is not a secure context for caches api, and you will get 500: internal server error which is due to either insecure server or caches not defined error, instead you need to visit localhost:3000 as it is secure for the browser.

License

AGPL-3.0

Copyright (C) 2025-present Sicheng Mao [email protected]

About

The web application for Texo, a minimalist SOTA LaTeX OCR model which contains only 20M parameters runs in browser. | 超轻量SOTA LaTeX公式识别模型,20M参数量的 web 应用仓库

Topics

Resources

License

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •  

Languages