Skip to content

redirect2me/netlify-geolocation

Repository files navigation

Netlify Geolocation Geolocation logo

Netlify Status

Server that determines your physical location by looking at headers sent to Netlify edge functions.

Try it with: Netlify

Also see a more detailed comparison of geolocation providers

How it works

This application is just a simple app that shows various values provided by Netlify's context object.

Running it yourself

It is a trivial TypeScript application. See run.sh for how I run it during development.

LATER

Contributions

Contributions are welcome! If you know of any other similar CDNs/services, let me know & I will add them in!

API

There is a simple JSON/JSONP API that is free for light, non-commercial use. This is such a trivial application that you should run your own copy (or make your own version) for anything serious. Netlify has a generous free plan (which is what I'm using).

Send a callback parameter to get JSONP instead of JSON.

License

GNU Affero General Public License v3.0

Credits

Deno Git Github Jekyll Netlify NodePing npm svgrepo TypeScript VectorLogoZone water.css

About

Geolocation with Netlify edge functions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published