gofast

package module
v0.1.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2026 License: MIT Imports: 28 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

go-fast

The front door of the go-fast libraries. It reads a file of any of their formats by sending it to the library that reads it, opens zip, tar and gzip archives, and reads many files in parallel. Everything comes out in the shared document model, gofastcore.Document (github.com/AOShei/go-fast-core).

Status: v0.1.6 (2026-11-26). The changes are in CHANGELOG.md.

go install github.com/AOShei/go-fast/cmd/gofast@latest
gofast -dir out/ ~/documents/            # one JSON file per document, in a tree like the input's
gofast reports.zip > reports.jsonl       # each file in the archive is one JSON line
gofast -format markdown notes.docx       # one document as Markdown

What is read, and by which library

Formats Library
PDF go-fast-pdf
Word, Excel and PowerPoint 2007 and later (.docx, .xlsx, .xlsb, .pptx and their macro and template variants), and Office documents saved as one XML file: Flat OPC, Word 2003's XML document and Excel 2003's XML spreadsheet go-fast-ooxml
Word, Excel and PowerPoint 97-2003 (.doc, .xls, .ppt and their templates and shows) go-fast-msbin
OpenDocument text, spreadsheets, presentations and drawings (.odg), and their flat XML forms go-fast-odf
RTF go-fast-rtf
Email: .eml, .mbox, Outlook .msg, TNEF (winmail.dat); calendars (.ics, .ifb, .vcs) and contact lists (.vcf, .vcard) go-fast-email
HTML, Markdown (also Cursor rules .mdc, Quarto .qmd, R Markdown .Rmd; front matter to the metadata), plain text, EPUB, CSV, TSV, Jupyter notebooks, JSON and YAML (.json, .jsonc, .jsonl, .ndjson, .jsonlines, .geojson, .yaml, .yml; cut along their structure, records as tables; by name, never by content), web pages saved as one file (.mht, .mhtml), subtitles (.srt, .vtt, .webvtt) go-fast-html
XML of any schema (.xml, .dita, .ditamap, .docbook, .tei, .rss, .atom), with built-in profiles for Akoma Ntoso, HL7 CDA, CLML, DITA, DocBook, Formex, JATS, Légifrance, patents, S1000D, Service-Public, TEI and web feeds (RSS, Atom). A feed is one document, and the HTML of its items is read by go-fast-html as its child documents go-fast-xml
zip, tar, gzip (.tar.gz, .tgz, .gz) this module

How the format is decided (Detect):

  1. A declared media type, for an embedded document (an attachment's Content-Type). The types mail programs give files they don't know better (application/octet-stream, application/zip, text/plain) yield to a known extension: a .docx sent as application/zip is still Word. A file declared text/plain with no such extension is text. application/xml, text/xml and any other +xml type are XML, but for application/xhtml+xml and image/svg+xml, which go-fast-html reads.
  2. The extension of the name.
  3. The bytes:
    • %PDF-1. or %PDF-2. in the first 1 KiB is PDF.
    • A zip archive is Office if it has [Content_Types].xml, OpenDocument or EPUB if its mimetype member says so, and otherwise an archive.
    • gzip and tar are archives.
    • {\rtf is RTF.
    • An OLE compound file is Word, Excel or PowerPoint 97-2003 (go-fast-msbin) when its directory holds those formats' streams (go-fast-msbin's Detect), and otherwise email.
    • A TNEF stream, a mailbox's From line (an address, then a date with a time) or a message's header lines (at least two of the headers messages have, one of them From, Received, Return-Path, Message-ID, MIME-Version or Delivered-To) are email.
    • An OpenDocument flat XML file is OpenDocument.
    • XML is go-fast-xml's: input that begins with an XML declaration (<?xml), that has a document type declaration naming a root element other than html, or whose first element declares a namespace. A first element named html or svg, or in the XHTML or SVG namespace, stays with go-fast-html. XML with none of these marks (no declaration, no document type, no namespace) is read as HTML, unless its name or media type says XML.
    • Binary input (images, audio, executables) is read by none.
    • Anything else is what go-fast-html makes of it: HTML when it is markup, else plain text.

Office documents saved as XML go to go-fast-ooxml, whichever of the steps above sent them to go-fast-xml (a .xml name, an XML media type, or the bytes). They are known by the root element and its namespace, within the first 64 KiB, as go-fast-ooxml knows them: Flat OPC's pkg:package (read as docx, xlsx or pptx, with extra.packaging flat_opc), Word 2003's w:wordDocument (format wordml) and Excel 2003's Workbook (format spreadsheetml). XML with a document type declaration stays with go-fast-xml. The root is found in UTF-8, UTF-16 and the single- and double-byte sets Office writes (the Windows code pages, ISO 8859, Shift_JIS, GBK, EUC-KR, Big5). The media types application/vnd.ms-wordml and application/vnd.ms-spreadsheetml go to go-fast-ooxml too.

Office 97-2003 files are decided by their bytes even when their name (.doc, .dot, .xls, .xlt, .xla, .ppt, .pps, .pot) or media type (application/msword, application/vnd.ms-excel, application/vnd.ms-powerpoint) says what they are. A compound file goes to go-fast-msbin when its directory holds a Word, Excel or PowerPoint file. Other bytes go where they say: RTF, HTML or XML saved as .doc or .xls, a zip named .xls. Bytes no library reads (an Excel 2 to 4 workbook, a Word 2 document) go to go-fast-msbin, which says what the file is. An Outlook message named .doc is still a message. A compound file named as Office that go-fast-msbin's Detect does not name (its directory is damaged) and go-fast-email does not read gets go-fast-msbin's error.

Text that declares no character set and is not UTF-8 is read in the set its bytes are certainly in (Shift_JIS, GBK, Big5, EUC-KR, windows-1251, windows-1252, UTF-16 without a byte order mark), with the warning text.encoding_detected, by go-fast-html and go-fast-email; go-fast-xml also recognises an encoding from the bytes, with the same warning. Where no set is certain, a text file is refused (gofasthtml.ErrEncodingUnknown, which wraps ErrUnsupported), XML is refused (ErrUnsupported) and a message's text keeps U+FFFD; -charset (Extractor.Charset) gives the set to use then. It never overrides a set the input declares: a <meta>, an XML declaration's encoding or a charset parameter wins.

Embedded documents are read by whichever library reads their format. A PDF attached to a message, a workbook embedded in a presentation, and a zip attached to a message (whose members become the zip's children) all come with the document that holds them. Core's depth limit (-max-depth, default 4) bounds how deeply they nest.

Archives

The command reads each file of an archive as a document of its own. Its Source.Name is the archive's name and the path inside it: data.zip/reports/q3.pdf. Archives inside archives are opened too, down to -max-depth.

A file read from an archive gives the same document as the file read on its own, except for its name. Over 449 files of every format, packed as zip (stored and deflated), tar and tar.gz, the documents were identical.

Members that are not read are reported on standard error with the reason, and the exit status is then 1:

  • an encrypted zip member;
  • a sparse tar member (its bytes in the archive are not its content);
  • a zip member said to be larger than its compressed bytes allow (deflate makes at most 1,032 bytes of one);
  • a compression method Go does not decode (only stored and deflated are read);
  • a name that is not a path inside the archive (an element ..);
  • a member past one of the bounds below;
  • an archive nested past -max-depth.

A tar hard link to a member before it is another name for that member, read under its own name: it is noted on standard error, not counted as a failure. A hard link to a file not in the archive is a member not read. Directories, symbolic links and devices are skipped silently.

A member's name is cleaned: no leading / or drive letter, and no . element or control character.

Bounds, against archives built to exhaust memory or time:

Bound Flag Default
One member, decompressed (held in memory to be read; a member stored uncompressed in a zip or plain tar is read in place) -max-member-bytes 1 GiB
Everything decompressed from one archive and the archives in it -max-archive-bytes 64 GiB
Decompressed members held in memory at once by all the workers -max-memory-bytes 4 GiB (a larger member is still read, alone; an archive inside an archive stays held until its members are read; so does a .gz or .tar.gz file, below)
Members of an archive read as one document (Extractor.Extract, or an archive embedded in a document) Extractor.MaxArchiveMembers 10,000

A .gz or .tar.gz file of up to 1 GiB is read into memory and held while it is walked, counted under -max-memory-bytes: go-fast-core's inflate decompresses it about twice as fast as compress/gzip, which reads a larger file a piece at a time. The 1 GiB trades memory for speed: a 187 MB .tar.gz of 2,457 ODT files is walked in 0.46 s instead of 1.0 s, with a peak of 430 MB instead of 72 MB (the file, and the garbage collector's headroom over it). Zip members are decompressed with inflate too, a piece at a time, whatever their size.

A zip cut short, which has lost the directory at its end, is read by its members' own headers (go-fast-core's ziprecover, as every go-fast library reads one). The members found are read; the one the file ends inside is reported as not read, and the archive is then reported damaged, saying how many members were found. Finding where members end is bounded by -max-archive-bytes.

A zip whose members overlap is refused: no real archive shares bytes between members, and it is how the zip bombs that reach petabytes are built.

As one document (Extractor.Extract, or embedded in a document), an archive has format zip, tar or gzip. It has one empty body part, with part.no_text at info, and its members are its children.

The command

gofast [flags] file-or-directory...

Inputs.

  • A directory stands for the files in it and below it whose extension is one of the formats above or an archive's. Office lock files (~$...) are skipped.
  • A file named on the command line is read whatever its name, its format decided from its bytes.
  • - is standard input. Standard input, a pipe or a device named as a file is read into memory, up to -max-input-bytes (1 GiB by default).

Output.

  • With one input that is not an archive, the JSON is indented.
  • Otherwise each document is one line (JSON Lines), in the order of the inputs and of the members of each archive, whatever order the workers finish in.
  • -dir DIR writes each document to a file of its own instead, in a tree that mirrors the inputs: DIR/sub/a.pdf.json, or DIR/data.zip/reports/q3.pdf.json for an archive member. Nothing is written outside DIR, whatever a member's name says. Names are made ones every system can create: characters Windows forbids become _, a trailing dot or space is replaced, and a device name such as CON or NUL gets a leading _. Where the file system ignores case (Windows, macOS), a document whose file would differ from another's only in case is written with ~2 (~3, ...) before its extension, and noted on standard error.
  • Interrupting the run (Ctrl-C) stops it; a second interrupt ends it at once.
  • Only documents go to standard output. Errors, and a note for each document with an error-level warning, go to standard error, with a summary line at the end. The exit status is 1 if any input or member could not be read, and 2 for a usage error.
Flag
-format json|markdown|text what to print (default json)
-o FILE write to a file instead of standard output
-dir DIR one file per document, in a tree under DIR
-j N files read at once (default: the number of CPUs). With more than one, a library that would also read one file's pages in parallel reads them one at a time
-images none|meta|data images: none, a block for each (default), or with their bytes
-spans inline styling, links, and declared display of ranges of text
-cells the cells of spreadsheets with their types and formulas
-password for encrypted files
-charset LABEL the character set (shift_jis, gbk, windows-1250, ...) of text that declares none and whose set is not certain from its bytes; without it such a text file is not read, and text in a message has U+FFFD
-xml-profile FILE a go-fast-xml profile file (see its PROFILE_FORMAT.md), tried before the built-in profiles and chosen, as they are, by the root element, so it is safe in a batch of any formats; may be given more than once (Extractor.XMLProfiles)
-data-block-bytes N the size go-fast-html cuts JSON and YAML to: a value up to N bytes is one block, a longer one is split into its members, packed into blocks of about N bytes (0: go-fast-html's default, 1,024; Extractor.DataBlockBytes)
-xml-attributes=false in XML no profile fits, leave out the note go-fast-xml makes of each attribute, for data-style XML (Extractor.XMLAttributes)
-max-input-bytes, -max-decoded-bytes, -max-text-bytes, -max-depth core's limits (gofastcore.Limits), for every document; -max-input-bytes also bounds standard input and pipes
-max-member-bytes, -max-archive-bytes, -max-memory-bytes the archive bounds above
-quiet say nothing about files that were read
-version print the version
-furniture, -stored[=kinds], -part-markers, -exclude-display[=reasons], -children the render flags every go-fast command shares; they affect Markdown and text only

The package

e := &gofast.Extractor{}
doc, err := e.Extract(ctx, r, size, &gofastcore.Options{Name: "report.pdf"})
  • Detect(name, mimeType, r, size) says where an input goes (a Kind: a library and a format).
  • Extractor.Extract reads any input; when Options.Child is unset, embedded documents are read by Extractor.Child.
  • Extractor.Child is a gofastcore.ChildFunc that any library's Options.Child can be set to.
  • Extractor.Walk calls a function for each file of an archive, with the bounds above, for a program that reads members as documents of their own, as the command does.

The go-fast libraries never import each other; this module imports them all. It requires each at a tagged release.

Not read yet

  • Objects embedded through OLE: an Office 2007 file wrapped in an OLE object (as RTF and older Office files embed one), and a PDF wrapped in one. They are listed as unsupported.
  • Images, audio and video. The series reads no text from pixels or sound.
  • zip members compressed with methods other than stored and deflated, and encrypted zip members.

Licence

MIT; see LICENSE.

Documentation

Overview

Package gofast is the front door of the go-fast libraries: it reads a file of any of their formats by sending it to the library that reads it, and opens zip, tar and gzip archives.

Detect decides where an input goes, from a declared media type, the extension of its name, and its bytes. Extractor reads it, and its Child method is a gofastcore.ChildFunc that reads embedded documents of any format, so a PDF attached to a message or a workbook embedded in a presentation is read too. The libraries themselves never import each other; this package imports them all.

The command cmd/gofast reads files, directories and archives in parallel, with each archive member a document of its own.

Index

Constants

View Source
const (
	// DefaultMaxMemberBytes bounds the decompressed size of one archive
	// member, which is held in memory to be read (a member stored
	// uncompressed in a zip or plain tar file is read in place).
	DefaultMaxMemberBytes = 1 << 30
	// DefaultMaxArchiveBytes bounds the bytes decompressed from one
	// archive and the archives inside it, the defence against an archive
	// that decompresses to far more than any real one.
	DefaultMaxArchiveBytes = 64 << 30
	// DefaultMaxArchiveMembers bounds the members of an archive read as
	// one document with the members as its children (an archive embedded
	// in a document, or Extract). The command reads each member of an
	// archive it is given as a document of its own, with no such bound.
	DefaultMaxArchiveMembers = 10000
)

Defaults of the bounds on archives.

View Source
const (
	LibPDF   = "pdf"   // go-fast-pdf
	LibOOXML = "ooxml" // go-fast-ooxml: Word, Excel and PowerPoint 2007 and later
	LibMSBin = "msbin" // go-fast-msbin: Word, Excel and PowerPoint 97-2003
	LibODF   = "odf"   // go-fast-odf: OpenDocument
	LibRTF   = "rtf"   // go-fast-rtf
	LibEmail = "email" // go-fast-email: eml, mbox, msg, TNEF, calendars, contacts
	LibHTML  = "html"  // go-fast-html: HTML, Markdown, text, EPUB, CSV, TSV, notebooks, JSON, YAML, MHTML, subtitles
	LibXML   = "xml"   // go-fast-xml: XML of any schema, with profiles for some
	// LibArchive is an archive this package opens: Format is "zip",
	// "tar" or "gzip".
	LibArchive = "archive"
)

The libraries an input can be routed to, and the archive formats this package opens itself.

Variables

View Source
var ErrArchive = errors.New("gofast: archive cannot be read")

ErrArchive wraps an archive that cannot be read at all.

View Source
var ErrLimit = errors.New("gofast: archive bound reached")

ErrLimit wraps a walk stopped by MaxArchiveBytes.

Functions

func KnownExtension

func KnownExtension(name string) bool

KnownExtension reports whether a name's extension is one Detect routes to a library or an archive: the files a directory stands for.

Types

type Extractor

type Extractor struct {
	// MaxMemberBytes bounds one archive member decompressed. Zero means
	// DefaultMaxMemberBytes; negative, no bound.
	MaxMemberBytes int64
	// MaxArchiveBytes bounds the bytes decompressed from one archive and
	// the archives inside it. Zero means DefaultMaxArchiveBytes;
	// negative, no bound.
	MaxArchiveBytes int64
	// MaxArchiveMembers bounds the members read of an archive that is
	// read as one document (Extract, or an archive embedded in a
	// document). Zero means DefaultMaxArchiveMembers; negative, no bound.
	MaxArchiveMembers int
	// Charset is the character set, as a MIME charset label ("shift_jis",
	// "windows-1251"), of text that declares none and whose set the
	// library reading it cannot determine from its bytes. go-fast-email
	// uses it for such text in messages (gofastemail.Extractor.Charset).
	// HTML, Markdown, plain text, CSV, TSV, JSON and YAML that
	// go-fast-html refuses with gofasthtml.ErrEncodingUnknown, and XML
	// whose encoding go-fast-xml does not read, are read again in it; it
	// is not given to either before, since there it would override a
	// <meta> or an XML declaration. Empty means none: such input is
	// refused, and a message's text keeps U+FFFD.
	Charset string
	// XMLProfiles are go-fast-xml profiles (gofastxml.LoadProfile reads
	// one) tried, in order, before its built-in ones. Each is chosen by
	// the root element as they are, so they can be given for a batch of
	// any formats. A loaded profile is safe to share.
	XMLProfiles []*gofastxml.Profile
	// XMLAttributes decides, for XML read generically (no profile fits),
	// whether each attribute is a note: gofastxml.AttributesNotes, the
	// default, or gofastxml.AttributesNone, for data-style XML whose
	// attributes are keys and codes.
	XMLAttributes gofastxml.Attributes
	// DataBlockBytes is the size go-fast-html cuts JSON and YAML to
	// (gofasthtml.Extractor.DataBlockBytes): a value up to this many bytes
	// is one block, a longer one is split into its members, packed into
	// blocks of about this size. Zero or less means go-fast-html's default,
	// gofasthtml.DefaultDataBlockBytes (1 KiB).
	DataBlockBytes int
}

Extractor reads any format of the go-fast libraries, and archives. The zero value is ready to use and safe for concurrent use.

func (*Extractor) Child

func (e *Extractor) Child(ctx context.Context, name, mimeType string, r io.ReaderAt, size int64, opts *gofastcore.Options) (*gofastcore.Document, error)

Child is a gofastcore.ChildFunc that reads an embedded document of any format: the extractor every library's Options.Child can be set to.

func (*Extractor) Extract

func (e *Extractor) Extract(ctx context.Context, r io.ReaderAt, size int64, opts *gofastcore.Options) (*gofastcore.Document, error)

Extract reads an input of any format, decided by Detect from Options.Name and the bytes. When Options.Child is nil, embedded documents are read by e.Child, so a PDF attached to a message or a workbook inside a presentation is read too. An archive is a document of format zip, tar or gzip with one empty body part (with part.no_text, at info), whose children are its members. An input no library reads gives an error wrapping gofastcore.ErrUnsupported.

func (*Extractor) ExtractKind

func (e *Extractor) ExtractKind(ctx context.Context, k Kind, mimeType string, r io.ReaderAt, size int64, opts *gofastcore.Options) (*gofastcore.Document, error)

ExtractKind reads an input whose Kind is decided, as Detect gives it. mimeType is the media type the input is declared with, if any: a charset parameter is the encoding of HTML, Markdown, text, CSV and TSV, and header=present makes the first row of CSV and TSV a header row.

func (*Extractor) Formats

func (e *Extractor) Formats() []string

Formats lists the formats Extract reads: those of every library, and the archives.

func (*Extractor) Walk

func (e *Extractor) Walk(ctx context.Context, k Kind, name string, r io.ReaderAt, size int64, opts WalkOptions,
	fn func(Member) error, skip func(Skipped)) error

Walk calls fn for every file of the archive r (whose Kind is k, as Detect gives it, and whose name is name), in the order the archive stores them, and skip for every member left out. An archive inside it is opened in turn, its members' paths then beginning with its own ("a.zip/b.tar/c.pdf"), down to opts.MaxDepth; a deeper one is skipped. The bounds of e (MaxMemberBytes, MaxArchiveBytes) hold for the whole walk. fn owns each Member: it calls Release, when set, once it no longer needs the bytes, and may do so after Walk returns. An error from fn stops the walk and is returned; an archive that cannot be read gives an error wrapping ErrArchive, after the members before the damage, and one stopped by MaxArchiveBytes an error wrapping ErrLimit.

type Kind

type Kind struct {
	Library string
	Format  string
}

Kind is where an input goes: the library that reads it and, where the detection decides it, the format within that library (as the library's Extractor.Format names it), or the archive format. The zero Kind is an input no library reads.

func Detect

func Detect(name, mimeType string, r io.ReaderAt, size int64) Kind

Detect decides where an input goes. A declared media type (mimeType, as a Content-Type gives it) decides first, unless it is one mail programs give whatever the file (application/octet-stream, application/zip, text/plain); then the extension of name; then, but for text/plain, which is text, the bytes:

  • "%PDF-1." or "%PDF-2." in the first 1 KiB is PDF;
  • a zip archive is Office if it has [Content_Types].xml, OpenDocument or EPUB if its mimetype member says so, and otherwise an archive;
  • gzip and tar (ustar) are archives;
  • "{\rtf" is RTF;
  • an OLE compound file is go-fast-msbin's when its directory holds the streams of a Word, Excel or PowerPoint 97-2003 file (go-fast-msbin's Detect), and otherwise email;
  • a web page a browser saved as one file (MHTML: a header with Snapshot-Content-Location, or From "Saved by ...", and a multipart/related Content-Type, as go-fast-html's Detect tells it) is go-fast-html's, before the test for a message;
  • a calendar or a contact list (a first line BEGIN:VCALENDAR, BEGIN:VCARD or BEGIN: and a component a calendar holds) is email;
  • a TNEF stream, a mailbox's "From " line (an address, then a date with a time) or a message's header lines (at least two of the headers messages have, one of them From, Received, Return-Path, Message-ID, MIME-Version or Delivered-To) are email;
  • an OpenDocument flat XML file is OpenDocument;
  • XML is go-fast-xml's: input that begins with an XML declaration, or whose first element declares a namespace, unless that element is html or svg, which go-fast-html reads;
  • binary input (a NUL byte, or many control characters, in the first 4 KiB: images, audio, executables) gives the zero Kind;
  • anything else is what go-fast-html's Detect says of it: HTML when it is markup, else plain text.

Whatever decides that an input is go-fast-xml's (its media type, its name or its bytes), an Office document saved as one XML file is go-fast-ooxml's: Flat OPC (pkg:package), Word 2003's XML document (w:wordDocument) and Excel 2003's XML spreadsheet (Workbook), by the root element and its namespace, within the first 64 KiB.

A name whose extension is an Office 97-2003 format (.doc, .xls, .ppt and their templates and shows), or one of their media types, is decided by the bytes: see legacy.

func (Kind) IsArchive

func (k Kind) IsArchive() bool

IsArchive reports whether k is an archive.

type Member

type Member struct {
	// Path is the member's name in the archive, slash-separated, with no
	// leading slash, "." or ".." element, and no control character.
	Path string
	// Size is the member's size, decompressed.
	Size int64
	// R reads the member's bytes.
	R io.ReaderAt
	// Release, when not nil, is called once the member's bytes are no
	// longer needed: it gives back what WalkOptions.Hold accounted for
	// them, and for an archive the member is in that was held for it.
	Release func()
	// contains filtered or unexported fields
}

Member is one file in an archive.

type Skipped

type Skipped struct {
	Path   string
	Reason string
	// Limit says that a bound of this package left it out (as opposed to
	// a member that cannot be read: encrypted, compressed with a method
	// not supported, damaged).
	Limit bool
	// Note says that nothing is missing: the member is another name for
	// one that is read (a tar hard link).
	Note bool
}

Skipped is a member that was not read, and why.

type WalkOptions

type WalkOptions struct {
	// MaxDepth bounds how deeply archives inside the archive are opened:
	// 1 opens none. Zero means gofastcore.DefaultMaxDepth.
	MaxDepth int
	// Hold, when not nil, is called with the number of bytes a member
	// (or a gzip file read into memory to be decompressed) will take in
	// memory before they are read, and with own, the bytes
	// the walk itself holds at the moment (the archives it is inside,
	// which it cannot give back before it is out of them). It returns
	// the function that gives the bytes back (part of Member.Release).
	// It may wait, to bound the memory the members being read take
	// together, but not for own; an error stops the walk.
	Hold func(n, own int64) (release func(), err error)
}

WalkOptions bounds a walk of an archive.

Directories

Path Synopsis
cmd
gofast command
Command gofast extracts documents of every format the go-fast libraries read (PDF; Word, Excel and PowerPoint; OpenDocument; RTF; email; HTML, Markdown, text, EPUB, CSV, TSV and Jupyter notebooks) into their shared document model and prints them as JSON, Markdown or plain text.
Command gofast extracts documents of every format the go-fast libraries read (PDF; Word, Excel and PowerPoint; OpenDocument; RTF; email; HTML, Markdown, text, EPUB, CSV, TSV and Jupyter notebooks) into their shared document model and prints them as JSON, Markdown or plain text.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL