this post was submitted on 03 Jul 2023
53 points (98.2% liked)

Selfhosted

39931 readers
463 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.

you are viewing a single comment's thread
view the rest of the comments
[–] do_not_pm_me@thelemmy.club 4 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.