Random Note tool

I added another functionality: an optional ?z= parameter will change the zoom from the default value. For example:

https://brzozo.ws/random-note/PL?z=19

will open the random note at zoom level 19.

I hope this will be useful to you :slight_smile:

4 Likes

Do you think it is possible to add a functionality that retrieves random notes from non-anonymous accounts only?

1 Like

The tool doesn’t work anymore, I get a ā€œ404 Not Foundā€ error on https://brzozo.ws/random-note/list. Can you twiddle some knobs, as it’s been a nice way to leisurely look at open notes in regions of interest…

Hey, sorry I haven’t announced. I migrated my homelab to a different machine. I couldn’t however get reverse proxy to work with it (somehow static pages do work). Stay tuned, I will try to fix this soon. The tool otherwise works in my browser over a wg tunnel so it’s a skill issue on my part.

5 Likes

Looks like it works again, however note sync with OSM is not functional yet. Got to configure the script.
Edit: should work now. I need to make a systemd service instead of a cron script, but that’s not critical. Expect short downtimes in the coming days.

4 Likes

I fixed a bug that was introduced during migration. You might have noticed there being a bias towards new notes. This was because I forgot to crontab a note reshuffling SQL which needs to be run once in a while to balance inserted notes with existing ones.

2 Likes

The website now shows (to me at least) 502 Bad Gateway.

Fixed that. There was a power outage I think.

1 Like

Hi, i love to sometimes use your tool to fix random notes, its really fun! Unfortunately it seems to be down again, I just get a timeout :frowning:

Sorry, must be internet connectivity problems (I can’t reach it either). Give it a few hours, I guess.

It’s just worked for me…

oh it already works again! Sorry for making a pointless comment then, thanks anyways!

So it must have regained connectivity :slight_smile:
It’s a mini PC sitting in an apartment, connected to fiber internet, but I’m not on-site. Usually when there are problems it’s either a temporary power failure or the ISP having some transient issues.

5 Likes

Apologies for the current downtime. Somehow stopping a Proxmox container made it hang, even if some services work, the admin panel and SSH do not. Either I will ask my family to restart it, or in the worst case I will resolve it tomorrow around 23:00 CEST.
Edit: it’s working again :slight_smile:

1 Like