ALHP Status userscript #220

Closed
opened 2023-11-21 18:33:18 +01:00 by Ghost · 4 comments

Hello, thanks for maintaining ALHP. I made a userscript for checking ALHP status more elegantly.

ALHP's status page is GIGANTIC which consumes lots of resources:

image

The userscript can fetch, parse and store ALHP's status page as lightweight JSON data and display status info directly on the official package page:

image

I made this primarily for myself, but decided to share it here in case it is also useful for others. (Sorry if this is not the right place).


As a side note, third-party registration on this site (e.g. via GitHub) seems broken due to missing data-sitekey required by CAPTCHA. I had to set breakpoints using DevTools and provide it manually in order to create this account.

Hello, thanks for maintaining ALHP. I made [a userscript for checking ALHP status more elegantly](https://gist.github.com/kidonng/3d01e56552743857af468b6c7458b098). ALHP's status page is GIGANTIC which consumes lots of resources: ![image](/attachments/779a2547-6fca-4d0c-af81-7a9e44ae405f) The userscript can fetch, parse and store ALHP's status page as lightweight JSON data and display status info directly on the official package page: ![image](/attachments/5085eaea-8ca3-4860-8960-6934197978da) I made this primarily for myself, but decided to share it here in case it is also useful for others. (Sorry if this is not the right place). --- As a side note, third-party registration on this site (e.g. via GitHub) seems broken due to missing `data-sitekey` required by CAPTCHA. I had to set breakpoints using DevTools and provide it manually in order to create this account.
Owner

Sorry, seems like my recent gitea config merge somehow disabled the mailer settings.

I'm aware that the current status page is far than ideal. I wanted to write a API based solution for some time now, just missing the required time. The API part is done fast, the frontend part would just take longer for me since I have little frontend experience.

Thanks for sharing, I'll leave this here if anyone is interested.

As a side note, third-party registration on this site (e.g. via GitHub) seems broken due to missing data-sitekey required by CAPTCHA. I had to set breakpoints using DevTools and provide it manually in order to create this account.

Not sure if this is a configuration issue or a gitea bug. I have, as far as I know, no influence if the captcha is required after external auth.

Sorry, seems like my recent gitea config merge somehow disabled the mailer settings. I'm aware that the current status page is far than ideal. I wanted to write a API based solution for some time now, just missing the required time. The API part is done fast, the frontend part would just take longer for me since I have little frontend experience. Thanks for sharing, I'll leave this here if anyone is interested. > As a side note, third-party registration on this site (e.g. via GitHub) seems broken due to missing data-sitekey required by CAPTCHA. I had to set breakpoints using DevTools and provide it manually in order to create this account. Not sure if this is a configuration issue or a gitea bug. I have, as far as I know, no influence if the captcha is required after external auth.
anonfunc added the
informational
label 2023-11-24 12:20:31 +01:00
Owner

I started porting the status page to an api/axios based version, but I'm not quite finished yet. The backend part already works.

https://somegit.dev/ALHP/alhp-web

I started porting the status page to an api/axios based version, but I'm not quite finished yet. The backend part already works. https://somegit.dev/ALHP/alhp-web
Owner

API up under https://api.alhp.dev/.

API up under https://api.alhp.dev/.
Owner

Revamped status page available under https://status.alhp.dev, closing.

Revamped status page available under https://status.alhp.dev, closing.
Sign in to join this conversation.
No description provided.