Geofence your self-hosted API's

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • Scout APM - Less time debugging, more time building
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
  • SaaSHub - Software Alternatives and Reviews
  • go-geofence

    A small library to detect if an IP address is close to yours or another of your choosing using https://freegeoip.app/

    What did I do to solve this? I wrote a library called go-geofence that uses freegeoip.app behind these scenes (because the service gives you 15,000 request per hour for free).

  • Apache

    Mirror of Apache HTTP Server. Issues: http://issues.apache.org

    Caddy is an awesome web server alternative to nginx and apache (httpd). Caddy is written in Go, is a much more performant and extensible web server (in my opinion). With Caddy, you can host basic files or reverse proxy your API's, which is how I use it. I use Caddy because of its automatic TLS functionality so I don't have to worry about manual creation of certificates and keys.

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • witchonstephendrive.com

    A home automation project to control my Halloween decorations

    Since I'm using echo as the web framework to control my decorations, I was able to implement some pretty simple middleware that rejects POST requests from IP addresses that aren't within close proximity to mine with a 403 status code.

  • Echo

    High performance, minimalist Go web framework

    Since I'm using echo as the web framework to control my decorations, I was able to implement some pretty simple middleware that rejects POST requests from IP addresses that aren't within close proximity to mine with a 403 status code.

  • caddy-geofence

    A caddy module for IP geofencing your caddy web server using freegeopip.app

    For more info on implementing a geofenced web server/reverse proxy with caddy, see the caddy-geofence repo

  • Caddy

    Fast, multi-platform web server with automatic HTTPS

    Caddy is an awesome web server alternative to nginx and apache (httpd). Caddy is written in Go, is a much more performant and extensible web server (in my opinion). With Caddy, you can host basic files or reverse proxy your API's, which is how I use it. I use Caddy because of its automatic TLS functionality so I don't have to worry about manual creation of certificates and keys.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts