From 7b17e4bace10c63491457ccdac432d105d2697ae Mon Sep 17 00:00:00 2001 From: Abi Raja Date: Mon, 25 Mar 2024 15:13:16 -0400 Subject: [PATCH 1/5] Delete blog/video-to-app.md --- blog/video-to-app.md | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 blog/video-to-app.md diff --git a/blog/video-to-app.md b/blog/video-to-app.md deleted file mode 100644 index 3561f6d..0000000 --- a/blog/video-to-app.md +++ /dev/null @@ -1,18 +0,0 @@ - -## Capture a screen recording of a web site in action and have the AI build it for you. - -* Unlike screenshots, the app will not visually look exactly like the screen recording but it will be functional -* IMPORTANT: This is very experimental and each call is expensive (a few dollars). I would recommend setting up usage limits on your Anthropic account to avoid excess charges. - -## Setup - -This uses Claude 3 by Anthropic. Add an env var ANTHROPIC_API_KEY to backend/.env with your API key from Anthropic. - - -## Examples - -https://github.com/abi/screenshot-to-code/assets/23818/fe236c1e-ab92-4d84-b63d-e73e5be9a726 - -## Tips for taking videos - -* We extract frames from your video so linger over each feature for a second or two. From 11cebfad6d4b6f3247cde407c0a132dfd58d8c7c Mon Sep 17 00:00:00 2001 From: Abi Raja Date: Sat, 30 Mar 2024 18:41:15 -0400 Subject: [PATCH 2/5] Update Troubleshooting.md --- Troubleshooting.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Troubleshooting.md b/Troubleshooting.md index ac6fe11..3891db3 100644 --- a/Troubleshooting.md +++ b/Troubleshooting.md @@ -13,6 +13,9 @@ You don't need a ChatGPT Pro account. Screenshot to code uses API keys from your 6. Go to Screenshot to code and paste it in the Settings dialog under OpenAI key (gear icon). Your key is only stored in your browser. Never stored on our servers. -Some users have also reported that it can take upto 30 minutes after your credit purchase for the GPT4 vision model to be activated. +## Still not working? -If you've followed these steps, and it still doesn't work, feel free to open a Github issue. +- Some users have also reported that it can take upto 30 minutes after your credit purchase for the GPT4 vision model to be activated. +- You need to add credits to your account AND set it to renew when credits run out in order to be upgraded to Tier 1. Make sure your "Settings > Limits" page shows that you are at Tier 1. + +If you've followed these steps, and it still doesn't work, feel free to open a Github issue. We only provide support for the open source version since we don't have debugging logs on the hosted version. If you're looking to use the hosted version, we recommend getting a paid subscription on screenshottocode.com From 5b6d1c4421785fc1af258a311a54fac81307d72f Mon Sep 17 00:00:00 2001 From: Abi Raja Date: Thu, 4 Apr 2024 12:18:41 -0400 Subject: [PATCH 3/5] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 42ac2aa..3e5fc7f 100644 --- a/README.md +++ b/README.md @@ -84,6 +84,7 @@ The app will be up and running at http://localhost:5173. Note that you can't dev - **How do I get an OpenAI API key?** See https://github.com/abi/screenshot-to-code/blob/main/Troubleshooting.md - **How can I configure an OpenAI proxy?** - you can configure the OpenAI base URL if you need to use a proxy: Set OPENAI_BASE_URL in the `backend/.env` or directly in the UI in the settings dialog - **How can I update the backend host that my front-end connects to?** - Configure VITE_HTTP_BACKEND_URL and VITE_WS_BACKEND_URL in front/.env.local For example, set VITE_HTTP_BACKEND_URL=http://124.10.20.1:7001 +- **Seeing UTF-8 errors when running the backend?** - On windows, open the .env file with notepad++, then go to Encoding and select UTF-8. - **How can I provide feedback?** For feedback, feature requests and bug reports, open an issue or ping me on [Twitter](https://twitter.com/_abi_). ## 📚 Examples From 58a929731f936da69c2f4a1fd24b54f1ef566b8e Mon Sep 17 00:00:00 2001 From: Abi Raja Date: Thu, 4 Apr 2024 15:38:25 -0400 Subject: [PATCH 4/5] update wording to make it more obvious --- frontend/src/components/ModelSettingsSection.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/ModelSettingsSection.tsx b/frontend/src/components/ModelSettingsSection.tsx index a105e63..4a4e7b9 100644 --- a/frontend/src/components/ModelSettingsSection.tsx +++ b/frontend/src/components/ModelSettingsSection.tsx @@ -25,7 +25,7 @@ function ModelSettingsSection({ return (
- Model: + AI Model: