← Open Source
ngafar

llama-scan

Transcribe PDFs with local LLMs.

AI EngineeringGive agent knowledgePython
Open on GitHub
Momentum
+0stars in 24 hours0.0%
807
Stars
56
Forks
+-2
This week
3
Contributors
Created 2025-06-11 · Updated 2026-10-13 · #13620 today
Top developers
ngafarFlorents-TselaiLasseSchmidt

ngafar/llama-scan is ranked 13,620 with 807 stars.

Same-category comparison

ngafar/llama-scan is ranked 13,620 among these 8 peers; ThereforeGames/unprompted is ranked 13,616.

Same-category comparison
NameRankMetrics
gszhangwei/open-spdd13,590
Language:
Go
Stars:
810
Forks:
72
Description:
A SPDD AI Coding Assistant Command Template Manager.
oliveirabruno01/babyagi-asi13,593
Language:
Python
Stars:
810
Forks:
93
Description:
BabyAGI: an Autonomous and Self-Improving agent, or BASI.
rvion/CushyStudio13,603
Language:
TypeScript
Stars:
809
Forks:
56
Description:
🛋 The AI and Generative Art platform for everyone.
ThereforeGames/unprompted13,616
Language:
Python
Stars:
807
Forks:
71
Description:
Templating language written for Stable Diffusion workflows. Available as an extension for the Automatic1111 WebUI.
lobehub/lobe-tts13,625
Language:
TypeScript
Stars:
806
Forks:
104
Description:
🎤 Lobe TTS - A high-quality & reliable TTS/STT library for Server and Browser.
mybigday/whisper.rn13,626
Language:
TypeScript
Stars:
806
Forks:
65
Description:
React Native binding of whisper.cpp.
thisjam/comfyui-sixgod_prompt13,629
Language:
Vue
Stars:
806
Forks:
27
Blazity/shadcn-chatbot-kit13,632
Language:
TypeScript
Stars:
805
Forks:
70
Description:
🤖 Beautifully designed chatbot components based on shadcn/ui.
Key parameters and specifications
Key parameters and specifications
ParameterValue
LanguagePython
CategoryAI Engineering
SubcategoryGive agent knowledge
KeywordsData processing, LocalAI, OCR
Stars807
Forks56
Contributors3
Created date2025-06-11
Updated date2026-10-13
Stars in 1 day0
Stars in 7 days-2
Rank13,620
Previous rank13,513
Rank change-107
7-day stars rank18,420
Previous 7-day stars rank18,356
7-day stars rank change-64
Total stars rank13,259
Previous total stars rank13,232
Total stars rank change-27
CountryUSA
README summary

llama-scan A tool for converting PDFs to text files using Ollama. Features Convert PDFs to text files locally, no token costs. Use the latest multimodal models supported by Ollama. Turn images and diagrams into detailed text descriptions. 10+ Ollama installed and running locally Installing Ollama and the Default Model 1. Pull the default model: Installation Install using pip: or uv: Usage Basic usage: Options , : Output directory (default: "output") , : Ollama model to use (default: "qwen2. 5vl:latest") , : Start page number

(default: 0) , : End page number (default: 0) , : Optional path to a text file containing additional instructions (default: None) , : Ollama server URL (default: " , : Width of the resized images (0 to skip resizing; default: 0) , : Keep the intermediate image files (default: False) , : Write merged output to stdout (default: False) Examples Process specific pages: Use a different Ollama model:

Frequently asked questions

How many stars and forks are recorded?

ngafar/llama-scan has 807 stars and 56 forks.

What is the repository rank?

ngafar/llama-scan is ranked 13,620.

What language and category are recorded?

ngafar/llama-scan has 807 stars, uses Python and belongs to AI Engineering.

Which repository is closest in rank?

ngafar/llama-scan is compared with ThereforeGames/unprompted, ranked 13,616 with 807 stars.

README

llama-scan

A tool for converting PDFs to text files using Ollama.

Features

  • Convert PDFs to text files locally, no token costs.
  • Use the latest multimodal models supported by Ollama.
  • Turn images and diagrams into detailed text descriptions.

Requirements

  • Python 3.10+
  • Ollama installed and running locally

Installing Ollama and the Default Model

  1. Install Ollama
  2. Pull the default model:
ollama run qwen2.5vl:latest

Installation

Install using pip:

pip install llama-scan

or uv:

uv tool install llama-scan

Usage

Basic usage:

llama-scan path/to/your/file.pdf

Options

  • --output, -o: Output directory (default: "output")
  • --model, -m: Ollama model to use (default: "qwen2.5vl:latest")
  • --start, -s: Start page number (default: 0)
  • --end, -e: End page number (default: 0)
  • --custom-instructions, -c: Optional path to a text file containing additional instructions (default: None)
  • --server-url, -u: Ollama server URL (default: "http://localhost:11434")
  • --width, -w: Width of the resized images (0 to skip resizing; default: 0)
  • --keep-images, -k: Keep the intermediate image files (default: False)
  • --stdout, -s: Write merged output to stdout (default: False)

Examples

Process specific pages:

llama-scan document.pdf --start 1 --end 5

Use a different Ollama model:

llama-scan document.pdf --model qwen2.5vl:3b
Nearby in the ranking
Similar items