this post was submitted on 03 Jul 2023
50 points (98.1% liked)

Selfhosted

40008 readers
800 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

Hi all! Loving the new community on Lemmy. It grew to 18k FAST holy crap.

I was wondering if there was a simple self-hostable leaderboard available? Nothing crazy like able to add a new row on the webpage, auto-sort to the top score is at the top, etc.

To help with context, a group of friends and I are playing DnD, and just recently we started dkeeping track of and playing a new meta game and keeping score.

  • Fastest player gets knocked to 0hp.
  • Fastest player death
  • most damage per turn
  • most damage per attack

Etc and stuff like that.

It'd be awesome if there was a self-hosted way to do this so all players can see quickly on a webpage instead of opening a shared spreadsheet.

Any ideas? Google is just showing me links to others asking the same question on Reddit.

top 6 comments
sorted by: hot top controversial new old
[–] [email protected] 6 points 1 year ago

I thought you meant a self hosted leaderboard. Who is winning at self hosting?

[–] [email protected] 3 points 1 year ago (2 children)

well like the proper way to do it would be to just make a web app that interfaces with a database, not sure if there's anything plug and play that does this tho

[–] [email protected] 1 points 1 year ago

Yeah, I'd search github for django implementations as you might have better luck searching something more specific.

[–] [email protected] 1 points 1 year ago

I'm not even kidding, I had just resigned myself to having to learn how to code a basic site to do this haha.

I was already researching how to do this haha

[–] [email protected] 3 points 1 year ago

I'd been floating a similar idea for MAME arcade high scores.

Currently, when I play a game on my arcade cabinet, the marquee image gets a date and the game's name stamped on it by ImageMagick, then gets uploaded so it can display on my blog. (yes -- I haven't played since March.. I should really play on my cab more)

I kind of wanted to automate a high score list on my blog. Though I'm fairly sure that's going to be considerably more work.

[–] [email protected] 3 points 1 year ago

I used to have a high score page on my personal website with scores for my own games.

It was a simple submission php script that would add an entry to a database, and then the page to display the scores would simply query the table to display it on a page.

The submission script had a simple hash check to make sure no one was submitting fake scores outside of my games, but if this is just for you and your friends you likely don’t need such a thing.