{"id":22354365,"url":"https://github.com/jonmagic/pdf_archive","last_synced_at":"2025-07-30T09:31:09.953Z","repository":{"id":66375230,"uuid":"2544706","full_name":"jonmagic/pdf_archive","owner":"jonmagic","description":"A simple app I built to help with writing a dev article for Heroku.","archived":false,"fork":false,"pushed_at":"2015-03-30T19:45:22.000Z","size":13875,"stargazers_count":4,"open_issues_count":0,"forks_count":11,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-04-10T22:39:33.130Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jonmagic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-10-09T21:57:50.000Z","updated_at":"2021-06-29T21:35:43.000Z","dependencies_parsed_at":"2023-02-20T15:30:41.697Z","dependency_job_id":null,"html_url":"https://github.com/jonmagic/pdf_archive","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonmagic%2Fpdf_archive","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonmagic%2Fpdf_archive/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonmagic%2Fpdf_archive/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonmagic%2Fpdf_archive/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonmagic","download_url":"https://codeload.github.com/jonmagic/pdf_archive/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228114865,"owners_count":17871742,"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":[],"created_at":"2024-12-04T13:12:27.251Z","updated_at":"2024-12-04T13:12:27.938Z","avatar_url":"https://github.com/jonmagic.png","language":"Ruby","readme":"# PDF Archive\n\nPDF Archive is a simple PDF storage and retrieval system. Uploading a PDF will store it, create a preview image for search listings, and extract the text from it so it can be indexed for search.\n\n## Setup\n\n    git clone git://github.com/jonmagic/pdf_archive.git\n    cd pdf_archive\n    bundle\n\n## Run the tests\n\n    bundle exec rake\n\n## Run the app and background worker\n\n    gem install foreman\n    foreman start\n\nYou can now open the app in your browser http://localhost:3000\n\n## Running on Heroku\n\nRunning this on Heroku requires the following steps:\n\n### Step 1: Create the app on the Heroku Cedar stack\n\n    gem install heroku\n    heroku apps:create app_name --stack cedar\n\nWe also need to configure it to run in production\n\n    heroku config:add RACK_ENV=production\n\n### Step 2: Add a MongoDB Addon\n\nThe MongoHQ or MongoLab Addons will give us a small free MongoDB instance for storing our documents.\n\n    heroku addons:add mongohq:free\n\nor\n\n    heroku addons:add mongolab:starter\n\n### Step 3: Configure For S3\n\nFirst setup an Amazon AWS account, get your key, secret, and create a bucket. Then take those values and configure the environment variables on Heroku.\n\n    heroku config:add AWS_ACCESS_KEY_ID=\u003caws_access_key_id\u003e \\\n                      AWS_SECRET_ACCESS_KEY=\u003caws_secret_access_key\u003e \\\n                      BUCKET_NAME=\u003cbucket_name\u003e\n\n### Step 4: Deploy to Heroku\n\n    git push heroku master\n\nWhen it is finished deploying it will give you the url to your app. Visit in the browser and enjoy!\n\n## License\n\nCopyright (c) 2011 Jonathan Hoyt\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonmagic%2Fpdf_archive","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonmagic%2Fpdf_archive","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonmagic%2Fpdf_archive/lists"}