@@ -14,41 +14,51 @@ type ClientReference struct {
14
14
Platform string
15
15
}
16
16
17
+ const (
18
+ platformWeb = "web"
19
+ platformIOS = "ios"
20
+ platformAndroid = "android"
21
+ )
22
+
17
23
var (
18
24
native = ClientReference {ID : "native" , Name : "Your default app" , Base : "nostr:{code}" , Platform : "native" }
19
25
20
- nosta = ClientReference {ID : "nosta" , Name : "Nosta" , Base : "https://nosta.me/{code}" , Platform : "web" }
21
- snort = ClientReference {ID : "snort" , Name : "Snort" , Base : "https://snort.social/{code}" , Platform : "web" }
22
- primalWeb = ClientReference {ID : "primal" , Name : "Primal" , Base : "https://primal.net/e/{code}" , Platform : "web" }
23
- nostrudel = ClientReference {ID : "nostrudel" , Name : "Nostrudel" , Base : "https://nostrudel.ninja/#/n/{code}" , Platform : "web" }
24
- nostter = ClientReference {ID : "nostter" , Name : "Nostter" , Base : "https://nostter.app/{code}" , Platform : "web" }
25
- nostterRelay = ClientReference {ID : "nostter" , Name : "Nostter" , Base : "https://nostter.app/relays/wss%3A%2F%2F{code}" , Platform : "web" }
26
- jumble = ClientReference {ID : "jumble" , Name : "Jumble" , Base : "https://jumble.social/?r=wss://{code}" , Platform : "web" }
27
- coracle = ClientReference {ID : "coracle" , Name : "Coracle" , Base : "https://coracle.social/{code}" , Platform : "web" }
28
- coracleRelay = ClientReference {ID : "coracle" , Name : "Coracle" , Base : "https://coracle.social/relays/{code}" , Platform : "web" }
26
+ nosta = ClientReference {ID : "nosta" , Name : "Nosta" , Base : "https://nosta.me/{code}" , Platform : platformWeb }
27
+ snort = ClientReference {ID : "snort" , Name : "Snort" , Base : "https://snort.social/{code}" , Platform : platformWeb }
28
+ olasWeb = ClientReference {ID : "olas" , Name : "Olas" , Base : "https://olas.app/e/{code}" , Platform : platformWeb }
29
+ primalWeb = ClientReference {ID : "primal" , Name : "Primal" , Base : "https://primal.net/e/{code}" , Platform : platformWeb }
30
+ nostrudel = ClientReference {ID : "nostrudel" , Name : "Nostrudel" , Base : "https://nostrudel.ninja/#/n/{code}" , Platform : platformWeb }
31
+ nostter = ClientReference {ID : "nostter" , Name : "Nostter" , Base : "https://nostter.app/{code}" , Platform : platformWeb }
32
+ nostterRelay = ClientReference {ID : "nostter" , Name : "Nostter" , Base : "https://nostter.app/relays/wss%3A%2F%2F{code}" , Platform : platformWeb }
33
+ jumble = ClientReference {ID : "jumble" , Name : "Jumble" , Base : "https://jumble.social/notes/{code}" , Platform : platformWeb }
34
+ jumbleRelay = ClientReference {ID : "jumble" , Name : "Jumble" , Base : "https://jumble.social/?r=wss://{code}" , Platform : platformWeb }
35
+ coracle = ClientReference {ID : "coracle" , Name : "Coracle" , Base : "https://coracle.social/{code}" , Platform : platformWeb }
36
+ coracleRelay = ClientReference {ID : "coracle" , Name : "Coracle" , Base : "https://coracle.social/relays/{code}" , Platform : platformWeb }
29
37
30
- zapStream = ClientReference {ID : "zap.stream" , Name : "zap.stream" , Base : "https://zap.stream/{code}" , Platform : "web" }
31
- nostrrrRelay = ClientReference {ID : "nostrrr" , Name : "Nostrrr" , Base : "https://nostrrr.com/relay/{code}" , Platform : "web" }
32
- nostrrrProfile = ClientReference {ID : "nostrrr" , Name : "Nostrrr" , Base : "https://nostrrr.com/p/{code}" , Platform : "web" }
38
+ zapStream = ClientReference {ID : "zap.stream" , Name : "zap.stream" , Base : "https://zap.stream/{code}" , Platform : platformWeb }
39
+ nostrrrRelay = ClientReference {ID : "nostrrr" , Name : "Nostrrr" , Base : "https://nostrrr.com/relay/{code}" , Platform : platformWeb }
40
+ nostrrrProfile = ClientReference {ID : "nostrrr" , Name : "Nostrrr" , Base : "https://nostrrr.com/p/{code}" , Platform : platformWeb }
33
41
34
- yakihonne = ClientReference {ID : "yakihonne" , Name : "YakiHonne" , Base : "https://yakihonne.com/{code}" , Platform : "web" }
35
- habla = ClientReference {ID : "habla" , Name : "Habla" , Base : "https://habla.news/a/{code}" , Platform : "web" }
36
- highlighter = ClientReference {ID : "highlighter" , Name : "Highlighter" , Base : "https://highlighter.com/a/{code}" , Platform : "web" }
37
- notestack = ClientReference {ID : "notestack" , Name : "Notestack" , Base : "https://notestack.com/{code}" , Platform : "web" }
42
+ yakihonne = ClientReference {ID : "yakihonne" , Name : "YakiHonne" , Base : "https://yakihonne.com/{code}" , Platform : platformWeb }
43
+ habla = ClientReference {ID : "habla" , Name : "Habla" , Base : "https://habla.news/a/{code}" , Platform : platformWeb }
44
+ highlighter = ClientReference {ID : "highlighter" , Name : "Highlighter" , Base : "https://highlighter.com/a/{code}" , Platform : platformWeb }
45
+ notestack = ClientReference {ID : "notestack" , Name : "Notestack" , Base : "https://notestack.com/{code}" , Platform : platformWeb }
38
46
39
- voyage = ClientReference {ID : "voyage" , Name : "Voyage" , Base : "intent:{code}#Intent;scheme=nostr;package=com.dluvian.voyage;end`;" , Platform : "android" }
40
- primalAndroid = ClientReference {ID : "primal" , Name : "Primal" , Base : "intent:{code}#Intent;scheme=nostr;package=net.primal.android;end`;" , Platform : "android" }
41
- yakihonneAndroid = ClientReference {ID : "yakihonne" , Name : "Yakihonne" , Base : "intent:{code}#Intent;scheme=nostr;package=com.yakihonne.yakihonne;end`;" , Platform : "android" }
42
- freeFromAndroid = ClientReference {ID : "freefrom" , Name : "FreeFrom" , Base : "intent:{code}#Intent;scheme=nostr;package=com.freefrom;end`;" , Platform : "android" }
43
- yanaAndroid = ClientReference {ID : "yana" , Name : "Yana" , Base : "intent:{code}#Intent;scheme=nostr;package=yana.nostr;end`;" , Platform : "android" }
44
- amethyst = ClientReference {ID : "amethyst" , Name : "Amethyst" , Base : "intent:{code}#Intent;scheme=nostr;package=com.vitorpamplona.amethyst;end`;" , Platform : "android" }
47
+ voyage = ClientReference {ID : "voyage" , Name : "Voyage" , Base : "intent:{code}#Intent;scheme=nostr;package=com.dluvian.voyage;end`;" , Platform : platformAndroid }
48
+ olasAndroid = ClientReference {ID : "olas" , Name : "Olas" , Base : "intent:{code}#Intent;scheme=nostr;package=com.pablof7z.snapstr;end`;" , Platform : platformAndroid }
49
+ primalAndroid = ClientReference {ID : "primal" , Name : "Primal" , Base : "intent:{code}#Intent;scheme=nostr;package=net.primal.android;end`;" , Platform : platformAndroid }
50
+ yakihonneAndroid = ClientReference {ID : "yakihonne" , Name : "Yakihonne" , Base : "intent:{code}#Intent;scheme=nostr;package=com.yakihonne.yakihonne;end`;" , Platform : platformAndroid }
51
+ freeFromAndroid = ClientReference {ID : "freefrom" , Name : "FreeFrom" , Base : "intent:{code}#Intent;scheme=nostr;package=com.freefrom;end`;" , Platform : platformAndroid }
52
+ yanaAndroid = ClientReference {ID : "yana" , Name : "Yana" , Base : "intent:{code}#Intent;scheme=nostr;package=yana.nostr;end`;" , Platform : platformAndroid }
53
+ amethyst = ClientReference {ID : "amethyst" , Name : "Amethyst" , Base : "intent:{code}#Intent;scheme=nostr;package=com.vitorpamplona.amethyst;end`;" , Platform : platformAndroid }
45
54
46
- nos = ClientReference {ID : "nos" , Name : "Nos" , Base : "nos:{code}" , Platform : "ios" }
47
- damus = ClientReference {ID : "damus" , Name : "Damus" , Base : "damus:{code}" , Platform : "ios" }
48
- nostur = ClientReference {ID : "nostur" , Name : "Nostur" , Base : "nostur:{code}" , Platform : "ios" }
49
- primalIOS = ClientReference {ID : "primal" , Name : "Primal" , Base : "primal:{code}" , Platform : "ios" }
50
- freeFromIOS = ClientReference {ID : "freefrom" , Name : "FreeFrom" , Base : "freefrom:{code}" , Platform : "ios" }
51
- yakihonneIOS = ClientReference {ID : "yakihonne" , Name : "Yakihonne" , Base : "yakihhone:{code}" , Platform : "ios" }
55
+ nos = ClientReference {ID : "nos" , Name : "Nos" , Base : "nos:{code}" , Platform : platformIOS }
56
+ damus = ClientReference {ID : "damus" , Name : "Damus" , Base : "damus:{code}" , Platform : platformIOS }
57
+ nostur = ClientReference {ID : "nostur" , Name : "Nostur" , Base : "nostur:{code}" , Platform : platformIOS }
58
+ olasIOS = ClientReference {ID : "olas" , Name : "Olas" , Base : "olas:{code}" , Platform : platformIOS }
59
+ primalIOS = ClientReference {ID : "primal" , Name : "Primal" , Base : "primal:{code}" , Platform : platformIOS }
60
+ freeFromIOS = ClientReference {ID : "freefrom" , Name : "FreeFrom" , Base : "freefrom:{code}" , Platform : platformIOS }
61
+ yakihonneIOS = ClientReference {ID : "yakihonne" , Name : "Yakihonne" , Base : "yakihhone:{code}" , Platform : platformIOS }
52
62
53
63
wikistr = ClientReference {ID : "wikistr" , Name : "Wikistr" , Base : "https://Wikistr.com/{handle}*{authorPubkey}" , Platform : "web" }
54
64
wikifreedia = ClientReference {ID : "wikifreedia" , Name : "Wikifreedia" , Base : "https://wikifreedia.xyz/{handle}/{npub}" , Platform : "web" }
@@ -64,14 +74,21 @@ func generateClientList(
64
74
case - 1 : // relays
65
75
clients = []ClientReference {
66
76
native ,
67
- jumble , nostterRelay , nostrrrRelay , coracleRelay ,
77
+ jumbleRelay , nostterRelay , nostrrrRelay , coracleRelay ,
68
78
}
69
79
case 1 , 6 :
70
80
clients = []ClientReference {
71
81
native ,
72
82
damus , nostur , freeFromIOS , yakihonneIOS , nos , primalIOS ,
73
83
voyage , yakihonneAndroid , primalAndroid , freeFromAndroid , yanaAndroid ,
74
- coracle , snort , nostter , nostrudel , primalWeb ,
84
+ coracle , snort , jumble , nostter , nostrudel , primalWeb ,
85
+ }
86
+ case 20 :
87
+ clients = []ClientReference {
88
+ native ,
89
+ olasAndroid ,
90
+ olasIOS ,
91
+ jumble , olasWeb ,
75
92
}
76
93
case 0 :
77
94
clients = []ClientReference {
0 commit comments