abi / screenshot-to-code

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

Turn this into a python package #200

Open theonlyamos opened 8 months ago

theonlyamos commented 8 months ago

Making this into a python package will be great. If all is needed for installation is pip install screenshottocode, and then just running screenshottocode starts the application, it will make it easier to use this project. I can work on that if you want.

The frontend will just have to be built before publishing the whole application.

I've already added gemini pro vision support and made a pull request. I hope it get's merged.

mkos11 commented 8 months ago

Follow @theonlyamos

theonlyamos commented 8 months ago

I've converted the project into a python package. Installation with command below:

pip install https://github.com/theonlyamos/screenshot-to-code/archive/main.zip

Usage:

screenshottocode

Go to https://github.com/theonlyamos/screenshot-to-code.git for more information.

DiTo97 commented 7 months ago

Any plans of merging that in the main codebase, @theonlyamos?

theonlyamos commented 6 months ago

Already created a pull request, waiting to be merged.