Thread overview
static site generation toolkit in d
Dec 23
monkyyy
Dec 23
Sergey
Dec 23
monkyyy
Dec 23
monkyyy
December 23

I have my website and wasm raylib

https://github.com/crazymonkyyy/raylib-2024

https://github.com/crazymonkyyy/crazymonkyyy.github.io

both need work where you make quick and dirty scripts to generate html and I have some tools to start but they are a mess and I hate working with the web.

So its my raylib wasm project is moving down the todo list until I actaully understand how emscription makes its web pages at all before I make automation for the examples, and finishing my website has been on the todo for... months; etc.

Would anyone be interested in making a similar website (d scripts to static html on github pages) with my tools and clarifying my thoughts on how ... any of this should work?

December 23

On Saturday, 23 December 2023 at 00:30:48 UTC, monkyyy wrote:

>

any of this should work?

You can check this solution https://github.com/kambrium/dssg/tree/master

So if your approach is not very different maybe better improve this solution, instead of creating another one.
NIH syndrome is already too high in D :)

December 23

On Saturday, 23 December 2023 at 12:00:23 UTC, Sergey wrote:

>

On Saturday, 23 December 2023 at 00:30:48 UTC, monkyyy wrote:

>

any of this should work?

You can check this solution https://github.com/kambrium/dssg/tree/master

So if your approach is not very different maybe better improve this solution, instead of creating another one.
NIH syndrome is already too high in D :)

Well for starters I cant find where the real main code is inside that enterprise-grade oo structure whereas hey look this is a 30 line file https://github.com/crazymonkyyy/crazymonkyyy.github.io/blob/master/sitegen.d

December 23

On Saturday, 23 December 2023 at 18:36:41 UTC, monkyyy wrote:

>

Well for starters I cant find where the real main code is inside that enterprise-grade oo structure whereas hey look this is a 30 line file https://github.com/crazymonkyyy/crazymonkyyy.github.io/blob/master/sitegen.d

You're sure you've looked into source code? Seems like it is in core.d.

December 23

On Saturday, 23 December 2023 at 20:00:10 UTC, Alexandru Ermicioi wrote:

>

On Saturday, 23 December 2023 at 18:36:41 UTC, monkyyy wrote:

>

Well for starters I cant find where the real main code is inside that enterprise-grade oo structure whereas hey look this is a 30 line file https://github.com/crazymonkyyy/crazymonkyyy.github.io/blob/master/sitegen.d

You're sure you've looked into source code? Seems like it is in core.d.

based on what?
https://github.com/kambrium/dssg/blob/e2524a7606f073e264faa4c7a7a7c63fc9379d7a/source/app.d#L7C3-L7C21
I see a "handle cli" and that cli then imports 5 things and then nested try-catch blocks and just nah