I’m considering to retire the Discourse instance I’m hosting since it doesn’t get much traction. But I would like to know if it’s possible to host an read-only copy. Because the topics are useful for others to find. Is it possible to create a copy without running the database and all dependencies? So, just a static HTML copy.
Falco
(Falco)
December 1, 2021, 12:46pm
2
There are quite a few topics about that like
It seems that it’s pretty tricky to save an entire discourse site to a static version. According to this post by Jeff Atwood, it’s “much harder than you’d think”. It doesn’t appear that this is a priority for the Discourse team, either, which is perfectly understandable.
For my purposes, though, I found that I really needed some way to generate basic, static HTML versions of my Discourse sites. I’ve been using Discourse for a couple of years now as a discussion board when teaching my college ma…
It took me way too long to figure out how to make a searchable WARC, so I’ll describe this here, hoping others will benefit as well.
Download a copy of your Discourse site using wget to a WARC archive. Replace the capitalized strings with values specific to your site.
wget --mirror \
--warc-file=MY_FORUM \
--warc-cdx \
--page-requisites \
--convert-links \
--adjust-extension \
--compression=auto \
--reject-regex "/search" \
--no-if-modified-si…
system
(system)
Closed
December 31, 2021, 12:47pm
3
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.