{"id":14959484,"url":"https://github.com/streamlit/example-app-streamlit-codex","last_synced_at":"2025-10-05T12:52:38.533Z","repository":{"id":43117737,"uuid":"435651172","full_name":"streamlit/example-app-streamlit-codex","owner":"streamlit","description":null,"archived":false,"fork":false,"pushed_at":"2023-08-14T22:42:21.000Z","size":1383,"stargazers_count":12,"open_issues_count":14,"forks_count":9,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-04-05T05:33:26.239Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/streamlit.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":"2021-12-06T21:20:26.000Z","updated_at":"2024-04-18T03:50:59.000Z","dependencies_parsed_at":"2024-09-24T13:33:32.263Z","dependency_job_id":"fb7c0c6a-4046-4a2a-9d87-b4fa5bf37c00","html_url":"https://github.com/streamlit/example-app-streamlit-codex","commit_stats":{"total_commits":7,"total_committers":2,"mean_commits":3.5,"dds":0.1428571428571429,"last_synced_commit":"93e0f90c5ed671830f666da90d5ebf2212e7e0e4"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/streamlit/example-app-streamlit-codex","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamlit%2Fexample-app-streamlit-codex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamlit%2Fexample-app-streamlit-codex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamlit%2Fexample-app-streamlit-codex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamlit%2Fexample-app-streamlit-codex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/streamlit","download_url":"https://codeload.github.com/streamlit/example-app-streamlit-codex/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamlit%2Fexample-app-streamlit-codex/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278457470,"owners_count":25989955,"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-05T02:00:06.059Z","response_time":54,"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":[],"created_at":"2024-09-24T13:19:49.196Z","updated_at":"2025-10-05T12:52:38.517Z","avatar_url":"https://github.com/streamlit.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n[![Open in Streamlit](https://static.streamlit.io/badges/streamlit_badge_black_white.svg)](https://share.streamlit.io/streamlit/example-app-streamlit-codex/main)\n\n\u003cimg src=\"https://user-images.githubusercontent.com/27242399/150765835-8694a961-161e-4f97-bb29-cbc1fce426cb.png\" width=\"500\"/\u003e\n\nA Streamlit app that builds Streamlit apps!\n\n\n### How to use our Codex app\n\nHere are a few sample apps to get you started:\n\n![image](https://user-images.githubusercontent.com/27242399/150765383-817c9cfb-9d00-497d-9aee-a35f39f255fa.png)\n\n\nThe text prompt is where the magic starts.\n\nFirst, explain to Codex what app you’d like to create. For example, create a web app that shows Google stocks in a particular date range. When done, generate the code by clicking on the Execute button:\n\n![image](https://user-images.githubusercontent.com/27242399/150765453-de38e26d-509c-497b-80db-422eb539dd4e.png)\n\nNext, tweak the settings and edit the Codex output. Once Codex generates the code, you’ll see a second prompt. Review the code and edit it if you spot any issues:\n\n![image](https://user-images.githubusercontent.com/27242399/150765487-395131fd-fa1c-4dfe-9b4f-0398a53870cd.png)\n\nHappy with your prompt? It’s time to generate the code to launch your Streamlit app! I’ve used the Python exec function and this code snippet:\n\n\n```\nbutton3 = st.button(\"🎈 Execute Code\")\n    if button3:\n        exec(output_code)Le\n```\n\nThat’s it. Sit back, relax, and watch your app launch!\n\n![image](https://user-images.githubusercontent.com/27242399/150766907-96aaa811-2551-459e-bf5d-5786f3e132e0.png)\n\n\u003cimg src=\"![image](https://user-images.githubusercontent.com/27242399/150765541-817e5f21-ab5b-498c-a992-6c9338eb825d.png)\" width=\"500\"/\u003e\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstreamlit%2Fexample-app-streamlit-codex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstreamlit%2Fexample-app-streamlit-codex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstreamlit%2Fexample-app-streamlit-codex/lists"}