abi / screenshot-to-code

Drop in a screenshot and convert it to clean code (HTML/Tailwind/React/Vue)
https://screenshottocode.com
MIT License
55.98k stars 6.86k forks source link

Support using a custom stack with custom prompts and enable community sharing #352

Open reaink opened 3 months ago

reaink commented 3 months ago

recommend feature

list all presets stacks and allow edit framework stack

abi commented 3 months ago

Can you give some more detail? If you click the dropdown next to Stack, you can see all that are available.

lhz516 commented 3 months ago

I'm also interested in more customization. It would be great if we can add a preset for Tailwindcss and generating html based on the Tailwind preset. Is this something on the roadmap? Or is there a workaround now?

abi commented 3 months ago

By preset, do you mean a tailwind.config.js? Yeah, definitely looking to support that.

abi commented 3 months ago

Potentially related to #226

reaink commented 2 months ago

Sorry, what I mean is to customize the tech stack I use, such as Vue + TS + Tailwind or React + Styled Components or Solid + Tailwind.​ For example, you can add my custom prompts on the left side of the page, edit them, and even share these prompts within the community.

abi commented 2 months ago

Ah gotcha, that's a great idea.