Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lu4p/cat

Extract text from plaintext, .docx, .odt and .rtf files. Pure go.
https://github.com/lu4p/cat

cat cross-platform docx2txt extract-text go golang odt2txt pdf2txt pdftotext rtf-to-text text-extraction textextracting

Last synced: 24 days ago
JSON representation

Extract text from plaintext, .docx, .odt and .rtf files. Pure go.

Awesome Lists containing this project

README

        

[![GoDoc](https://img.shields.io/badge/go.dev-reference-007d9c?logo=go&logoColor=white&style=flat-square)](https://pkg.go.dev/github.com/lu4p/cat)
[![License](https://img.shields.io/github/license/lu4p/cat.svg)](https://unlicense.org/)
[![CircleCI](https://circleci.com/gh/lu4p/cat.svg?style=svg)](https://circleci.com/gh/lu4p/cat)
[![Go Report Card](https://goreportcard.com/badge/github.com/lu4p/cat)](https://goreportcard.com/report/github.com/lu4p/cat)
[![codecov](https://codecov.io/gh/lu4p/cat/branch/master/graph/badge.svg)](https://codecov.io/gh/lu4p/cat)

# cat
This is a simple libary to extract text from plaintext, .docx, .odt and .rtf files.

## Install
```go get -u github.com/lu4p/cat```

## Basic Usage
```golang
package main
import (
"fmt"
"github.com/lu4p/cat"
)

func main(){
txt, _ := cat.File("filename")
fmt.Println(txt)
}
```