Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/lu4p/cat
- Owner: lu4p
- License: unlicense
- Created: 2019-03-02T22:53:26.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-11-25T16:00:30.000Z (12 months ago)
- Last Synced: 2024-06-19T15:54:42.847Z (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: 91
- Watchers: 5
- Forks: 18
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
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)
}
```