| 1 | { |
| 2 | "id" : "BASE/" , |
| 3 | "name" : "NAME" , |
| 4 | "short_name" : "NAME" , |
| 5 | "description" : "A tiny Nostr relay" , |
| 6 | "start_url" : "BASE/" , |
| 7 | "scope" : "BASE/" , |
| 8 | "display" : "standalone" , |
| 9 | "display_override" : ["standalone" , "minimal-ui" ], |
| 10 | "launch_handler" : {"client_mode" : "navigate-existing" }, |
| 11 | "background_color" : "BACKGROUND" , |
| 12 | "theme_color" : "THEME" , |
| 13 | "categories" : ["social" , "utilities" ], |
| 14 | "prefer_related_applications" : false, |
| 15 | "share_target" : { |
| 16 | "action" : "BASE/share" , |
| 17 | "method" : "POST" , |
| 18 | "enctype" : "multipart/form-data" , |
| 19 | "params" : {"title" : "title" , "text" : "text" , "url" : "url" , "files" : [{"name" : "files" , "accept" : ["*/*" ]}]} |
| 20 | }, |
| 21 | "protocol_handlers" : [{"protocol" : "web+nostr" , "url" : "BASE/open?target=%s" }], |
| 22 | "icons" : [ |
| 23 | {"src" : "BASE/icon-192.png" , "sizes" : "192x192" , "type" : "image/png" , "purpose" : "any" }, |
| 24 | {"src" : "BASE/icon-512.png" , "sizes" : "512x512" , "type" : "image/png" , "purpose" : "any" }, |
| 25 | {"src" : "BASE/icon-maskable-512.png" , "sizes" : "512x512" , "type" : "image/png" , "purpose" : "maskable" }, |
| 26 | {"src" : "BASE/icon.svg" , "sizes" : "any" , "type" : "image/svg+xml" , "purpose" : "any" }, |
| 27 | {"src" : "BASE/icon-mono.svg" , "sizes" : "any" , "type" : "image/svg+xml" , "purpose" : "monochrome" } |
| 28 | ], |
| 29 | "screenshots" : [ |
| 30 | {"src" : "BASE/screenshot-narrow.png" , "sizes" : "390x844" , "type" : "image/png" , "form_factor" : "narrow" , "label" : "Files on a phone" }, |
| 31 | {"src" : "BASE/screenshot-wide.png" , "sizes" : "1280x800" , "type" : "image/png" , "form_factor" : "wide" , "label" : "Repositories on a desktop" } |
| 32 | ], |
| 33 | "shortcuts" : [ |
| 34 | {"name" : "Files" , "url" : "BASE/files" , "icons" : [{"src" : "BASE/icon-192.png" , "sizes" : "192x192" }]}, |
| 35 | {"name" : "Repositories" , "url" : "BASE/repos" , "icons" : [{"src" : "BASE/icon-192.png" , "sizes" : "192x192" }]}, |
| 36 | {"name" : "Manage" , "url" : "BASE/manage" , "icons" : [{"src" : "BASE/icon-192.png" , "sizes" : "192x192" }]} |
| 37 | ] |
| 38 | } |