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: 5 months ago
JSON representation
Extract text from plaintext, .docx, .odt and .rtf files. Pure go.
- Host: GitHub
- URL: https://github.com/lu4p/cat
- Owner: lu4p
- License: unlicense
- Created: 2019-03-02T22:53:26.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-11-25T16:00:30.000Z (over 1 year ago)
- Last Synced: 2024-12-10T00:42:18.481Z (5 months ago)
- Topics: cat, cross-platform, docx2txt, extract-text, go, golang, odt2txt, pdf2txt, pdftotext, rtf-to-text, text-extraction, textextracting
- Language: Go
- Homepage:
- Size: 215 KB
- Stars: 94
- Watchers: 5
- Forks: 16
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
[](https://pkg.go.dev/github.com/lu4p/cat)
[](https://unlicense.org/)
[](https://circleci.com/gh/lu4p/cat)
[](https://goreportcard.com/report/github.com/lu4p/cat)
[](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)
}
```