{"id":19886064,"url":"https://github.com/rishabkumar7/dalle-python-sms","last_synced_at":"2025-03-01T03:48:19.935Z","repository":{"id":107842782,"uuid":"596661682","full_name":"rishabkumar7/dalle-python-sms","owner":"rishabkumar7","description":"Generate art with DALLE via SMS using Twilio","archived":false,"fork":false,"pushed_at":"2023-03-01T15:14:18.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-11T18:47:47.077Z","etag":null,"topics":["dall-e","flask","openai","python","sms","twilio"],"latest_commit_sha":null,"homepage":"","language":"Python","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/rishabkumar7.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}},"created_at":"2023-02-02T17:07:13.000Z","updated_at":"2023-03-26T21:47:59.000Z","dependencies_parsed_at":"2023-03-10T20:16:11.964Z","dependency_job_id":null,"html_url":"https://github.com/rishabkumar7/dalle-python-sms","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishabkumar7%2Fdalle-python-sms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishabkumar7%2Fdalle-python-sms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishabkumar7%2Fdalle-python-sms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishabkumar7%2Fdalle-python-sms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rishabkumar7","download_url":"https://codeload.github.com/rishabkumar7/dalle-python-sms/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241313187,"owners_count":19942418,"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":["dall-e","flask","openai","python","sms","twilio"],"created_at":"2024-11-12T17:36:08.103Z","updated_at":"2025-03-01T03:48:19.914Z","avatar_url":"https://github.com/rishabkumar7.png","language":"Python","readme":"# Generate images using DALLE via SMS\n\n\n![text-an-astronaut-coding](https://user-images.githubusercontent.com/45825464/216394752-3950dbcc-944a-4e08-b7d6-35442f917fdf.jpg)\n\n## Requirements:\n- You'll need an OpenAI API Key. You can [get one here](https://platform.openai.com/account/api-keys).\n- ngrok\n- Pip packages - openai, flask, twilio, python-dotenv\n\n## Set an Environment Variable\nCreate a `.env` file in your root directory and add the following line:\n`OPENAI_API_KEY=YOUR-OPENAI-API-KEY`\n\n## Configure the Flask App\nRun the flask app\n`python app.py`\n\nUse `ngrok` to make your flask app accessible over the internet.\n`ngrok http 5000`\nThe above command will give you this output:\n\u003cimg width=\"1156\" alt=\"ngrok-terminal\" src=\"https://user-images.githubusercontent.com/45825464/216396814-a41005a1-6a34-4587-b213-532c4d7ace47.png\"\u003e\n\nUse the forwarding URL as Webhook in the Twilio console in your number settings:\n\u003cimg width=\"938\" alt=\"Twilio-SMS-Console\" src=\"https://user-images.githubusercontent.com/45825464/216396954-91e2247a-c158-4027-80ba-250ed5e18518.png\"\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frishabkumar7%2Fdalle-python-sms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frishabkumar7%2Fdalle-python-sms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frishabkumar7%2Fdalle-python-sms/lists"}