-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcommands.js
More file actions
327 lines (327 loc) · 8.96 KB
/
commands.js
File metadata and controls
327 lines (327 loc) · 8.96 KB
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
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
export const commands = [
{
category: 'Navigation & Socials',
items: [
{
title: 'View Source on GitHub',
description: 'See source code of Fezcodex on GitHub',
color: 'red',
commandId: 'viewSource',
},
{
title: 'Open GitHub Profile',
description: 'Opens Github profile of Fezcode.',
color: 'orange',
commandId: 'openGitHub',
},
{
title: 'Open Twitter Profile',
description: 'Opens Twitter profile of Fezcode.',
color: 'amber',
commandId: 'openTwitter',
},
{
title: 'Open LinkedIn Profile',
description: 'Opens LinkedIn profile of Fezcode.',
color: 'yellow',
commandId: 'openLinkedIn',
},
{
title: 'Send Email',
description: 'Send me email.',
color: 'lime',
commandId: 'sendEmailFezcode',
},
],
},
{
category: 'Site Navigation',
items: [
{
title: 'Navigate to a Random Post',
description: 'Go to random blogpost.',
color: 'green',
commandId: 'randomPost',
},
{
title: 'Go to Latest Post',
description: 'Opens the latest blogpost.',
color: 'emerald',
commandId: 'latestPost',
},
{
title: 'Go to Latest Log',
description: 'Opens the latest log entry.',
color: 'teal',
commandId: 'latestLog',
},
{
title: 'Go to Random App',
description: 'Opens an app randomly.',
color: 'cyan',
commandId: 'randomApp',
},
{
title: 'Scroll to Top',
description: 'Go to the top of the page.',
color: 'sky',
commandId: 'scrollToTop',
},
{
title: 'Scroll to Bottom',
description: 'Go to the bottom of the page.',
color: 'blue',
commandId: 'scrollToBottom',
},
{
title: 'Previous Page',
description: 'Go back to the previous page in your browser history.',
color: 'sky',
commandId: 'previousPage',
},
{
title: 'Next Page',
description: 'Go forward to the next page in your browser history.',
color: 'blue',
commandId: 'nextPage',
},
],
},
{
category: 'Site Utilities',
items: [
{
title: 'Show Site Stats',
description:
'Opens a modal to show number of Posts, Projects, Logs and Apps.',
color: 'indigo',
commandId: 'showSiteStats',
},
{
title: 'Show Version',
description: 'Opens a modal to show version number of Fezcodex.',
color: 'violet',
commandId: 'showVersion',
},
{
title: 'Show Current Time',
description: 'Opens a modal to show local and UTC analog clock.',
color: 'purple',
commandId: 'showTime',
},
{
title: 'Show Quick Stopwatch',
description: 'Opens a modal for stopwatch, similar to stopwatch app.',
color: 'fuchsia',
commandId: 'stopwatch',
},
{
title: 'Copy Current URL',
description: 'Copies the current URL to your clipboard.',
color: 'pink',
commandId: 'copyCurrentURL',
},
{
title: 'Create Issue for This Page',
description:
'Opens Github Issues page to create an issue for the current URL.',
color: 'rose',
commandId: 'openGitHubIssue',
},
],
},
{
category: 'Interface & Settings',
items: [
{
title: 'Switch Visual Theme',
description:
'Open a modal to choose between Brufez and Fezluxe aesthetics.',
color: 'amber',
commandId: 'switchTheme',
},
{
title: 'Toggle Reduced Motion',
description: 'Reduce or disable all animations in Fezcodex.',
color: 'slate',
commandId: 'toggleAnimations',
},
{
title: 'Toggle Digital Rain',
description:
'Opens matrix-like text rain, you need to toggle again to disable it, or refresh the page.',
color: 'gray',
commandId: 'digitalRain',
},
{
title: 'Generate Art',
description: 'Opens a modal to display a simple generative box art.',
color: 'zinc',
commandId: 'generateArt',
},
{
title: 'Leet Speak Transformer',
description: 'Opens a modal convert given text to Leet speak.',
color: 'neutral',
commandId: 'leetTransformer',
},
{
title: 'Her Daim',
description: 'Her Daim...',
color: 'stone',
commandId: 'herDaim',
},
{
title: 'Do a Barrel Roll',
description: 'Spins the page 360 degrees.',
color: 'red',
commandId: 'doBarrelRoll',
},
{
title: 'Toggle Invert Colors',
description: 'Inverts all colors on the page.',
color: 'orange',
commandId: 'toggleInvertColors',
},
{
title: 'Party Mode',
description: 'Cycles hue colors for a disco effect.',
color: 'amber',
commandId: 'partyMode',
},
{
title: 'Toggle Retro Mode',
description: 'Enables a retro CRT scanline effect.',
color: 'yellow',
commandId: 'toggleRetroMode',
},
{
title: 'Toggle Mirror Mode',
description: 'Mirrors the entire page horizontally.',
color: 'lime',
commandId: 'toggleMirrorMode',
},
{
title: 'Toggle Noir Mode',
description: 'Enables a black and white noir film effect.',
color: 'green',
commandId: 'toggleNoirMode',
},
{
title: 'Toggle Terminal Mode',
description: 'Switch to a green monochrome hacker aesthetic.',
color: 'emerald',
commandId: 'toggleTerminalMode',
},
{
title: 'Toggle Blueprint Mode',
description: 'Switch to a blueprint schematic look.',
color: 'teal',
commandId: 'toggleBlueprintMode',
},
{
title: 'Toggle Sepia Mode',
description: 'Switch to an old-timey sepia tone.',
color: 'cyan',
commandId: 'toggleSepiaMode',
},
{
title: 'Toggle Vaporwave Mode',
description: 'Switch to a nostalgic vaporwave aesthetic.',
color: 'sky',
commandId: 'toggleVaporwaveMode',
},
{
title: 'Toggle Cyberpunk Mode',
description: 'Switch to a high-tech, low-life dark neon look.',
color: 'blue',
commandId: 'toggleCyberpunkMode',
},
{
title: 'Toggle Game Boy Mode',
description: 'Switch to a 4-color retro handheld look.',
color: 'indigo',
commandId: 'toggleGameboyMode',
},
{
title: 'Toggle Comic Book Mode',
description: 'Switch to a vibrant pop-art comic style.',
color: 'violet',
commandId: 'toggleComicMode',
},
{
title: 'Toggle Sketchbook Mode',
description: 'Switch to a hand-drawn sketchbook style.',
color: 'purple',
commandId: 'toggleSketchbookMode',
},
{
title: 'Toggle Hellenic Mode',
description: 'Switch to a classical Greek architecture style.',
color: 'fuchsia',
commandId: 'toggleHellenicMode',
},
{
title: 'Toggle Dystopian Glitch Mode',
description: 'Switch to a corrupted digital data style.',
color: 'pink',
commandId: 'toggleGlitchMode',
},
{
title: 'Toggle Garden Mode',
description: 'Bloom where you are planted.',
color: 'rose',
commandId: 'toggleGardenMode',
},
{
title: 'Toggle Autumn Mode',
description: 'Winter is coming.',
color: 'slate',
commandId: 'toggleAutumnMode',
},
{
title: 'Toggle Rain Mode',
description: 'Let it rain.',
color: 'gray',
commandId: 'toggleRainMode',
},
],
},
{
category: 'System & Debug',
items: [
{
title: 'Reset Sidebar State',
description: 'Remove all sidebar states.',
color: 'lime',
commandId: 'resetSidebarState',
},
{
title: 'Show User/Browser Information',
description:
'Opens a modal to show User Agent, Platform, App Version, Language and Online information.',
color: 'green',
commandId: 'showOSInfo',
},
{
title: 'Clear Local Storage',
description:
"Removes every entry about Fezcodes in your browser's local storage.",
color: 'emerald',
commandId: 'clearLocalStorage',
},
{
title: 'Reload Page',
description: 'Reloads the current page.',
color: 'teal',
commandId: 'reloadPage',
},
{
title: 'Toggle Full Screen',
description: 'Goes to fullscreen mode.',
color: 'cyan',
commandId: 'toggleFullScreen',
},
],
},
];