We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://livebeats.fly.dev/ has a way to show your Fly region and ping. This would be a nice addon
The text was updated successfully, but these errors were encountered:
Can I do this?
I understand how to calculate ping for LiveView. Just use phx-hook like that: https://github.com/fly-apps/live_beats/blob/6233b438c23c74c21543a5a122816f5dc2f71974/assets/js/app.js#L185-L203
But I'm not sure for the geographic location. I am going to use geoip library: https://github.com/navinpeiris/geoip with free data provider - freegeoip (https://github.com/fiorix/freegeoip).
And the last one is country flags. -> From clone of this repository: https://github.com/hampusborgos/country-flags
It's ok?
Sorry, something went wrong.
But I'm not sure for the geographic location. I am going to use geoip library:
LiveBeats used an easy trick: they get the env variable FLY_REGION and show a flag for it. It's not perfect but works!
Successfully merging a pull request may close this issue.
https://livebeats.fly.dev/ has a way to show your Fly region and ping. This would be a nice addon
The text was updated successfully, but these errors were encountered: