{"id":43311133,"url":"https://github.com/aliyeysides/openai-quickstart-ruby","last_synced_at":"2026-02-01T21:14:36.912Z","repository":{"id":150757977,"uuid":"489808704","full_name":"aliyeysides/openai-quickstart-ruby","owner":"aliyeysides","description":"Ruby example app from the OpenAI API quickstart tutorial","archived":false,"fork":false,"pushed_at":"2024-01-25T16:09:55.000Z","size":9,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-01-25T17:32:25.208Z","etag":null,"topics":["ai","artificial-intelligence","openai","ruby","sinatra","tutorial"],"latest_commit_sha":null,"homepage":"https://beta.openai.com/docs/quickstart","language":"CSS","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/aliyeysides.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}},"created_at":"2022-05-08T00:13:47.000Z","updated_at":"2023-06-02T00:58:43.000Z","dependencies_parsed_at":"2023-04-20T16:47:08.245Z","dependency_job_id":null,"html_url":"https://github.com/aliyeysides/openai-quickstart-ruby","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/aliyeysides/openai-quickstart-ruby","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aliyeysides%2Fopenai-quickstart-ruby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aliyeysides%2Fopenai-quickstart-ruby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aliyeysides%2Fopenai-quickstart-ruby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aliyeysides%2Fopenai-quickstart-ruby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aliyeysides","download_url":"https://codeload.github.com/aliyeysides/openai-quickstart-ruby/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aliyeysides%2Fopenai-quickstart-ruby/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28991505,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-01T20:57:35.821Z","status":"ssl_error","status_checked_at":"2026-02-01T20:57:29.580Z","response_time":56,"last_error":"SSL_read: 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":["ai","artificial-intelligence","openai","ruby","sinatra","tutorial"],"created_at":"2026-02-01T21:14:36.401Z","updated_at":"2026-02-01T21:14:36.906Z","avatar_url":"https://github.com/aliyeysides.png","language":"CSS","readme":"# (Unofficial) OpenAI API Quickstart - Ruby example app\n\nThis is an example pet name generator app used in the OpenAI API [quickstart tutorial](https://beta.openai.com/docs/quickstart). It uses the [Sinatra](http://sinatrarb.com/) web framework. Check out the tutorial or follow the instructions below to get set up.\n\n## Setup\n\n1. If you don’t have Ruby `\u003e=3.1.0` installed, I recommend you [install it with rbenv](https://github.com/rbenv/rbenv)\n\n2. Clone this repository\n\n3. Navigate into the project directory\n\n   ```bash\n   $ cd openai-quickstart-ruby\n   ```\n\n4. Install the `bundler` gem\n\n   ```bash\n   $ gem install bundler\n   ```\n\n5. Install the requirements\n\n   ```bash\n   $ bundle install\n   ```\n\n6. Make a copy of the example environment variables file\n\n   ```bash\n   $ cp .env.example .env\n   ```\n\n7. Add your [API key](https://beta.openai.com/account/api-keys) to the newly created `.env` file\n\n8. Run the app\n\n   ```bash\n   $ ruby app.rb\n   ```\n\nYou should now be able to access the app at [http://localhost:4567](http://localhost:4567)! For the full context behind this example app, check out the [tutorial](https://beta.openai.com/docs/quickstart).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faliyeysides%2Fopenai-quickstart-ruby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faliyeysides%2Fopenai-quickstart-ruby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faliyeysides%2Fopenai-quickstart-ruby/lists"}