Show HN: Live map of “good morning/night” tweets
wakingandsleeping-globe.glitch.me
wakingandsleeping-globe.glitch.me
In app.js you just need to change the following to the terms you would like:
const morning = ["Good morning", "Buenas dias", "صباح الخير", "সুপ্রভাত", "शुभ प्रभात", "Доброе утро", "Bom Dia", "おはようございます", "Guten Morgen", "Sugeng enjang", "좋은 아침", "Bon matin", "Günaydın", "Chào buổi sáng", "శుభోదయం", "शुभ प्रभात", "காலை வணக்கம்", "Buongiorno", "صبح بخیر", "સુપ્રભાત", "Dzień dobry", "Доброго ранку", "സുപ്രഭാതം", "ಶುಭೋದಯ"];
You will need to have your own twitter access keys though, which you add to the env file.Dobranoc
[1] http://telegrambotcollection.glitch.me/ (and even this website is hosted on glitch)
Why I thought about this: I'm using a ~12 year old monitor that occasionally has a broken column of pixels about 2/3 of the whole monitor width away from the left edge and thought it was trying to align with the ever-moving map on the site. It confused me why the actual location wasn't lining up until I realized it was my monitor's fault.
I think a 2D map would be more effective.
I just wanted to be able to see the day/night part (which now that I think about you can do with Cesium).
I can’t commit atm but I might poke at this and I’ll flag you if I come up with something or find an existing solution. A leaflet plug-in for this sounds like a fun little project.
FYI all you gotta do to switch to 2D in this viewer is type this in the console:
``` viewer.scene.morphTo2D() ```
It might be fun to regenerate this timelapse I did with the 2D view since you can see the whole world at once: https://twitter.com/Omar4ur/status/1315325135990202369
Realy cool though!