~gsthnz/public-inbox

1

gssg to also do http

Details
Message ID
<CIZJ616R3B7X.12E5KN2KEARTA@rek2system>
DKIM signature
pass
Download raw message
Hello, will it be possible to add http support?
I know, I know this may sound silly, but I am a solely gemini blogger,
and since sr.ht supports both I decided what if I can run gssg and also
create optionally the http pages so I can enable that feature with out
having to switch to a bloated HUGO that does not do gemini.

Thanks for gssg keep working on it.
Happy Hacking
ReK2
Details
Message ID
<7f00198e-454d-a5fb-a149-3cdc6abb53c1@gsthnz.com>
In-Reply-To
<CIZJ616R3B7X.12E5KN2KEARTA@rek2system> (view parent)
DKIM signature
pass
Download raw message
Hi Rek2,

First of all, thanks for using gssg! Good to see people using :)

On 4/2/22 03:12, rek2@hispagatos.org wrote:
> Hello, will it be possible to add http support?
> I know, I know this may sound silly, but I am a solely gemini blogger,
> and since sr.ht supports both I decided what if I can run gssg and also
> create optionally the http pages so I can enable that feature with out
> having to switch to a bloated HUGO that does not do gemini.
While I developed gssg as being a gemini-only solution, it's certainly 
possible to add HTML support. But I think we should add it in a way that 
does not impact the overall gemini usage, a optional config.toml 
section, perhaps.

Thinking about it made me interested in doing it :)

I think the roadmap for this feature is more or less as follows:
- Add some sort of optional HTML config on config.toml
- Refactor the generatePages to support more template types
- Create default HTML templates (index.html and page.html)

While I use Hugo for gsthnz.com, it would certainly be possible to make 
it with gssg, and with much less code.

> Thanks for gssg keep working on it.
Thanks for the idea.

I will try to work on it in the next few days, If you want to help, I 
suck writing HTML, so I could use a hand with that :)

-- 
Gustavo Heinz
Reply to thread Export thread (mbox)