DEV Community

Discussion on: How to make a website whose source code can be downloaded in .rar format ?

Collapse
 
covodo_de profile image
covodo • Edited

You only need to build the source code, and then place variables in it. Then zip all the files. As far as I know you can create an uncompressed zip with JavaScript pretty easily.

Probably the easiest thing would be to let the user use prebuilt components and you just group them together in files and these files in a zip archive to download them.