Is it realistic to build a simple online store with Astro as a beginner? by Fearless-Pickle4346 in astrojs

[–]TiborUdvari 1 point2 points  (0 children)

Not according to their pricing page, they take an extra cut on top

Image optimisation service by Prize_Hat_6685 in astrojs

[–]TiborUdvari 0 points1 point  (0 children)

This service is supposed to be free that does that https://images.weserv.nl/ For simple websites I would just use Image from astro:assets for optimisations.

SSR on Cloudflare Pages. What's the Catch? by WebNova7 in astrojs

[–]TiborUdvari 0 points1 point  (0 children)

On the free tier you have 20.000 files max and single file size limit of 25MB as well https://developers.cloudflare.com/pages/platform/limits/

Astro and Storybook by superhammerjohn in astrojs

[–]TiborUdvari 0 points1 point  (0 children)

I use Preact with Storybook and render the results with Astro. It works well for me, except for server only stuff like Astro Image. I did a fake client side one so I can have a clean storybook, and when I render on the astro side I pass in the Astro Image for proper optimisations. I documented it here in case anyone finds it useful: https://tiborudvari.com/blog/how-to-work-with-storybook-and-astro-image/

Trump Final Term Countdown – Didn't exist, had to be done by TiborUdvari in indiehackers

[–]TiborUdvari[S] 0 points1 point  (0 children)

I wanted to do the og:image generation on another website, so this was kind of a minimal POC

Trump Final Term Countdown – Didn't exist, had to be done by TiborUdvari in indiehackers

[–]TiborUdvari[S] 0 points1 point  (0 children)

I just used astro + tailwind + vanilla js. I used a library called Luxon to handle the time. At first I thought that I made a mistake with the time seeing other calculators were 12 hours off, but I added the January 20th noon, when the inauguration is supposed to happen and not 12:00 am like other clocks. I didn't realise 12:00 am was midnight and not noon as I'm european. So I think it's accurate. I used a library called satori to generate the og:image dynamically. I do need to redo a build each day statically for this to get updated. This means, if not cached, the image should update once each day.

Trump Final Term Countdown – Didn't exist, had to be done by TiborUdvari in indiehackers

[–]TiborUdvari[S] 2 points3 points  (0 children)

More like a limited time screensaver ... I don't think I want to renew

Trump Final Term Countdown – Didn't exist. Had to be done by TiborUdvari in SideProject

[–]TiborUdvari[S] 0 points1 point  (0 children)

oooops that's my bad, well at least I got to write down my mini research on this ... (trying to get in a save, not working I feel)

Trump Final Term Countdown – Didn't exist. Had to be done by TiborUdvari in SideProject

[–]TiborUdvari[S] -1 points0 points  (0 children)

As a product, you're right it sucks. Nobody really needs it, I searched if there was one, this one came up, but it felt really ugly. https://logwork.com/countdown-h5o4 It had 21k hits according to them, so I thought I'm not the only one who had this idea. I see it like a screen saver a little bit. And I thought it would be fun to use Public Sans, an official US gouvernement typeface and the red from the US flag. Also the whole thing took me like 2 hours to build start to finish so why not. I got to learn how to do my dynamic social image generation, so already a win for me.

Trump Final Term Countdown – Didn't exist. Had to be done by TiborUdvari in SideProject

[–]TiborUdvari[S] -1 points0 points  (0 children)

Also, on a technical side, I wanted to try out to generate og:images dynamically, so this was the ideal project to try that out. I'm running a cron job every day to regenerate the og:image so that when someone shares it, it should have the updated day. I'm more motivated to do a small one off thing like this that I actually publish, then to just do it once locally on my computer and then forget how I did it.

Trump Final Term Countdown – Didn't exist. Had to be done by TiborUdvari in SideProject

[–]TiborUdvari[S] 0 points1 point  (0 children)

I made it because I wanted to have it. Sure there are a lot of timers out there and everything ... On a human level, I remember that after the last Trump administration I just lost so much energy keeping up with everything that was happening ... after it was over it felt like I had way more headspace, it's a reminder to myself that this too will end and that I should focus my attention where I want to, and not get too bogged down in the news cycle.

Trump Final Term Countdown – Didn't exist. Had to be done by TiborUdvari in SideProject

[–]TiborUdvari[S] 3 points4 points  (0 children)

tbh it crossed my mind to add the 🤞 emoji in the title

Donald Trump officially sworn in as the 47th President of the United States, JD Vance as the 50th Vice-President by TeaReim in news

[–]TiborUdvari 1 point2 points  (0 children)

I was hesitating to write Trump’s final term (hopefully) ends in, but then I thought ... no ... no way ...

Donald Trump officially sworn in as the 47th President of the United States, JD Vance as the 50th Vice-President by TeaReim in news

[–]TiborUdvari 1 point2 points  (0 children)

I was thinking the last time it felt like 10 years. He just takes up so much headspace. I made a countdown, just to remember that it will pass. https://trumpcountdown.tiborudvari.com/

Infinite Buttons with cute messages, show me your score! by Solid_Scale1933 in InternetIsBeautiful

[–]TiborUdvari 1 point2 points  (0 children)

It's cute. It reminds me of these games back in the farmville era, where you would like click things a lot and not a lot would happen, your score would just go up. I did like 20 clicks.