Site title based on citie's IP geolocation

Hi, just want to know if it is possible to use some code to make website show a certain City title based on ip address of a visitor? If yes, what the shortest way to do this in Blocs or outside of it without deep knowledge of php or something else? Thank YOU!