This repo contains an python script that transform a Webflow exported site into a valid Fleek site, using the Space website as an example of a Webflow-exported site!
- Python 3.8+
- Copy the exported files from webflow inside
srcdirectory - Run the build file:
python build.py - A
distfolder will be created with the transformed files
config.json file contains all the transforms and files that the script is going to work with:
project.src_path: the source path.project.build_path: the build path where transformed files are going to be saved.project.root_file_name: name that is going to take a file if you specify themove_to_subfolder: trueproperty into thetransformssection for a specific file.links_replacements: common config to replace thetargetvalue byreplace_by(used for links)file_links_replacement: common config to replace thetargetvalue byreplace_by(used for file links)transforms: specify the files that should be transformed