Kumi b485ef06d0
feat(readme): add donation badge and clarify hosting
Added a badge to the README to encourage support through donations, making it easier for users to contribute to the project's development. Also, clarified that our web hosting solution includes both Apache and PHP to provide clearer setup guidance for users looking to implement the service in their own environments.

This enhancement aims to foster community support and ensure users have a clear understanding of the technical requirements for using MyIP.Coffee.
2024-04-24 08:05:33 +02:00

1.2 KiB


Support us on!

MyIP.Coffee is a simple web service that returns the IP address of the client making the request.


There are two components to this project, the website and the endpoint that returns the IP address.

The endpoint runs on and The IPv4 endpoint only has an A record, while the IPv6 endpoint has both only an AAAA record.


If you use nginx, you don't need the endpoint. You can use the following configuration to return the IP address of the client:

server {
    listen 80;
    listen [::]:80;


    location / {
        return 200 "$remote_addr";


As our web hosting solution comes with Apache and PHP, there is a PHP script in endpoint/index.php that just returns the IP address of the client. It is trivial to implement this in other languages, so this is left as an exercise to the reader.


This project is licensed under the MIT License - see the LICENSE file for details.