Loading repository data…
Loading repository data…
cirediatpl / repository
FigmaChain is a set of Python scripts that generate HTML/CSS code based on Figma designs. Using OpenAI's GPT-3 model, FigmaChain enables developers to quickly generate HTML/CSS code from a Figma design input. It also includes a Streamlit-based chatbot interface for interactive code generation.
FigmaChain is a set of Python scripts that generate HTML/CSS code based on Figma designs. Using OpenAI's GPT-3 model, FigmaChain enables developers to quickly generate HTML/CSS code from a Figma design input. It also includes a Streamlit-based chatbot interface for interactive code generation.
OPENAI_API_KEY)ACCESS_TOKEN, NODE_IDS, and FILE_KEY)To access the Figma RESTful API, you will need an access token, node IDs, and a file key.
https://www.figma.com/file/{filekey}/sampleFilename is {filekey}.?node-id={node_id} parameter in the URL..env file in the project directory and add the following environment variables: OPENAI_API_KEY, ACCESS_TOKEN, NODE_IDS, FILE_KEYThis script generates HTML/CSS code based on a user-provided input and a Figma design.
output.html file.This is the chatbot code.
✨ Learn to build projects like this one (with an early bird discount): BuildFast Course