stacey icon indicating copy to clipboard operation
stacey copied to clipboard

Static site generator?

Open SummerSeaSun opened this issue 4 years ago • 5 comments

Hi,

I'm wondering if there's a way to generate static files so we can avoid the use of php for serving the site.

Something like this: https://nuxtjs.org/guide/installation#codefund_ad

SummerSeaSun avatar Dec 03 '19 11:12 SummerSeaSun

Hello, I am not familiar with Nuxtjs.

I have been using SiteSucker for years to generate a static version of my sites. I have recently been considering another app for this purpose, SiteFetcher.

Best regards

pbatts avatar Dec 03 '19 12:12 pbatts

Thanks for sharing, I'm not using mac, I will look at https://www.httrack.com/

SummerSeaSun avatar Dec 04 '19 10:12 SummerSeaSun

Let us know how it goes.

pbatts avatar Dec 04 '19 12:12 pbatts

I've tried everything but the best is this combination:

  • just run an old version of php on local machine with docker
  • create a static folder with everythin needed for stati site:

wget --mirror --convert-links --page-requisites --span-hosts -U Mozilla -e robots=off --no-cookies --domains=127.0.0.1 http://127.0.0.1:8000

SummerSeaSun avatar Dec 15 '21 13:12 SummerSeaSun

To scrape websites I use Cyotek Webcopy. It's free.

desbest avatar Dec 15 '21 13:12 desbest