Files
pdf-toolkit/scripts/run-api.sh
CM Consultor 84d4a1eab5 feat: initial release — pdf-toolkit v1.0.0
Core operations:
- Compress PDF (3 presets: screen, ebook, printer, prepress)
- PDF/A detection and conversion to regular PDF
- Compress while preserving PDF/A structure
- Merge multiple PDFs
- Split/extract pages by range
- Rotate pages
- Extract text and images

Interface:
- Streamlit web GUI (app.py)
- FastAPI REST API with auto OpenAPI docs (api.py)

Docs:
- README.md, ARCHITECTURE.md, API.md
- Unit tests (15/15 passing)
2026-08-09 02:15:22 +00:00

8 lines
267 B
Bash
Executable File

#!/usr/bin/env bash
# Inicia a API REST do pdf-toolkit
set -e
cd "$(dirname "$0")/.."
echo "🔌 pdf-toolkit — API"
echo " Swagger: http://localhost:8555/docs"
echo " Redoc: http://localhost:8555/redoc"
exec uvicorn api:app --host 0.0.0.0 --port 8555 --reload