Hacker News new | ask | show | jobs
by tomlagier 2396 days ago
Hey friend, this looks awesome! I spent some time playing around with a similar idea but ended up chasing it from a different angle (a tool you could use to create arbitrary roleplaying systems, divorced from D&D).

Was just digging around because I was curious how you were doing some things, particularly loading the character and monster data. If I'm understanding this correctly, you've got it all packed into just 391kb of JS which blows my mind!

That said, I think your webpack might be slightly misconfigured for that output bundle - I'm seeing what appears to be the same JS requested twice, under `%5BpageId%5D.js` and `%5BcharacterId%5D.js`.

One feature that I'd love to see added would be the ability to make certain pages, characters, or sections public.

The suggested creatures for an encounter don't seem to be taking the level into account - I'm getting mostly CR 1/8 - 3 for any environment I select, with a single character of level 14.

Overall, great job. Really like the UX, and I think that the quick search is a crucial improvement to existing tools. Being able to quickly search for things and link to other stuff is huge. I'm sure we'll be able to embed other content types soon as well.

1 comments

Public/sharing options is something very high on my priority list. I wanted to get the core functionality right before moving on to that feature set.

As for the js bundles, everything including webpack is managed by next.js, and it handles code splitting at the route level. I'd like to converge the /page and /character pages to reduce the network calls, but unfortunately its out of my control right now.

I will take a look at the encounter ratings. Thanks for letting me know!