Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@the-grid/nikita

Package Overview
Dependencies
Maintainers
18
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@the-grid/nikita

Document content extraction using tika

  • 1.2.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
18
Weekly downloads
 
Created
Source

Nikita: Content extraction from documents

TODO

  • Fix hardcoded temporary directory, clean up after upload
  • Test some PDF files
  • Add a wrapper graph which takes an object in, enriches then sends out again
  • Integrate with AMQP, add as worker in thegrid-apis

Later

  • Test how much faster Tika Java API is at XHTML + image extraction over cli tools
  • Avoid temporary files for images+html output if/when passing to NoFlo

Setup

Configuration is passed as environment variables:

AMAZON_API_ID: Amazon S3 API identifier
AMAZON_API_TOKEN: Amazon S3 API token/secret
AMAZON_API_REGION: Amazon S3 region, ex: 'us-west-2'
AMAZON_API_BUCKET: Amazon S3 bucket for uploaded files, ex: 'thegrid-user-content'

Design

Separate Heroku worker, integrated into TheGrid APIs.

Inputs:

  • URL to s3 backed document (Word,PDF)

Outputs:

  • Extracted HTML with img src referring to S3 backend

Notes:

  • Tika provides full XHTML document, where as Embed.ly gives only (and we expect)

FAQs

Package last updated on 13 Jun 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc