Skip to content
Back to skills

Interactive Apps And Api

ASecurity

"Guides LaTeX-OCR GUI, FastAPI, Streamlit, and Docker service

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 8, 2026
devopsbashfastapidockerapibackend

Works with

  • api

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 5 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill interactive-apps-and-api --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Interactive Apps And Api?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Interactive Apps And Api
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-interactive-apps-and-api/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-interactive-apps-and-api)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: interactive-apps-and-api
description: "Guides LaTeX-OCR GUI, FastAPI, Streamlit, and Docker service
  workflows for interactive or deployed pix2tex OCR."
disable-model-invocation: true
metadata:
  disco-role: operating
license: MIT
---

# Interactive Apps and API

Use this sub-skill when the user wants the `latexocr` desktop GUI, screenshot
capture, formatted output, the FastAPI service, Streamlit demo, Docker API
container, or optional dependency troubleshooting for these interactive routes.

## Quick Route

- For API, Streamlit, Docker, request formats, and ports, read
  [references/api-and-ui.md](references/api-and-ui.md).
- For desktop GUI behavior, screenshot tools, formatting, and desktop entries,
  read [references/gui-workflow.md](references/gui-workflow.md).
- For failures, read [references/troubleshooting.md](references/troubleshooting.md).
- Run [scripts/check_api_dependencies.py](scripts/check_api_dependencies.py)
  before starting a server; it imports the FastAPI app without loading the
  model startup event or launching uvicorn.

## API Summary

Install API dependencies:

```bash
pip install "pix2tex[api]"
```

Run the API app directly when model downloads and long-lived processes are
allowed:

```bash
uvicorn pix2tex.api.app:app --host 0.0.0.0 --port 8502
```

The app exposes `/` for health, `/predict/` for image uploads, and `/bytes/` for
raw byte uploads. Both prediction endpoints expect multipart field name `file`.

## GUI Summary

Install GUI dependencies:

```bash
pip install "pix2tex[gui]"
latexocr
```

Use `SCREENSHOT_TOOL=grim`, `SCREENSHOT_TOOL=spectacle`,
`SCREENSHOT_TOOL=gnome-screenshot`, or `SCREENSHOT_TOOL=pil` to override the
screenshot backend when auto-detection picks the wrong one.

## Boundaries

- Core model inference and image-quality guidance belongs in
  [../ocr-inference/SKILL.md](../ocr-inference/SKILL.md).
- Dataset rendering, scraping, and training belong in sibling sub-skills.
- Do not launch GUI windows, desktop installers, uvicorn, Streamlit, or Docker
  unless the user explicitly wants a long-running or desktop-side-effect action.

Files in this skill

  • SKILL.md2.1 KB
  • references/api-and-ui.md1.5 KB
  • references/gui-workflow.md1.2 KB
  • references/troubleshooting.md1.5 KB
  • scripts/check_api_dependencies.py1.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.