trozler / Whereami
Licence: mit
A short shell script that returns you your IPv4 address and its geolocation.
Stars: ✭ 108
Programming Languages
shell
77523 projects
Labels
Projects that are alternatives of or similar to Whereami
GeoLite2-City
GeoLite2-City.mmdb.gz CDN files based on Free Open Source CDN jsDelivr!
Stars: ✭ 170 (+57.41%)
Mutual labels: location, ip
GeoLite2-Country
GeoLite2-Country.mmdb.gz CDN files based on Free Open Source CDN jsDelivr!
Stars: ✭ 69 (-36.11%)
Mutual labels: location, ip
jqIpLocation
jqIpLocation – jQuery Plugin that returns the location of an IP address in JSON format
Stars: ✭ 18 (-83.33%)
Mutual labels: location, ip
Locokit
Location, motion, and activity recording framework for iOS
Stars: ✭ 1,353 (+1152.78%)
Mutual labels: location
Pornhub Downloader
Bash Script for downloading content from PornHub (the easy way)
Stars: ✭ 87 (-19.44%)
Mutual labels: bash-script
Leaflet Gps
Simple leaflet control plugin for tracking gps position
Stars: ✭ 90 (-16.67%)
Mutual labels: location
Func Loc
A simple tool that helps you to retrieve the function location from its reference.
Stars: ✭ 99 (-8.33%)
Mutual labels: location
Location
Smartphone navigation positionning, fusion GPS and IMU sensors.
Stars: ✭ 87 (-19.44%)
Mutual labels: location
Archtorify
Transparent proxy through Tor for Arch Linux OS
Stars: ✭ 100 (-7.41%)
Mutual labels: bash-script
Geo Location
Web component element for the Geolocation API
Stars: ✭ 86 (-20.37%)
Mutual labels: location
Spring Boot Shopping Cart
Simple shopping cart web app made using Spring Boot + Thymeleaf
Stars: ✭ 85 (-21.3%)
Mutual labels: bash-script
Pillager
A wget script that makes pillaging websites much easier.
Stars: ✭ 107 (-0.93%)
Mutual labels: bash-script
Synonym
Find synonyms in 15 different languages directly from your terminal.
Stars: ✭ 95 (-12.04%)
Mutual labels: bash-script
whereAmI
A short shell script that returns you your IPv4 address and its geolocation.
Update December 10th 2020.
- Regex bug fixed: script now works for countries with spaces in their names e.g. United States.
- New line bug fixed: added new line character to end of script.
Update August 30th 2020.
- The script is now POSIX compatible.
- It performs much better and is more conceis: 2
sed
and 2grep
commands --> 1sed
command. - End points have again been updated to provide better geolocation accuracy.
If you have previously installed the script, update your local copy like this:
$ cd ~/whereAmI/
$ git pull origin master
Also for those who created an alias, change the interpreter to shebang:
alias myip="/bin/sh ~/whereAmI/findmepls.sh"
Installation
$ cd ~
$ git clone https://github.com/trozler/whereAmI.git
I recommend adding the following alias to your bashprofile (~/.bash_profile
).
~/.bashrc
should also work.
$ echo -e '\nalias myip="/bin/sh ~/whereAmI/findmepls.sh"' >> ~/.bash_profile
$ source ~/.bash_profile
How to run
If you created the alias:
$ myip
88.3.356.944 - Palma, Balearic Islands, ES.
Otherwise:
$ /bin/sh ~/whereAmI/findmepls.sh
88.3.356.944 - Palma, Balearic Islands, ES.
Lastly, if you are not connected to the internet, then well, you must be somewhere off the shoulder of Orion.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].