Giter Site home page Giter Site logo

peterdavehello / ipinfo.tw Goto Github PK

View Code? Open in Web Editor NEW
163.0 7.0 26.0 51 KB

๐Ÿณ A self-host ๐Ÿ™… non-tracking, AD-๐Ÿ†“ โž• ๐Ÿช-๐Ÿ†“ solution to show your IP โ„น๏ธ Super small (๐Ÿค10MB)

Home Page: https://ipinfo.tw

License: GNU General Public License v3.0

Dockerfile 93.16% Shell 6.84%
ip ipinfo asn country geoip geoip2 nginx whatismyip whatismyipaddress docker

ipinfo.tw's Issues

Network connectivity issue

$ geoiplookup ipinfo.tw
GeoIP Country Edition: SG, Singapore
GeoIP City Edition, Rev 1: SG, 00, N/A, Singapore, 62, 1.307700, 103.681801, 0, 0
GeoIP ASNum Edition: AS14061 DIGITALOCEAN-ASN


$ nslookup ipinfo.tw
Server:		127.0.0.1
Address:	127.0.0.1#53

Non-authoritative answer:
Name:	ipinfo.tw
Address: 188.166.199.140
Name:	ipinfo.tw
Address: 2400:6180:0:d1::4fc:4001

https://status.digitalocean.com/incidents/kcnsscw1cmsz

ipinfo.tw is hosted on DigitalOcean Singapore region that are facing network connectivity issue more than 3 weeks now, there is no simple solution to this, but maybe need to move the droplet instance to another region, or switch to another VPS.

Automatically log rotate

All the logs should be existed for only debug purpose, there is no reason to keep them in long-term, an automatically log rotate for about 24 hours log lifetime would be good enough.

Running on local network gives empty result

Running it in local network gives empty result:
image

192.168.1.1
 / 
AS / 

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36

Probably same thing for other IP classes: 10.x.x.x 172.x.x.x,
Also running it locally - 127.0.x.x

Of course address/location for this service is unknown, but this looks empty and even '?' would be better :)

Specify alternative ports to 80:80

Hi

As Iโ€™d like to run this docker in host mode , port 80 is already taken, is it possible for me to just change the ports in the Docker compose ?

many thanks

Publish image on GitHub Packages

Reasons:

  1. Decentralize the image registry, provide more options to the users.
  2. Docker Hub now has the image pull limit policy, though not every one will face the issue, as long as you don't need to share IP address with the others, and won't pull too many images in a limited time. The easy approach to mitigate the issue seem to authenticate the identity when pulling an image, but may not be a very good choice for privacy concerned users.

Reference:

Feature Request - IP Lookup

Throwing out a feature request to add an endpoint that would take an IP and get the information about it. Additionally, it would be great if it supported the other endpoints.

Example

$ wget -qO- https://ipinfo.tw/lookup/1.1.1.1
1.1.1.1
AU / Australia
AS13335 / Cloudflare, Inc.

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

This repository currently has no open or pending branches.

Detected dependencies

docker-compose
docker-compose.yml
dockerfile
Dockerfile
  • alpine 3.20
  • alpine 3.20

  • Check this box to trigger a request for Renovate to run again on this repository

Feature Request: Separate Endpoints for IPv4 and IPv6 Information

Feature Request: Separate Endpoints for IPv4 and IPv6 Information

Description

This feature request proposes the addition of separate endpoints to retrieve information specifically for IPv4 and IPv6 addresses.

Proposed Endpoints

  • IPv4 Endpoint: https://ipinfo.tw/ipv4
  • IPv6 Endpoint: https://ipinfo.tw/ipv6

Motivation

Having dedicated endpoints for IPv4 and IPv6 addresses would offer more flexibility for users who specifically require information about a particular IP version. This separation would enhance the usability and granularity of the service.

Name of docker-compose service intended?

Hello, thanks for the great work!
I wondered why the name of the docker compose service is called tor-socks-proxy.
Of course, it's no real problem and could easily be user changed (like ports listening on 0.0.0.0 too etc.) but I still wondered, since I thought it might be unintended :).

Important Update on Our Uptime(Service Availability) Concerns

Hi everyone,

I've noticed some uptime challenges during peak periods recently. Given the current resource constraints, scaling up or out to meet high-demand moments is a bit of a stretch, which might impact those relying on this service for critical production environments.

The service remains a valuable resource for non-critical uses. Yet, for those with production-level needs, setting up your own instance or seeking professional assistance for a seamless self-hosted service is encouraged. Please don't worry. Guidance is available to help you navigate this setup in the README.

Your support and understanding are deeply appreciated as we work through these limitations. Let's also be mindful of how we use the service - a small step, like spacing out requests, can make a big difference. Together, we can ensure a positive environment for all users.

Warm regards,
Peter

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.