{"id":16221589,"url":"https://github.com/mrcsparker/ruby_tika_app","last_synced_at":"2025-03-16T11:31:15.275Z","repository":{"id":1950422,"uuid":"2880338","full_name":"mrcsparker/ruby_tika_app","owner":"mrcsparker","description":"A ruby wrapper for the Tika jar (tika-app.jar) that extracts text in a lot of formats from PDF, xls, doc, etc files","archived":false,"fork":false,"pushed_at":"2022-09-30T18:25:22.000Z","size":434699,"stargazers_count":26,"open_issues_count":4,"forks_count":20,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-27T08:20:46.580Z","etag":null,"topics":["ruby","ruby-tika","tika"],"latest_commit_sha":null,"homepage":"https://github.com/mrcsparker/ruby_tika_app","language":"DIGITAL Command Language","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"cocos2d/cocos2d-x","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mrcsparker.png","metadata":{"files":{"readme":"README.md","changelog":"HISTORY","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-11-30T03:33:13.000Z","updated_at":"2023-10-16T19:11:31.000Z","dependencies_parsed_at":"2022-07-09T07:46:15.828Z","dependency_job_id":null,"html_url":"https://github.com/mrcsparker/ruby_tika_app","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrcsparker%2Fruby_tika_app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrcsparker%2Fruby_tika_app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrcsparker%2Fruby_tika_app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrcsparker%2Fruby_tika_app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrcsparker","download_url":"https://codeload.github.com/mrcsparker/ruby_tika_app/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243814880,"owners_count":20352037,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ruby","ruby-tika","tika"],"created_at":"2024-10-10T12:09:00.501Z","updated_at":"2025-03-16T11:31:10.265Z","avatar_url":"https://github.com/mrcsparker.png","language":"DIGITAL Command Language","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Ruby Tika Parser\n\n### Introduction\n\nThis is a simple frontend to the Java Tika parser command line jar / app.\n\nIt is the same as running: \n\n    java -server -Djava.awt.headless=true -Dfile.encoding=UTF-8 -jar tika-app-1.24.1.jar FileToParse.pdf\n\nwith options like --xml, --text, etc.\n\n### Installation\n\nTo install, add ruby_tika_app to your _Gemfile_ and run `bundle install`:\n\n    gem 'ruby_tika_app'\n\n\n### Note about installation\n\nRubyTikaApp is a pretty big gem since it includes the ruby-tika-app jarfile.\nIt might take a while to install.\n\n### Usage\n\nFirst, you need Java installed.  And it needs to be in your $PATH.\n\nThen:\n\n```ruby\nrequire 'ruby_tika_app'\n\nrta = RubyTikaApp.new(\"sample_file.pdf\")\n\nputs rta.to_xml # \u003cxml output\u003e\n\n# You also get to_json, to_text, to_text_main, and to_metadata\n\n```\n\n### Testing\n\nRun:\n\n    bundle exec rspec spec/\n\n*NOTE*: Since we are using an underlying java library to connect to external\nURLs we can't use a standard mocking library.  The test suite starts a\nrack-based web server.\n\n### Contributing\n\nFork on GitHub and after you've committed tested patches, send a pull request.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrcsparker%2Fruby_tika_app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrcsparker%2Fruby_tika_app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrcsparker%2Fruby_tika_app/lists"}