[GH-ISSUE #407] Show client's public ip address when "my ip" is used as search keyword #272

Closed
opened 2026-02-25 20:35:18 +03:00 by kerem · 10 comments
Owner

Originally created by @mahenkpatel on GitHub (Aug 28, 2021).
Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/407

Originally assigned to: @vacom13 on GitHub.

The top search result should show client's public ip address when "My ip" keyword is used for search. Google does it.

This prevents the need to visit any 3rd party website just to check client's public ip address. Useful for troubleshooting vpn and throughput issues.

Originally created by @mahenkpatel on GitHub (Aug 28, 2021). Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/407 Originally assigned to: @vacom13 on GitHub. The top search result should show client's public ip address when "My ip" keyword is used for search. Google does it. This prevents the need to visit any 3rd party website just to check client's public ip address. Useful for troubleshooting vpn and throughput issues.
kerem 2026-02-25 20:35:18 +03:00
Author
Owner

@Albonycal commented on GitHub (Aug 29, 2021):

Well this will have to be custom coded and with a list of some common search terms like "what is my ip" etc..
Yea this one might be a good feature

<!-- gh-comment-id:907831238 --> @Albonycal commented on GitHub (Aug 29, 2021): Well this will have to be custom coded and with a list of some common search terms like "what is my ip" etc.. Yea this one might be a good feature
Author
Owner

@benbusby commented on GitHub (Oct 14, 2021):

For anyone interested in contributing, this would be straightforward.

The main thing to do would be to pass request.remote_addr to the template used in the /search endpoint in routes.py, if the user's request contains some variation of "my ip".

For anyone interested, please assign the issue to yourself before getting started.

<!-- gh-comment-id:942885752 --> @benbusby commented on GitHub (Oct 14, 2021): For anyone interested in contributing, this would be straightforward. The main thing to do would be to pass `request.remote_addr` to the template used in the `/search` endpoint in `routes.py`, if the user's request contains some variation of "my ip". For anyone interested, please assign the issue to yourself before getting started.
Author
Owner

@vacom13 commented on GitHub (Oct 16, 2021):

Hey @benbusby. I am interested. I will work on this. I am curious though. How do I assign the issue to myself? Could you help me with that?

<!-- gh-comment-id:944976491 --> @vacom13 commented on GitHub (Oct 16, 2021): Hey @benbusby. I am interested. I will work on this. I am curious though. How do I assign the issue to myself? Could you help me with that?
Author
Owner

@benbusby commented on GitHub (Oct 16, 2021):

@vacom13 In the right column of the issue UI there should be an "Assignees" tab where you can select "assign yourself".
16Oct21_123440

<!-- gh-comment-id:944978812 --> @benbusby commented on GitHub (Oct 16, 2021): @vacom13 In the right column of the issue UI there should be an "Assignees" tab where you can select "assign yourself". ![16Oct21_123440](https://user-images.githubusercontent.com/33362396/137598590-1b78c28b-ed34-455a-96ab-2137ea868011.png)
Author
Owner

@vacom13 commented on GitHub (Oct 16, 2021):

image
@benbusby The "assign yourself" isn't showing up.

<!-- gh-comment-id:944979540 --> @vacom13 commented on GitHub (Oct 16, 2021): ![image](https://user-images.githubusercontent.com/69755265/137598621-d563128f-3564-4616-a2f2-afa0896a1e24.png) @benbusby The "assign yourself" isn't showing up.
Author
Owner

@vacom13 commented on GitHub (Oct 16, 2021):

I cannot click on that row either. Is it a feature I am supposed to turn on maybe in the Github account settings?

<!-- gh-comment-id:944979756 --> @vacom13 commented on GitHub (Oct 16, 2021): I cannot click on that row either. Is it a feature I am supposed to turn on maybe in the Github account settings?
Author
Owner

@benbusby commented on GitHub (Oct 16, 2021):

Oh right, I forgot that GitHub works like that. I don't recall what the solution is anymore -- I'll just assign it to you manually in the meantime.

<!-- gh-comment-id:944980425 --> @benbusby commented on GitHub (Oct 16, 2021): Oh right, I forgot that GitHub works like that. I don't recall what the solution is anymore -- I'll just assign it to you manually in the meantime.
Author
Owner

@vacom13 commented on GitHub (Oct 16, 2021):

Okay. No problem. I will try to finish asap.

<!-- gh-comment-id:944986905 --> @vacom13 commented on GitHub (Oct 16, 2021): Okay. No problem. I will try to finish asap.
Author
Owner

@vacom13 commented on GitHub (Oct 17, 2021):

Hey @benbusby. I have a doubt. Passing the ip address is all good. About displaying it, I assume, I have to use beautiful soup to add it to response?

<!-- gh-comment-id:945120383 --> @vacom13 commented on GitHub (Oct 17, 2021): Hey @benbusby. I have a doubt. Passing the ip address is all good. About displaying it, I assume, I have to use beautiful soup to add it to response?
Author
Owner

@necaran commented on GitHub (Oct 22, 2021):

Well, it's shows my IP address as 172.17.0.2. I am running Whoogle behind nginx-proxy.

<!-- gh-comment-id:949996471 --> @necaran commented on GitHub (Oct 22, 2021): Well, it's shows my IP address as 172.17.0.2. I am running Whoogle behind `nginx-proxy`.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/whoogle-search#272
No description provided.