How qingtian1927/seartxt-and-texter works
SearTxT and Texter are complementary command-line tools: Texter converts supported documents in a chosen directory to text, then SearTxT searches text files there for exact or approximate matches. Their interactive command loops also configure directories, list files, and control conversion or search options; shared utilities provide configuration, path, display, and thread helpers. The main scripts and shared utility are indexed and excerpted; the branches are older variants, not a separate runtime stage. Conversion-to-search is documented, but no direct invocation between the tools is shown.
Main entry points: SearTxT.py SearTxT CLI · Texter.py Texter CLI · coreutils.py Shared helpers
Components 14
Text search
- SearTxT CLI
SearTxT.py - Search modes
SearTxT.py - Target text files
- Match results
SearTxT.py
Document conversion
- Texter CLI
Texter.py - Conversion jobs
Texter.py - Format handlers
Texter.py - Pandoc runtime
- pdfminer.six
- Converted text files
Shared utilities
- Shared helpers
coreutils.py - Settings files
- Target directory
Other components
- CLI user
Connections 16
- CLI user → SearTxT CLI: enters queries
README.md - SearTxT CLI → Search modes: dispatches search
SearTxT.py - Search modes → Target text files: reads text
README.md - Search modes → Match results: returns matches
SearTxT.py - CLI user → Texter CLI: starts conversion
README.md - Texter CLI → Conversion jobs: starts jobs
Texter.py - Conversion jobs → Format handlers: dispatches files
Texter.py - Format handlers → Pandoc runtime: converts DOCX
Texter.py - Format handlers → pdfminer.six: extracts PDF text
Texter.py - Format handlers → Converted text files: writes text
README.md - Converted text files → Target text files: enables search
README.md - SearTxT CLI → Shared helpers: uses helpers
SearTxT.py - Texter CLI → Shared helpers: uses helpers
Texter.py - Shared helpers → Settings files: reads and writes
coreutils.py - SearTxT CLI → Target directory: searches directory
README.md - Texter CLI → Target directory: converts directory
README.md