Add npm-like registry for packs #427

Closed
opened 2025-12-05 06:06:59 +00:00 by LunarTides · 0 comments
LunarTides commented 2025-12-05 06:06:59 +00:00 (Migrated from github.com)

This will allow users to search for and download packs online through the game.

Make a dynamic website under the new sites/registry folder.

  • A bunch of settings, similar to config.ts, that can be changed on the website itself.

  • Allow:

    • Searching (on website or in-game using Inquirer.js)
    • Downloading (on website or in-game)
    • Uploading (on website or in-game)
      packs using the packager added in #426.
  • Names should be unique, since I can't expect the user to memorise uuids.

  • There should be an auth system, of course.

  • There should also be moderation tools

    • Delete pack
    • Rename pack
    • Ban account
    • ...
  • and a report system to prevent malicious code from ending up on someone's computer.

  • Maybe some system to alert a moderator when an event happens. This is so that I get alerted every time someone uploads a pack, so that I can review it. This should be toggleable.

  • Add review process. A moderator needs to approve a pack. This should be toggleable.

    • Add review tools for reviewing cards and metadata.
  • This will require hosting a website. The domain name is no problem, but I don't have a computer that can run 24/7 yet, so I need to figure something out.

This will allow users to search for and download packs online through the game. Make a dynamic website under the new `sites/registry` folder. - A bunch of settings, similar to `config.ts`, that can be changed on the website itself. - Allow: - Searching (on website or in-game using [Inquirer.js](https://github.com/SBoudrias/Inquirer.js)) - Downloading (on website or in-game) - Uploading (on website or in-game) packs using the packager added in #426. - Names should be unique, since I can't expect the user to memorise uuids. - There should be an auth system, of course. - There should also be moderation tools - Delete pack - Rename pack - Ban account - ... - and a report system to prevent malicious code from ending up on someone's computer. - Maybe some system to alert a moderator when an event happens. This is so that I get alerted every time someone uploads a pack, so that I can review it. This should be toggleable. - Add review process. A moderator needs to approve a pack. This should be toggleable. - Add review tools for reviewing cards and metadata. - This will require hosting a website. The domain name is no problem, but I don't have a computer that can run 24/7 yet, so I need to figure something out.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
LunarTides/Hearthstone.js#427
No description provided.