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.

  • Still@programming.dev
    cake
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 year ago

    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

    • scrchngwsl@feddit.uk
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

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

    • 子犬です@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      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

  • RxBrad@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    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.

  • do_not_pm_me@thelemmy.club
    cake
    link
    fedilink
    English
    arrow-up
    3
    ·
    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.