News for hackers. Stuff that matters.
Re:Show HN: Config.ly – Never hardcode your data again by munro on Wednesday November 11, 2020 @01:01PM (#25060878)
Oh yea, mobile apps are totally a great use case. But honestly I would probably just toss a quick route for `/config` in my backend server that returns my config JSON for the app--and then boom we're back to having version controlled configs in my git repos. And obviously, make sure in the app to cache the last version incase there's no internet connection, unless maybe the app requires an internet connection.
Re:Show HN: Config.ly – Never hardcode your data again by jeremyis on Wednesday November 11, 2020 @01:04PM (#25060911)
Makes sense and you could definitely do that.

I could be wrong, but I think some folks would want their other clients -- even their server -- retrieving that value from that one single source. So when you roll an Android app, you'd also want to implement HTTP + caching... And basically you're on the path to building your own Configly.

Re:Show HN: Config.ly – Never hardcode your data again by kall on Wednesday November 11, 2020 @01:17PM (#25061049)
It’s really not so hard to roll yourself IF you don’t need a web interface.

In my GraphQL api I have a resolver called appConfig. That enables me to fetch the config I need for a screen in the same request as the data and to reuse any caching/offline/http logic the app already has. Zero added latency. No service can beat that, but then it‘s also just me editing postgres to change the config.

Re:Show HN: Config.ly – Never hardcode your data again by michaelmior on Wednesday November 11, 2020 @02:48PM (#25062144)
I think even if you do need a web interface, there are enough plug and play tools that will give you something that works reasonably well. That isn't to say that a service like Config.ly couldn't do a much better job.
Re:Show HN: Config.ly – Never hardcode your data again by asutekku on Wednesday November 11, 2020 @05:14PM (#25063639)
I’m just saying that if a non-developer needs to config something, they for sure would like to have a web interface.