Skip to content

Add skin index.json to skin databases to support listing all skins in client #321

Description

@Robyt3

There should be a way for skin databases to provide an index of all skins they offer as a json file.

This is necessary so the client could fetch this index and show a list of all available downloaded skins directly in the menu (with lazy loading and unloading, which is work-in-progress).

Currently, one could parse the directory listing of https://skins.ddnet.org/skin/ but a standardized way like adding a file index.json to every skin download URL would be much preferred.

I suggest the following extensible format:

{
	"skins": [
		{
			"name": "topaz"
		}
	]
}

Which could be extended by other attributes which may or may not be shown in the client or be used for grouping:

{
	"skins": [
		{
			"name": "topaz",
			"creator": "Pipou",
			"pack": "Gems",
			"license": "CC BY-NC-SA"
		}
	]
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions