{"id":18112027,"url":"https://github.com/philnash/ruby-google-sheets-sinatra","last_synced_at":"2025-10-04T14:13:24.313Z","repository":{"id":19081969,"uuid":"85605041","full_name":"philnash/ruby-google-sheets-sinatra","owner":"philnash","description":"An example app using Ruby, Google Sheets and Sinatra","archived":false,"fork":false,"pushed_at":"2023-04-12T05:50:04.000Z","size":79,"stargazers_count":18,"open_issues_count":2,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-14T03:53:39.711Z","etag":null,"topics":["google-sheets","ruby","sinatra"],"latest_commit_sha":null,"homepage":null,"language":"HTML","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/philnash.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"philnash"}},"created_at":"2017-03-20T17:16:56.000Z","updated_at":"2023-08-22T14:40:42.000Z","dependencies_parsed_at":"2025-04-14T03:44:00.069Z","dependency_job_id":"c9f02c46-b91c-4a1b-b300-de69740a03ec","html_url":"https://github.com/philnash/ruby-google-sheets-sinatra","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/philnash/ruby-google-sheets-sinatra","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philnash%2Fruby-google-sheets-sinatra","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philnash%2Fruby-google-sheets-sinatra/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philnash%2Fruby-google-sheets-sinatra/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philnash%2Fruby-google-sheets-sinatra/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/philnash","download_url":"https://codeload.github.com/philnash/ruby-google-sheets-sinatra/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philnash%2Fruby-google-sheets-sinatra/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278322146,"owners_count":25967874,"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","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["google-sheets","ruby","sinatra"],"created_at":"2024-11-01T01:09:13.820Z","updated_at":"2025-10-04T14:13:24.288Z","avatar_url":"https://github.com/philnash.png","language":"HTML","funding_links":["https://github.com/sponsors/philnash"],"categories":[],"sub_categories":[],"readme":"# Using Google Sheets with Ruby and Sinatra\n\nThis is a sample application that uses Sinatra to host a site that saves data in a Google Sheet.\n\n## Running the application\n\n### Get setup with Google Sheets\n\nFollow the steps in [this blog post](https://www.twilio.com/blog/2017/03/google-spreadsheets-ruby.html) to create the credentials for a service account in the Google APIs Console. Download the credentials and copy them to this project with the filename `client_secret.json`.\n\nYou will also need to create a blank spreadsheet and give your service account access to edit.\n\n### Download and prepare the app\n\nClone this repository with the command:\n\n```bash\ngit clone https://github.com/philnash/ruby-google-sheets-sinatra.git\ncd ruby-google-sheets-sinatra\n```\n\nInstall the dependencies:\n\n```bash\nbundle install\n```\n\n### Read the blog post!\n\nFollow the instructions to [create a landing page with Sinatra, Google Spreadsheets, and Ruby](https://www.twilio.com/blog/2017/03/create-a-landing-page-with-sinatra-google-spreadsheets-and-ruby.html).\n\nYou can also inspect the final code in the [save-data](https://github.com/philnash/ruby-google-sheets-sinatra/tree/save-data) branch.\n\nWant to take it further? Learn how to [validate Ruby objects with Active Model Validations](https://www.twilio.com/blog/2017/06/validate-ruby-objects-with-active-model-validations.html) and see how it applies in the [validations](https://github.com/philnash/ruby-google-sheets-sinatra/tree/validations) branch.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphilnash%2Fruby-google-sheets-sinatra","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphilnash%2Fruby-google-sheets-sinatra","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphilnash%2Fruby-google-sheets-sinatra/lists"}