A simple wrapper around Texify that exposes web api, used by my Obsidian Plugin, obsidian-ocrlatex.
- Create python venv,
python -m venv myenv
- Source your venv,
source myenv/bin/activate
- Install requirements
pip install flask texify
Run by:
- Sourcing your venv if not already done,
python -m venv myenv
- Running main.py,
python main.py
- Download this repository,
git clone https://github.com/Hugo-Persson/texify-wep-api.git
- Enter the repository directory,
cd texify-wep-api
- Build Docker image,
docker build -t texify-wep-api .
- Running the Docker container,
docker run -d -p 5000:5000 texify-wep-api