Skip to content

v0.1: Stable Bilingual ArXiv Reader

Choose a tag to compare

@ZeyuChen ZeyuChen released this 23 Feb 01:52
· 9 commits to main since this release

ReadPaper v0.1 — First Stable Release

ReadPaper translates arXiv papers from English to Chinese while preserving full LaTeX layout, equations, citations, figures, and tables. Powered by Gemini 3.0 Flash (1M context window).

✨ Key Features

  • Whole-file translation: Each .tex file → single Gemini API call (no text-node extraction, no batching)
  • asyncio.gather concurrency: Parallel multi-file translation with configurable semaphore
  • AI compile fix loop: latexmk -xelatex with up to 3 Gemini-powered error fix retries
  • Dynamic compile timeout: 300s base + 60s per 10k output tokens (cap 1200s)
  • Token usage tracking: Real-time Gemini API token display in frontend (In/Out breakdown)
  • Concurrent translation guard: Prevents race conditions from duplicate submissions
  • Split-view reader: Side-by-side bilingual PDF viewing (Next.js frontend)
  • Cloud-native: Google Cloud Run + GCS deployment (cloudbuild.yaml)

✅ E2E Verified With

Paper arXiv Files Total Tokens
DeepSeek-V3 2412.19437 4/4 15,923
Qwen2.5 2412.15115 9/9 69,803
GLM-5 2602.15763 11/11 65,262