512kb.club icon indicating copy to clipboard operation
512kb.club copied to clipboard

Automating regular website checks

Open KaKi87 opened this issue 2 years ago • 11 comments

If I understand the FAQ correctly, regular website checks are done manually, but did you consider automating these ?

KaKi87 avatar Jun 07 '23 16:06 KaKi87

Sorry for the delay in reply - only just saw this.

We kinda do. We have scripts we run to check them, but it's still fairly manual. If you have any ideas to fully automate it, I'd love to hear them. Unfortunately, a lot of the services out there that can do this kind of thing cost money.

kevquirk avatar Aug 17 '23 08:08 kevquirk

So you're paying for the GTMetrix API ?

Otherwise I would suggest performing measurements using a headless browser.

KaKi87 avatar Aug 17 '23 08:08 KaKi87

No, we're not at the moment, because it's so manual. If we wanted to fully automate checking for both size changes and whether they're still up, we'd need to (I think).

kevquirk avatar Aug 17 '23 08:08 kevquirk

A headless browser can do these as well.

KaKi87 avatar Aug 17 '23 09:08 KaKi87

I think this thread is relevant: #749

I'll dig into that later today, it's been a while.

garritfra avatar Aug 18 '23 05:08 garritfra

A headless browser can do these as well.

this is def possible and can be done easily in a gh action. ( i could spin up a pr for it)

NeonGamerBot-QK avatar Sep 02 '24 17:09 NeonGamerBot-QK

https://github.com/kevquirk/512kb.club/pull/1390 should close this I think

Raymi306 avatar Mar 15 '25 11:03 Raymi306

Well, the script has yet to be automatically ran on a schedule, e.g. using GitHub Actions (in which case the authentication parameter must be moved into an environment variable).

KaKi87 avatar Mar 16 '25 16:03 KaKi87

Oh! I did not realize that. I may be able to assist writing an action, or with providing a server to run it from that has some spare bandwidth.

Raymi306 avatar Mar 18 '25 22:03 Raymi306

@moebrowne just submitted #1830 which solves a lot of this. I just need to find the time to look at their 512-check repo and start using it myself.

kevquirk avatar May 19 '25 11:05 kevquirk

@kevquirk Let me know if you need any help with it!

moebrowne avatar May 19 '25 18:05 moebrowne