diff --git a/cmd/recordcollector/main.go b/cmd/recordcollector/main.go index f7f6743..45a9b6d 100644 --- a/cmd/recordcollector/main.go +++ b/cmd/recordcollector/main.go @@ -37,6 +37,7 @@ var ignorePrefixes = []string{ var labelPrefixes = map[string]string{ // NSID prefix // Label "app.popsky": "app-popsky", + "blue.badge": "blue-badge", "blue.zio.atfile": "blue-zio-atfile", "chat.roomy": "chat-roomy", "com.shinolabs.pinksea": "com-shinolabs-pinksea", @@ -49,6 +50,10 @@ var labelPrefixes = map[string]string{ "sh.tangled": "sh-tangled", "so.sprk": "so-sprk", "xyz.statusphere": "xyz-statusphere", + "blue.2048": "blue-twentyfortyeight", + "exchange.recipe": "exchange-recipe", + "blue.linkat": "blue-linkat", + "app.rocksky": "app-rocksky", } //go:embed schema.sql diff --git a/genlabeldefs.py b/genlabeldefs.py index 9e8d61a..4e47a0d 100755 --- a/genlabeldefs.py +++ b/genlabeldefs.py @@ -16,6 +16,11 @@ collections = { 'Statusphere': ('xyz-statusphere', 'atproto quick start'), 'Roomy': ('chat-roomy', 'group chat on atproto'), 'ATFile': ('blue-zio-atfile', 'store and retrieve files'), + 'Blue Badge': ('blue-badge', 'badges for atproto handles'), + '2048': ('blue-twentyfortyeight', '2048 on atproto'), + 'recipe.exchange': ('exchange-recipe', 'discover and share your favorite recipes'), + 'Linkat': ('blue-linkat', 'link collections'), + 'Rocksky': ('app-rocksky', 'decentralized music tracking and discovery platform'), # 'name': ('ns-id', 'description'), } @@ -25,6 +30,9 @@ defs = [] key_func = lambda obj: str.casefold(obj[0]) for name, (identifier, description) in sorted(collections.items(), key=key_func): nsid = identifier.replace('-', '.') + if identifier == 'blue-twentyfortyeight': + # https://atproto.com/specs/label#recommended-string-syntax + nsid = 'blue.2048' values.append(identifier) defs.append(dict( blurs = 'none',