{"id":29429732,"url":"https://github.com/jaimerson/oh_sheet","last_synced_at":"2026-05-17T15:08:50.067Z","repository":{"id":71815518,"uuid":"84848171","full_name":"jaimerson/oh_sheet","owner":"jaimerson","description":"Imports xlsx files into database","archived":false,"fork":false,"pushed_at":"2017-03-17T13:58:08.000Z","size":52,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-28T19:46:45.554Z","etag":null,"topics":["importer","rails","rails-engine","xlsx"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jaimerson.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"MIT-LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-03-13T16:15:47.000Z","updated_at":"2018-06-19T14:45:12.000Z","dependencies_parsed_at":"2023-06-11T01:00:09.868Z","dependency_job_id":null,"html_url":"https://github.com/jaimerson/oh_sheet","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jaimerson/oh_sheet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaimerson%2Foh_sheet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaimerson%2Foh_sheet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaimerson%2Foh_sheet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaimerson%2Foh_sheet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jaimerson","download_url":"https://codeload.github.com/jaimerson/oh_sheet/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaimerson%2Foh_sheet/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33143276,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T09:28:26.183Z","status":"ssl_error","status_checked_at":"2026-05-17T09:27:52.702Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["importer","rails","rails-engine","xlsx"],"created_at":"2025-07-12T16:11:46.036Z","updated_at":"2026-05-17T15:08:50.063Z","avatar_url":"https://github.com/jaimerson.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OhSheet\nOhSheet is a Rails mountable engine to import xlsx data into ActiveRecord models.\nSo that you don't have to deal with it directly.\n\n## Installation\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'oh_sheet'\n```\n\nAnd then execute:\n```bash\n$ bundle\n```\n\nInstall the migrations with:\n```bash\n$ rails oh_sheet:install:migrations\n```\n\nAnd then run:\n```bash\n$ rake db:migrate\n```\n\n## Usage\nMount the engine in your `config/routes.rb` file:\n\n```ruby\n# config/routes.rb\n\nmount OhSheet::Engine =\u003e \"/importer\"\n```\n\nNow if you have, for instance, a `Contact` model in your app,\nyou can send a POST request to `/importer/import/contact` with\na param named `file_to_import`, which must be a xlsx file.\n\nIf you have a spreadsheet in which the headers match the model's\nattribute names, you're all set!\n\nIf that's not the case, or if the structure of the resource is\nmore complex, you need to create a `ContactParser` class that\nmust receive the attributes hash in the initializer and return\na valid `Contact` attributes hash in the `#attributes` method.\n\n## Contributing\nClone and send a pull request.\n\n## License\nThe gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaimerson%2Foh_sheet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjaimerson%2Foh_sheet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaimerson%2Foh_sheet/lists"}