Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
docsight
command
Command docsight converts documents to Markdown, on the command line or as an MCP server over stdio.
|
Command docsight converts documents to Markdown, on the command line or as an MCP server over stdio. |
|
Package convert turns documents into Markdown for language models.
|
Package convert turns documents into Markdown for language models. |
|
internal
|
|
|
cfb
Package cfb reads Microsoft Compound File Binary files ([MS-CFB]), the "OLE2" container of legacy Office formats: .xls, .doc, .ppt and Outlook .msg.
|
Package cfb reads Microsoft Compound File Binary files ([MS-CFB]), the "OLE2" container of legacy Office formats: .xls, .doc, .ppt and Outlook .msg. |
|
cmd/pdfdump
command
Command pdfdump prints a PDF's internals with docsight's parser, for debugging extraction:
|
Command pdfdump prints a PDF's internals with docsight's parser, for debugging extraction: |
|
Package pdf reads the object structure of PDF files: objects, cross reference tables and streams, object streams, stream filters, encryption, and the page tree.
|
Package pdf reads the object structure of PDF files: objects, cross reference tables and streams, object streams, stream filters, encryption, and the page tree. |
|
extract
Package extract runs a page's content streams and collects every character drawn, positioned and sized, as layout input.
|
Package extract runs a page's content streams and collects every character drawn, positioned and sized, as layout input. |
|
font
Package font maps the bytes a PDF shows to text and glyph geometry: it decodes character codes, maps them to Unicode (ToUnicode CMaps, simple encodings with Differences, embedded font tables), and supplies widths, descent and vertical displacement.
|
Package font maps the bytes a PDF shows to text and glyph geometry: it decodes character codes, maps them to Unicode (ToUnicode CMaps, simple encodings with Differences, embedded font tables), and supplies widths, descent and vertical displacement. |
|
layout
Package layout groups positioned characters into words, lines and text boxes, and orders the boxes for reading.
|
Package layout groups positioned characters into words, lines and text boxes, and orders the boxes for reading. |
|
table
Package table finds ruled tables on a PDF page: tables whose cells are drawn with lines or rectangles.
|
Package table finds ruled tables on a PDF page: tables whose cells are drawn with lines or rectangles. |
|
Package server serves document conversion as an MCP tool.
|
Package server serves document conversion as an MCP tool. |
|
Package source opens the documents docsight converts: local paths, file: and data: URIs, and, when allowed, http(s) URLs.
|
Package source opens the documents docsight converts: local paths, file: and data: URIs, and, when allowed, http(s) URLs. |
Click to show internal directories.
Click to hide internal directories.