chriskthomas / linkfree-generator

A simple, free, open-source, and self-hosted alternative to linktree
https://linkfree.ckt.im
Apache License 2.0
140 stars 28 forks source link

Deploy: Make user download index.html as .zip folder #21

Closed Adedoyin-Emmanuel closed 5 months ago

Adedoyin-Emmanuel commented 1 year ago

We can add an option to make the user download the index.html file as a zipped file so they can easily deploy it on Netlify

Screenshot from 2023-07-30 17-57-40 pages.

chriskthomas commented 1 year ago

Good idea. This is possible with output buffers and the ziparchive library in php:

As an alternative to ziparchive and tmpfile, I could use ZipStream. However, that would complicate the project somewhat.

This is probably something that I should do, but if someone thinks that they can do it, I'm happy to assign.

Adedoyin-Emmanuel commented 1 year ago

@chriskthomas can you assign the task to me

chriskthomas commented 1 year ago

@chriskthomas can you assign the task to me

Sure! I think you'll want to:

chriskthomas commented 5 months ago

@Adedoyin-Emmanuel are you still interested in doing this? Let me know if you need any help.