1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
|
<?php
require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/util/session.inc"; global $isLoggedIn; global $_PROFILE; global $isLowerLoggedIn; global $app;
if (!$isLoggedIn && !$isLowerLoggedIn) header("Location: /-/login") and die();
$available = json_decode(base64_decode($_GET["available"]), true);
$isSexual = true;
die(json_encode([
[
"title" => "Cold Haze",
"items" => [
[
"title" => "Front planner",
"link" => "coldhaze://-/fronting",
"show" => $available["coldHaze"],
"icon" => "icons://planner"
],
[
"title" => "Profile scores",
"link" => "coldhaze://-/profiles",
"show" => $available["coldHaze"],
"icon" => "icons://scores"
],
[
"title" => "Money tracker",
"link" => "coldhaze://-/money",
"show" => $available["coldHaze"] && $isLoggedIn,
"icon" => "icons://money"
],
[
"title" => "Rules",
"link" => "coldhaze://-/rules",
"show" => $available["coldHaze"] && $isLoggedIn,
"icon" => "icons://rules"
],
[
"title" => "Toys database",
"link" => "coldhaze://-/toys",
"show" => $available["coldHaze"] && $isLoggedIn && $isSexual,
"icon" => "icons://toys"
],
[
"title" => "Documents",
"link" => "coldhaze://-/docs",
"show" => $available["coldHaze"] && $isLoggedIn,
"icon" => "icons://documents"
],
[
"title" => "Devices",
"link" => "coldhaze://-/computers",
"show" => $available["coldHaze"] && $isLoggedIn,
"icon" => "icons://computers"
],
[
"title" => "System travelling",
"link" => "coldhaze://-/travelling",
"show" => $available["coldHaze"],
"icon" => "icons://travelling"
]
]
],
[
"title" => "Utilities",
"items" => [
[
"title" => "Backup viewer",
"link" => "local://backup",
"show" => true,
"icon" => "icons://backup"
],
[
"title" => "SSH client",
"link" => "local://ssh",
"show" => true,
"icon" => "icons://ssh"
]
]
],
[
"title" => "Booru",
"items" => [
[
"title" => "Home",
"link" => "booru://home/",
"show" => $available["booru"],
"icon" => "icons://home"
],
[
"title" => "Search",
"link" => "booru://search/",
"show" => $available["booru"],
"icon" => "icons://search"
],
[
"title" => "Followed tags",
"link" => "booru://followed/",
"show" => $available["booru"],
"icon" => "icons://followed"
],
[
"title" => "Saved images",
"link" => "booru://saved/",
"show" => $available["booru"],
"icon" => "icons://saved"
],
[
"title" => "Explicit gallery",
"link" => "booru://nsfw/g/",
"show" => $available["booru"] && $isSexual,
"icon" => "icons://nsfw"
],
[
"title" => "Genitalia",
"link" => "booru://nsfw/sp2/",
"show" => $available["booru"] && $isSexual,
"icon" => "https://booru.equestria.dev/nsfw/icon/"
]
]
],
[
"title" => "Other apps",
"items" => [
[
"title" => "Ponycon.info",
"link" => "ponycon://",
"show" => $available["ponycon"],
"icon" => "icons://ponycon"
],
[
"title" => "Delta",
"link" => "delta://",
"show" => $available["delta"],
"icon" => "icons://delta"
],
[
"title" => "Gitea",
"link" => "gitea://equestria.dev",
"show" => $available["gitea"],
"icon" => "icons://gitea"
],
[
"title" => "JetBrains Hub",
"link" => "hub://hub/projects",
"show" => true,
"icon" => "icons://hub"
],
[
"title" => "YouTrack",
"link" => "youtrack://",
"show" => $available["youtrack"],
"icon" => "icons://youtrack"
],
[
"title" => "Plex",
"link" => "https://plex.equestria.dev",
"show" => true,
"icon" => "icons://plex"
],
[
"title" => "Proxmox",
"link" => "https://admin.equestria.dev",
"show" => true,
"icon" => "icons://proxmox"
]
]
]
]));
|