HNHacker News
TopNewBestAskShowJobs

Commander_lol

3 karma · joined May 16, 2019

Product engineery-managery sort of fella, qualified amateur cook, occasional freelancer

2x Technical Founder, Currently building things to scratch my own itch

I write less than one blog post a year @ https://louiscap.co

submissionscomments
Commander_lol··on Show HN: Citizen – A Node.js web app framework for fans of classic app servers
Congrats on launching your 1.0!

As someone else that is doing something with a remarkably similar sales pitch for the same sorts of reasons, it's interesting to see a very different approach to the one that I've taken.

Are there any particular use cases that you've encountered that wouldn't be a particularly good fit for Citizen? (i.e. do you have an anti-pitch?)

It would be interesting to know what considerations you've made for a few other points I might expect from an app server:

- What's the story around scaling the number of instances of a Citizen app beyond 1? There are a few things like sessions or cache that are stored in globals

- Similarly, how configurable are things like (e.g.) session storage? If, for example, I wanted to use cookies or store sessions in my database

- Is there any prescriptive way that you're supposed to interact with external data? By this I mean, you've got some file structure for storing models, but it's unclear what the expected usage is

I'm looking forward to seeing how this evolves!

Commander_lol··on Cloudflaredd – Dynamic DNS Client for Cloudflare Using STUN
I enjoyed having a skim through this code, as I didn't know about STUN before. I've built a similar utility for cloudflare-as-dynamic-dns [1], written in Node.js because it just runs on my home server and isn't performance critical.

I might have a shot at changing the IP retrieval from calling the ipify API into some STUN implementation; are there any pitfalls or gotchas you've come across when implementing STUN?

[1] https://github.com/Commander-lol/cfdns