A good opportunity to try out my YO BIKESHOP hack, you would think… but I quickly noticed that out in the middle of nowhere, on a Sunday morning when many bike shops are closed, my existing search functionality didn’t find any results.
So over the last couple of evenings I tweaked the search, so if it’s not finding a result very nearby, it will gradually widen the search area, in the hope there’s something open a little further out. This should help in a situation where the nearest open bike shop is more than a couple of miles away (it won’t search any further than 50km away, since that’s a limitation of the Google Places API I’m using, and that’s probably further than you’d want to go anyway).
And because BIKESHOP has already well over 500 subscribers, I thought the hack deserved its own domain, so I give you http://yobikeshop.com! The site should work well on a mobile phone (RESPONSIVE, BABY!).
As ever - ping me via @mario on Twitter with any feedback or - god forbid - problems!
In the immortal words of the great Matt LeMay:
We don’t iterate, we iter-GREAT! We iterate until something is GREAT! Wait where are you going
If you’ve ever broken down on your bike, you usually just want to know where your nearest open bike shop is, so they can fix you up and get you back on your way as soon as possible.
And if you’ve been wondering why you want to use the Yo App… well, if the above scenario sounds familiar, I give you at least one reason: the BIKESHOP Yo service I knocked up today while having lunch - entirely bootstrapped! ;)
install the latest version of YO on your iPhone (link), Android (link), or Windows (link) device. It needs to be the latest version, since older versions don’t support location.
add “BIKESHOP” as a new contact
PROTIP: Click on this link http://justyo.co/BIKESHOP on your mobile device, and it will prompt you to install Yo (if needed) and add BIKESHOP to your contacts
double-tap on BIKESHOP, which sends us your location (double-tap is important: if you only tap once, we won’t get your location, so we won’t know where you are)
we send you back a YO that contains a link to your nearest, currently open, bike shop
If your phone prompts you at any time about location, make sure you give permission to use location.
(If there’s problems because some of my sandwich fell into the code and messed things up, hit me up on Twitter at @mario)
NOTE: Some users have reported a problem with the Yo App when double-tapping a contact, where it just spins and never sends the Yo. As far as we can tell this is a problem with the Yo app itself, rather than the BIKESHOP application, so it’d be best to report it to the Yo guys themselves.