{"id":23113111,"url":"https://github.com/moraleswilll/small_chat","last_synced_at":"2026-05-08T15:17:17.136Z","repository":{"id":267289555,"uuid":"898013127","full_name":"MoralesWilll/small_chat","owner":"MoralesWilll","description":"This is a simple Ruby application that connects to OpenAI's API and utilizes the ChatGPT-4o model to generate responses based on user input, it also gives the option to send the response via email having setup a valid mail account.","archived":false,"fork":false,"pushed_at":"2025-02-26T02:22:32.000Z","size":87,"stargazers_count":0,"open_issues_count":10,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-04T00:17:39.106Z","etag":null,"topics":["ai","ruby","ruby-on-rails"],"latest_commit_sha":null,"homepage":"","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/MoralesWilll.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"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}},"created_at":"2024-12-03T16:25:56.000Z","updated_at":"2025-02-07T22:22:38.000Z","dependencies_parsed_at":"2025-02-09T16:15:10.562Z","dependency_job_id":null,"html_url":"https://github.com/MoralesWilll/small_chat","commit_stats":null,"previous_names":["moraleswilll/small_chat"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MoralesWilll/small_chat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoralesWilll%2Fsmall_chat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoralesWilll%2Fsmall_chat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoralesWilll%2Fsmall_chat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoralesWilll%2Fsmall_chat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MoralesWilll","download_url":"https://codeload.github.com/MoralesWilll/small_chat/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoralesWilll%2Fsmall_chat/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264888015,"owners_count":23678790,"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":["ai","ruby","ruby-on-rails"],"created_at":"2024-12-17T02:27:06.473Z","updated_at":"2026-05-08T15:17:12.107Z","avatar_url":"https://github.com/MoralesWilll.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"Ruby OpenAI ChatGPT-4o App\n\nOverview\n\nThis is a simple Ruby application that connects to OpenAI's API and utilizes the ChatGPT-4o model to generate responses based on user input, it also gives the option to send the response via email having setup a valid mail account.\n\nFeatures\n\nConnects to OpenAI's API\n\nSends prompts to ChatGPT-4o\n\nDisplays AI-generated responses or sends them as emails\n\nSimple display and navigation\n\nPrerequisites\n\nEnsure you have the following installed:\n\nRuby 3.3.5\n\nBundler (gem install bundler)\n\nAn OpenAI API key\n\nA valid email account and an app password\n\nInstallation\n\nClone the repository:\n\ngit clone https://github.com/MoralesWilll/small_chat.git\ncd small_chat\n\nInstall dependencies:\n\nbundle install\n\nSet up environment variables:\n\nCreate a .env file in the root directory:\n\ntouch .env\n\nFill the fields in .env.erb with your variables \n\nUsage\n\nRun the Ruby app with bin/dev\n\nnavigate to the localhost:3000\n\nExample\n\nYou: Hello, how are you?\nAI: I'm just a bot, but I'm here to help! How can I assist you today?\n\nContributing\n\nFeel free to fork this repository and submit pull requests with improvements!\n\nLicense\n\nThis project is licensed under the MIT License.\n\nAuthor\nMoralesWilll\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoraleswilll%2Fsmall_chat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoraleswilll%2Fsmall_chat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoraleswilll%2Fsmall_chat/lists"}