Giter Club home page Giter Club logo

goin's Introduction

Jeremy Wall's goin fork with some fixes

  • Audio file indexing
  • Some extra flags for the CLI
  • Less verbose output

goin has a few dependencies that you should install manually, see INSTALL_MACOS for macOS.

See the original repo here: https://bitbucket.org/zaphar/goin

Goin Full Text Search for your files

Goin is a full text search indexer using https://github.com/blevesearch/bleve for your files on disk. It can handle plain text, many different images, as well as pdf files if the correct utilities are installed.

It processes files based on their mime type making it fairly easy to add support for more files in the future. It's still very much a work in progress.

Usage

Indexing:

goin --index file.txt /path/to/directory/ another.file /another/directory

Querying:

goin --query +word -word \"phrase made up of multiple words\" field:word

Full details of the query syntax can be found at: https://github.com/blevesearch/bleve/wiki/Query%20String%20Query

Help:

goin --help will give you an overview of the flags to tweak it's operation.

Install

Dependencies

goin depends on the (leptonica):"http://www.leptonica.com" and (tesseract):"https://github.com/tesseract-ocr" libraries to build.

You'll also need ghostscript (gs command) installed.

Depending on how you install them you may have to set the CGO_CFLAGS and CGO_LDFLAGS environment variables to tell cgo where to find them.

go doc cmd/go will give you more information on configuring cgo for your environment.

For pdf support goin needs a few extra items. The (ImageMagick):"http://www.imagemagick.org/" convert tool as well as the (xpdf):http://www.foolabs.com/xpdf/" suite of tools. Goin uses these first to try to get text out of the pdf and falling back to OCR if the pdf is only images.

Installing goin

go get bitbucket.org/zaphar/goin will install the tool.

goin's People

Contributors

rubiojr avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.