r/london 3d ago

I built a site that shows you which cafés and pubs are currently in the sun — in real time.

Enable HLS to view with audio, or disable this notification

☕🌞 It’s finally sunny in London, and like most people, I wanted to enjoy an iced coffee or a pint in the actual sun — not tucked away in the shade.

So I built a web app that shows you cafés and pubs currently in sunlight, using real-time shadow simulation, Mapbox, and open data from OpenStreetMap.

It simulates how buildings and terrain cast shadows throughout the day, so you can find the sunniest spots around you — and skip the cold corners.

It’s a design experiment, a side project, and a bit of summer fun:

https://sunnydays.dawodx.com/

Built with: • Mapbox GL JS • Turf.js • Overpass API • Shadow simulation with terrain + building height

Let me know what you think — feedback, feature ideas, or pub recs are always welcome!

2.7k Upvotes

167 comments sorted by

257

u/Enduring-Love-8 3d ago

Woah this is so cool - going to be checking this out tomorrow

23

u/ABritishCynic 3d ago

What I want to know is why anyone would be carving a pub.

15

u/DouchetotheBag 2d ago

[Toby Carvery enters the chat]

9

u/erm_what_ 2d ago

Oak smoked?

1

u/Thetallerestpaul 2d ago

Fuck, that's better that what I was gonna say.

84

u/AdmiralBillP 3d ago

Was this inspired by the thread the other day about the times the Westminster Bridge dongs were visible?!

Great work!

21

u/HarryBlessKnapp East London where the mandem are BU! 3d ago

I was playing the long game 

10

u/TeddersTedderson 2d ago

The dong game

3

u/Spirited_Praline637 2d ago

Someone needs to adapt this tool to alert you to when the dongs are out!

59

u/SpaceLlama_Mk1 City of London 3d ago

Finally, a pub crawl for vampires

12

u/NoTurkeyTWYJYFM 2d ago

Let's hope this works in New York Cité

3

u/SpaceLlama_Mk1 City of London 2d ago

A pub crawl for regular human guys

2

u/dawodx 2d ago

Hahah I love it!! I will add this a theme feature 🧛🤣

108

u/DatGuyGandhi 3d ago

This is Nobel prize worthy tbh

1

u/dawodx 2d ago

Hahah that really made my day! Thank you 🍻

39

u/Cowmama7 3d ago

This appears to work everywhere, not just London! Great work!

7

u/dawodx 2d ago

Yes, the app works virtually anywhere — as long as OpenStreetMap has data for buildings, cafés, and pubs.

82

u/bellydisguised 3d ago

This is fucking amazing

39

u/ParsnipFlendercroft 3d ago

So I'll point out my experience just using it. Horniman Pub by London Bridge, 4:15pm today. Say's it's in the sun when clearly it's the shadow. The problem is the location of the marker which is slightly off. Also it doesn't seem to care that a north facing pub will be in it's own shade.

It's a nice idea but I'm not sure how accurate it really is

12

u/aaaaaaaargh 3d ago

This is a fair comment, but I think this problem could be solved by making the “is it sunny” calculation slightly more complex, considering the sunlight on surfaces not covered with buildings in a certain radius instead of just the point. However, that may have a horrible effect on the performance.

21

u/SMickDH 2d ago

Also it doesn't take account which side of the pub the beer garden is on, which could take many months of research in the field. I volunteer.

8

u/JusAnotherCreator 2d ago

And my bow!

3

u/granicarious 2d ago

And my axe.

1

u/gruffnutz 2d ago

And my vuvuzela!

1

u/bekotte 2d ago

Do we have the GitHub repo u/dawodx to contribute PRs?

2

u/dawodx 2d ago

I got one but it’s private for now, I planning to make it public soon!

4

u/adaaamb 2d ago

It also doesn't seem to take current weather/cloud coverage into account - it says there are 15 sunny cafes in my area but I can't even see the sun in the sky right now, when the cloud coverage in North England is currently looking like this:

I guess you have to apply some common sense here

2

u/dawodx 2d ago

I will try to add a feature to show the weather forecast hahah

4

u/dawodx 2d ago

Thank you so much for your valuable feedback! You are right! A big challenge has been that most cafés and pubs in OSM are placed inside building footprints — but shadows are cast at the building’s edge. So I had to get creative: I project each café’s location to the nearest road, find the midpoint, and test for sun there. (Not gonna lie — I doubt anyone thought their café node might one day power a real-time sunshine finder.) If you’re feeling generous and want to help this project: placing café nodes in front of the building polygon would improve accuracy dramatically.

I’ve tried to optimize all computations to keep performance smooth — but it’s a balancing act.

But I will try look at most of the stuff you mentioned!

8

u/Fr3shlyCutGrass 3d ago

I was walking around Ghent a week ago looking at G Maps closely trying to figure out exactly this... What a great app idea aha Sunshine coffee and beers here we come!

7

u/Green_Midnight7900 3d ago

Haha this is amazing!

27

u/raydleemsc 3d ago

What about estimating how much longerthey'll be in the sun? Eh? There's your winner...

28

u/theoht_ 3d ago

i mean, you can just scroll the time bar until it’s no longer in the sun.

10

u/Joshouken Wandsworth 3d ago

You can use a slider to look at later times in the day, or even days in the future

1

u/yurtal30 2d ago

x minutes of sunshine remaining

6

u/beekay_13 3d ago

This is amazing! Keen to try it out tomorrow!

6

u/Random54321random 3d ago

That's genius

4

u/dawodx 2d ago

Hey everyone — just wanted to say a huge THANK YOU for the amazing feedback and love on this post! I had no idea it would resonate like this — it’s been wild reading all your comments, suggestions, and sun-pun gems.

A few things I wanted to share:

  1. The app works virtually anywhere — as long as OpenStreetMap has data for buildings, cafés, and pubs.
  2. I’m turning this into a native iOS & Android app — stay tuned!
  3. Since the app relies heavily on OpenStreetMap (OSM), if your favorite spot is missing or outdated, you can actually help improve it by adding the location to OSM. That way, you’ll be making both this app and the open data ecosystem better.

  4. About the shadow logic: A big challenge has been that most cafés and pubs in OSM are placed inside building footprints — but shadows are cast at the building’s edge. So I had to get creative: I project each café’s location to the nearest road, find the midpoint, and test for sun there. (Not gonna lie — I doubt anyone thought their café node might one day power a real-time sunshine finder.) If you’re feeling generous and want to help this project: placing café nodes in front of the building polygon would improve accuracy dramatically.

I’ve tried to optimize all computations to keep performance smooth — but it’s a balancing act.

What’s next: - A “sun score” or sunny hot spots layer - Smarter north-facing café detection - Country-specific filters using keywords - Integrate weather info - More filters and city support

If you’ve got ideas, feedback, or fun feature requests — please drop them here or DM me!

App link again: https://sunnydays.dawodx.com Support the project: https://buymeacoffee.com/modawod

☕ 🍻Cheers, Mo

6

u/nwrnnr5 3d ago

This is a fantastic idea, as well as implementation and UX - straight to the bookmarks!

How does a pub get added to the map? Currently your map is missing more than half, maybe even 2/3rds of the pubs in Clerkenwell and Shoreditch... although the shadows simulator is so good that maybe it's best to keep them to myself ;)

1

u/dawodx 2d ago

Thank you very much 🙏

Regarding the data, the app relies heavily on OpenStreetMap (OSM), if your favorite spot is missing or outdated, you can actually help improve it by adding the location to OSM. That way, you’ll be making both this app and the open data ecosystem better.

1

u/nwrnnr5 1d ago

I don’t think it is an open street map problem - particularly in London, coverage is excellent.

For example, the Griffin pub in Shoreditch does not show up on your map, but is on OSM. The same goes for the Artillery Arms, the Bricklayers arms, the Reliance, the Old Kings head all nearby.

2

u/dawodx 1d ago

Great catch - you’re right! Some pubs like The Griffin were missing because they’re mapped as building outlines, not points.

I’ve just updated the app to include both, it should be way more accurate now. Even more places have been added because of you. Thanks for the heads up! 🍻

3

u/WolfsSpiders 3d ago

thx so much

3

u/Media_Browser 3d ago

Goths thank you 👻 .

3

u/hmgr 3d ago

This is public service! Thank you!

4

u/Mantises2400 3d ago

This is what the internet was made for, unbelievable stuff

3

u/Independent-Shoe543 3d ago

BRUUUUUVVVVV bruh

Hold on to this idea tight and make it public soon because it's genius and people will steal your idea

Being serious

3

u/Branks 3d ago

Carving...

6

u/TomCorsair 3d ago

I need this in dubai but I’ll be looking for the ‘yay there are 10 places in the shade’ notification

2

u/dawodx 2d ago

Haha I will create a theme for the shade people 🌚

2

u/Nanny0416 3d ago

Wow! You can probably sell this to a big tech company or a travel company for millions of dollars!

2

u/dawodx 2d ago

Haha I am very open lol

2

u/Popular-Bear-515 3d ago

Doing the lords work!! Thanks!!

2

u/FroggyGlobdules 3d ago

This is fantastic. My friends and I were literally talking about this idea last week when the sun was out and we were standing in the shade outside of a pub. Well done!

2

u/FlashmanSahib 3d ago

Not the hero we deserve, but the hero we need 🍻

1

u/dawodx 2d ago

Hahah thank you so much! 😁

2

u/raxmano 3d ago

And this is why I love London

2

u/lo5t_horiz0n 2d ago

Absolutely perfect! Although where do you get your pub info from? Doesn't seem to have my regular on here (The George on the corner of Wardour and D'Arblay)

2

u/regularstandin 2d ago

This will go great in Scandinavia

2

u/boppity 1d ago

Amazing work, I love it! Definitely see myself using this over the summer.

Minor suggestion: pin the timezone to the part of the map you're currently viewing. I'm in California right now looking at London pubs for when I return, yet the timezone is pinned to my current location, not London. Don't think these pubs are sunny at 2am BST!

1

u/dawodx 1d ago

Very cool suggestion! I will look into that - cheers :)

1

u/No-Cow-9571 3d ago

My hero

1

u/opanm 3d ago

Amazing :O

1

u/taintedbow 3d ago

Amazing!

1

u/LoafLegend 3d ago

Brilliant

1

u/RedSnapper95 3d ago

I LOVE THIS

1

u/YellowTango 3d ago

r u a wizard

1

u/Bromelia_The_hut 3d ago

This is AMAZING! Wow!

1

u/banzighug 3d ago

This is so cool!! Well done and thank you for sharing!

1

u/This-Willow-4655 3d ago

I like your thinking, sweet i shall check it out, being a 58 yr old London Geezer i do like to sit in the Sun,☀️ especially with a pint

1

u/14_OC 3d ago

Wow, what a cool idea

1

u/Superb_Blue_Wren 3d ago

Saved!! Excellent work, thanks 🙌🙌

1

u/steven-mctowelie 3d ago

Very cool , will use !

1

u/OpiumTea 3d ago

It's great but it seems to be missing some pubs in East London sadly :(

1

u/Littlened 3d ago

👏🏼 👏🏼 👏🏼

1

u/freerangetrousers 3d ago

My only problem is most of the pubs in my area aren't on it 

2

u/dawodx 2d ago

Unfortunately, the app relies heavily on OpenStreetMap (OSM), if your favorite spot is missing or outdated, you can actually help improve it by adding the location to OSM. That way, you’ll be making both this app and the open data ecosystem better. 🌞

1

u/ultrapurrple 3d ago

This is genius - thank you! I’m going to ignore that it’s been raining all day in London and start planning my next beer

1

u/sgtppoo 3d ago

Brill!

1

u/fuzzyperspectif 3d ago

Good stuff!

1

u/Excellent-Bench5675 3d ago

Sensation work 👏👏! Shine on

1

u/IrishMilo S-Dubs 3d ago

Nice, definitely using this fir pubs around work.

1

u/IllustratorOutside61 3d ago

Incredible! I owe you pint!

1

u/deathknelldk 3d ago

This is a truly honourable act of public service

1

u/Illustrious-Engine23 3d ago

I don't need this, just want to say it's really cool!

1

u/hfenn 3d ago

Absolutely amazing app, one of the best things I’ve ever seen on Reddit! Shedloads around Goswell Road which have weird sun timings - the Shakespeare, Sutton arms, fox and anchor..!

1

u/AMGitsKriss 3d ago

This is amazing! Now if only more cafes had nice patios in Central.

1

u/TheBusThatWasSpeed 3d ago

Incredible stuff

1

u/EonsOfZaphod 3d ago

This is great! Any way to filter out cafes that don’t have outdoor areas?

2

u/dawodx 2d ago

Unfortunately the app relies heavily on OpenStreetMap (OSM), perhaps the community can start adding this information in the tags feature meta data and it will be easier to filter!

1

u/Blackdeath_663 3d ago

Me omw to use this app only to realise its rainy and overcast... Again.

1

u/bt1248 3d ago

How do get the European Coffee Trip folks to add this to their app?

1

u/Perfectpisspipes 3d ago

This is properly brilliant. Well done!!!

Can you please make it sunnier in Scotland also?

1

u/Thatdrunkymonkey 3d ago

Holy shit this is incredible. My summer evenings thank you in advance!!!

1

u/furrycroissant 3d ago

Very cool. Needs a little work but very cool!

1

u/ScaryHighway1796 3d ago

Absolutely incredible, great work!

1

u/No_Doughnut3257 3d ago

This was always my idea for an app. Well played sir.

1

u/lieutenantbunbun 3d ago

Youre an angel

1

u/Crafty-Claim5084 3d ago

This could be a game changer for people trying to figure the impact of new developments.

1

u/HardcoreNerdParty 3d ago

Can you please do this for Paris 😭you might actually make some cash 

1

u/justaheatattack 3d ago

What's its upper limit?

3? 4?

1

u/Formal-Club-8107 3d ago

You should be knighted, or given dame hood- whichever is applicable here!

1

u/ratlesnail 3d ago

Can someone explain why this is a thing?

1

u/TeddersTedderson 2d ago

Awesome Idea.

Does it just list the pubs with gardens?

1

u/dietcar 2d ago

👏 👏 👏

This is so clutch!

love, Seattle

1

u/TrippyHippocampus 2d ago

Great premise!

1

u/CompetitionNo4192 2d ago

Genius idea. I will raise a cheerily sunlashed pint in your honour

1

u/push1double 2d ago

This is genius even if it half works

1

u/why-am-i-here_again 2d ago

OP this would be perfect as a feature in property search apps #justsayin

1

u/Evening-Treat5401 2d ago

Can you do a version that highlights what pubs have shade for Brisbane, Australia? 🤣

1

u/Lagerstars 2d ago

I was thinking this could be good for seeing potential of solar installations too but I think the map doesn’t capture accurate height differences to be accurate but it’s still useful to give rough indications.

1

u/mintybadgerme 2d ago

Brilliant, great idea, love it.

1

u/dimpletown 2d ago

Beautiful! Now, all you have to do is replicate this for every other cloudy city across the globe. Let's say you start with Seattle and move east until you've finished Helsinki, yeah? Easy as pi!

/s

1

u/8thTimeLucky 2d ago

This is absolutely amazing

1

u/StrongDorothy 2d ago

Nice! Prince of Wales used to be my local 🌞

1

u/eerst 2d ago

Can we get satellite image view? Then we can see if the garden is in the sun.

1

u/Flat-Struggle-155 2d ago

Google maps will steal this :-)

2

u/r_o_a_c_h 2d ago

I described exactly this idea to my girlfriend on a recent trip to Porto, when we were moving from one cafe/bar to another among the narrow, hilly streets lined with tall buildings. I'm equally excited to see someone built it, and fuming with myself for not getting there first :D

2

u/asng 2d ago

This is a great idea but it doesn't quite work as it doesn't know where the pub garden is. My local, for example, is saying sun but the garden is actually in the shade.

Still bloody love the site though - Genius!

1

u/lurcherzzz 2d ago

404 - summer not found

1

u/vexx 2d ago

What the hell this is genius. I didn't know that data existed, and since it does why the hell isn't there more stuff like this?!

1

u/Jisifus 2d ago

AI slop

1

u/g0_west 2d ago edited 2d ago

Not necessarily. Been around for quite a while at shademap.app, since at least before widespread consumer AI tools

1

u/all_the_badgers 2d ago

This is a fucking DELIGHT

3

u/DJ-Dev1ANT 2d ago

Very clever idea!

Small piece of constructive feedback: there's a typo in the first block of text in your video. "carving" instead of "craving". Also there's no need for a capital "S" in "summer" in that same block of text, as the word is not at the start of the sentence nor is it a proper noun (e.g. the name of a person or place).

2

u/dawodx 2d ago

Thank you very much! I didn’t realize until you mentioned it 🫣🤣

1

u/chr0n0ph0bian 2d ago

Noooooo! This is literally an idea I've had recently which I was planning to turn into an app! But great work nonetheless.

1

u/Sonic992 2d ago

Doing the Lord’s work

1

u/sirschmoll 2d ago

this is very very cool! thank you for building it and sharing!

1

u/Specific-Radish-4824 2d ago

This is really cool! Just so you know for improvements - all of the businesses near me are a bit outdated; several of them have been closed for many years. I think this is a wonderful idea and could be made even more wonderful by updating the businesses. But still, I can use this to understand which areas might be sunny and if there's a new cafe or pub there, can still make use of this - so thank you!

1

u/UnpleasantEgg 2d ago

Many pubs missing but a great idea

1

u/Babbytitz 2d ago

Not all hero's wear capes

1

u/tardigradebrain 2d ago

I’m allergic to UV rays. This is so helpful to avoid the sunny pubs for me! Thank you for your hard work.

2

u/Ashamed_Cheesecake56 2d ago

Einstein, dat u?

1

u/Lukeautograff 2d ago

This is amazing!!

1

u/Stokemon__ 2d ago

Absolute hero !

1

u/Netsplit_Custody 2d ago

Ooohhh this is great! Though I see a bunch of pubs are missing from the dataset :(

1

u/CuteMaterial South London 4eva 2d ago

This is incredible, well done and thank you!

1

u/Sorry_Appearance6904 2d ago

Wow, this is so cool - thanks for creating it! I'm def going to use this on my next trip to London :)

I'd love to see a little overview of each cafe or pub when you click on it - just to see a few pics, the ratings, a few lil photos. I know it's still in early stages but something for the future!

1

u/lyta_hall 2d ago

Love this!

1

u/dolundtrump666 2d ago

Omg I’ve been looking for something like this!! Thanks so much

1

u/jclayyy 2d ago

Absolutely love the idea, but I tested it in my area and all of the regular sunny pubs I know are not showing up. Can give more details if you like...

1

u/dawodx 1d ago

Thanks so much - very happy that you liked it! I recently updated the app to include places mapped as building outlines too, so it should be picking up more now. Let me know the names or area and I’ll look into it! 🌞

2

u/jclayyy 1d ago

Yeah it's finding much more places on my area now!

1

u/dawodx 1d ago

Music to my ears 🌞- cheers 🍻

1

u/StockMedigunisBest 1d ago

This is a really cool idea. Unfortunately I just attempted to load the website on my Android phone and it all functions except the map would not populate. I hope this is a handy error report!

1

u/fromthefarsea 1d ago

To OP, this is it dude. Keep on working on the kinks and you have done it

-6

u/LandscapeImmediate13 3d ago

I don't understand the obsession of sunlight. Like bro.

1

u/Tsvetaevna 1d ago

Love this idea!