
The war started by Russia in Ukraine made me have this idea of creating a page telling the current stage of the world in a satirical way.
It's partly funny, but also offers a lot of doomsday scenarios (including the doomsday clock).
Also, there are some hints about ideas on how to solve some of the problems we humans are currently facing. Including interesting videos, books and apps.
Ah, and also what I think about all of this.

Visually the landing page is based on the doomsday clock you might already know (or not).
The page was online for a few months so far. Finally, I got the time to share a bit more information about it including the tech I used to create the page.
Under the hood, I used a few simple tools and scripts to publish the page.
At first, I started scraping the doomsday clock page.
const { groups: parsed } = text.match(/(?<sentence>.*: )?IT IS(?: STILL)? (?<time>\d+)(?: AND A (?<half>HALF))? (?<type>MINUTES|MINUTE|SECONDS|SECOND) TO MIDNIGHT/i)
const seconds = parsed.type === "seconds" ? Number(parsed.time) : (Number(parsed.time) * 60) + (parsed.half ? 30 : 0)
It's a simple static HTML page using daisyUI for layout and styling.


For publishing the page I used GitHub Pages. This means the page is in a public GitHub repository.
PRs are welcome if you have an idea, fix or contribution.
Here we go with GitHub Actions, again.
I used JamesIves/github-pages-deploy-action to deploy the page without using jekyll.
Also, with GitHub Actions the doomsday clock parser gets triggered daily to provide the latest updates.
After that, a new version will be deployed, of course.

Domain hosting is done via namecheap, which just needs A entries for GitHub Pages servers.

For testing PHP swoole in combination with file-based data storage and testing nginx reverse proxy, I wrote a simple yes/no poll service.
Using that service users can vote on what they think about humanity's current stage (are we fucked -> yes or no).
The poll's results are part of the landing page's welcoming message.
I always wanted to test Amazon's affiliate system, so I took this project and added some books about arewefuckedyet's topics with affiliate links.
Since they're at the end of the page, and I haven't done any real marketing so far this didn't make a difference but at least I know how the affiliate program works, now.
That's it, and now have fun reading arewefuckedyet.com and leave your vote!
Great insights into the publishing flow!
Thx @popdrazvan! Glad you liked it.
Funny webpage! How do you keep track of users who voted? With their IP address? In incognito mode I am able to vote again. I am curious for future projects for myself. Thanks for sharing your workflow!
Thx @juliaalvarez23! The voting "tracking" is very simple. I didn't want to use fingerprinting for privacy reasons. So I used a cookie which invalidates after one week anyway. On the server side, there's another anonymized hash of UserAgent and IP to prevent basic types of spamming. This is why you could vote in Incognito, again. If you want to be more precise, fingerprints might be what you're searching for.
Funny and straightforward! Just make sure there is nobody from EU, obsessed with cookies, to complain about it (if u know what I mean) ;)
Trust me, us from the EU also hate the cookie pop ups! But the benefits of GDPR massively outweigh the negatives 😊
I agree with the benefits of the GDPR @scottywalker92. But also, the cookie banner annoys the hell out of me. That's why I always try not to use any tracking stuff that would require the cookie banner.
Thx @mihaihlodec! Actually, cookies aren't an issue here. The cookie I use is for technical/functional reasons only (locking multiple votes, no tracking) which doesn't require an annoying cookie banner.
Edit: Well, besides the youtube links, I seem to have forgotten about it. Although I use youtube-nocookie.com youtube still seems to set cookies and localStorage. I will change this to be more data protection compliant.
Great explanation of the technicalities @bgrande
thank you @smanna! I was afraid it was a bit too short :)
Thanks for sharing your setup. I really like the idea :)
Thank you @tiagorbf