conzo 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AppLauncher.d.ts +2 -0
- package/dist/AppLauncher.js +5 -0
- package/dist/ApplicationsCacheContext.d.ts +8 -0
- package/dist/ApplicationsCacheContext.js +14 -0
- package/dist/Bookstack.d.ts +1 -0
- package/dist/Bookstack.js +4 -0
- package/dist/ChatGPT.d.ts +2 -0
- package/dist/ChatGPT.js +5 -0
- package/dist/ConfirmStatus.d.ts +4 -0
- package/dist/ConfirmStatus.js +19 -0
- package/dist/GoogleChrome.d.ts +11 -0
- package/dist/GoogleChrome.js +34 -0
- package/dist/ReloadInstalledApplications.d.ts +1 -0
- package/dist/ReloadInstalledApplications.js +12 -0
- package/dist/Script.d.ts +8 -0
- package/dist/Script.js +17 -0
- package/dist/Search.d.ts +8 -0
- package/dist/Search.js +109 -0
- package/dist/SelectBox.d.ts +7 -0
- package/dist/SelectBox.js +41 -0
- package/dist/UI.d.ts +8 -0
- package/dist/UI.js +17 -0
- package/dist/ViewContext.d.ts +13 -0
- package/dist/ViewContext.js +17 -0
- package/dist/WebinarGeek.d.ts +2 -0
- package/dist/WebinarGeek.js +14 -0
- package/dist/Webinars.d.ts +2 -0
- package/dist/Webinars.js +15 -0
- package/dist/Wizard.d.ts +7 -0
- package/dist/Wizard.js +18 -0
- package/dist/YouTube.d.ts +2 -0
- package/dist/YouTube.js +5 -0
- package/dist/app.d.ts +2 -0
- package/dist/app.js +40 -0
- package/dist/apps/ApplicationsCacheContext.d.ts +8 -0
- package/dist/apps/ApplicationsCacheContext.js +14 -0
- package/dist/apps/RefreshApps.d.ts +1 -0
- package/dist/apps/RefreshApps.js +13 -0
- package/dist/apps/ReloadInstalledApplications.d.ts +1 -0
- package/dist/apps/ReloadInstalledApplications.js +12 -0
- package/dist/backup.d.ts +2 -0
- package/dist/backup.js +5 -0
- package/dist/cli.d.ts +2 -0
- package/dist/cli.js +57 -0
- package/dist/config/ConfigContext.d.ts +11 -0
- package/dist/config/ConfigContext.js +12 -0
- package/dist/config/ConfigNotFound.d.ts +2 -0
- package/dist/config/ConfigNotFound.js +11 -0
- package/dist/config/parseAndValidate.d.ts +2 -0
- package/dist/config/parseAndValidate.js +18 -0
- package/dist/config/types.d.ts +14 -0
- package/dist/config/types.js +1 -0
- package/dist/config/validator.d.ts +1 -0
- package/dist/config/validator.js +3 -0
- package/dist/debugging/helpers.d.ts +1 -0
- package/dist/debugging/helpers.js +9 -0
- package/dist/debugging/useDebugger.d.ts +5 -0
- package/dist/debugging/useDebugger.js +11 -0
- package/dist/debugging/useExitAppRightAway.d.ts +1 -0
- package/dist/debugging/useExitAppRightAway.js +9 -0
- package/dist/helpers/tryCatch.d.ts +9 -0
- package/dist/helpers/tryCatch.js +11 -0
- package/dist/helpers.d.ts +1 -0
- package/dist/helpers.js +9 -0
- package/dist/items/items.d.ts +2 -0
- package/dist/items/items.js +42 -0
- package/dist/items/my-items.EXAMPLE.d.ts +1 -0
- package/dist/items/my-items.EXAMPLE.js +1 -0
- package/dist/items/my-items.d.ts +6 -0
- package/dist/items/my-items.js +62 -0
- package/dist/items/types.d.ts +14 -0
- package/dist/items/types.js +1 -0
- package/dist/items.d.ts +15 -0
- package/dist/items.js +94 -0
- package/dist/nmbrs.d.ts +1 -0
- package/dist/nmbrs.js +4 -0
- package/dist/passbolt.d.ts +1 -0
- package/dist/passbolt.js +4 -0
- package/dist/private/my-apps.d.ts +1 -0
- package/dist/private/my-apps.js +35 -0
- package/dist/private/my-chrome-profiles.EXAMPLE.d.ts +4 -0
- package/dist/private/my-chrome-profiles.EXAMPLE.js +12 -0
- package/dist/private/my-chrome-profiles.d.ts +4 -0
- package/dist/private/my-chrome-profiles.js +5 -0
- package/dist/private/my-items.EXAMPLE.d.ts +6 -0
- package/dist/private/my-items.EXAMPLE.js +47 -0
- package/dist/private/my-items.d.ts +5 -0
- package/dist/private/my-items.js +68 -0
- package/dist/private/my-secrets.d.ts +5 -0
- package/dist/private/my-secrets.js +6 -0
- package/dist/wireguard-vpn.d.ts +1 -0
- package/dist/wireguard-vpn.js +10 -0
- package/package.json +34 -0
- package/readme.md +18 -0
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { ChatGPT } from '../ChatGPT.js';
|
|
2
|
+
import { GoogleChrome, openChrome } from '../GoogleChrome.js';
|
|
3
|
+
import { RefreshApps } from '../apps/RefreshApps.js';
|
|
4
|
+
import { YouTube } from '../YouTube.js';
|
|
5
|
+
import { apps } from './my-apps.js';
|
|
6
|
+
export const excludeApps = [
|
|
7
|
+
'Alfred 5',
|
|
8
|
+
'Google Chrome',
|
|
9
|
+
'Google Docs',
|
|
10
|
+
'Google Drive',
|
|
11
|
+
'Google Sheets',
|
|
12
|
+
'Google Slides',
|
|
13
|
+
'Kit',
|
|
14
|
+
'WireGuard',
|
|
15
|
+
'Loopback',
|
|
16
|
+
'Utilities',
|
|
17
|
+
];
|
|
18
|
+
const favoriteApps = ['GitHub Desktop', 'Visual Studio Code'];
|
|
19
|
+
export const appItems = apps
|
|
20
|
+
.filter((app) => !excludeApps.includes(app))
|
|
21
|
+
.map((app) => ({
|
|
22
|
+
name: app,
|
|
23
|
+
key: app,
|
|
24
|
+
type: 'app',
|
|
25
|
+
isFavorite: favoriteApps.includes(app),
|
|
26
|
+
}));
|
|
27
|
+
export const wizardItems = [
|
|
28
|
+
{
|
|
29
|
+
name: 'Google Chrome',
|
|
30
|
+
type: 'wizard',
|
|
31
|
+
isFavorite: true,
|
|
32
|
+
component: GoogleChrome,
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
name: 'YouTube',
|
|
36
|
+
type: 'wizard',
|
|
37
|
+
isFavorite: true,
|
|
38
|
+
component: YouTube,
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
name: 'ChatGPT',
|
|
42
|
+
type: 'wizard',
|
|
43
|
+
isFavorite: true,
|
|
44
|
+
component: ChatGPT,
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
name: 'Reload installed applications',
|
|
48
|
+
type: 'wizard',
|
|
49
|
+
component: RefreshApps,
|
|
50
|
+
},
|
|
51
|
+
];
|
|
52
|
+
export const commandItems = [
|
|
53
|
+
{
|
|
54
|
+
name: 'BookStack',
|
|
55
|
+
type: 'command',
|
|
56
|
+
command: () => openChrome('WebinarGeek', 'https://bookstack.webinargeek.com'),
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
name: 'Nmbrs',
|
|
60
|
+
type: 'command',
|
|
61
|
+
command: () => openChrome('WebinarGeek', 'https://syfers.nmbrs.nl'),
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
name: 'Passbolt',
|
|
65
|
+
type: 'command',
|
|
66
|
+
command: () => openChrome('WebinarGeek', 'https://passbolt.webinargeek.com'),
|
|
67
|
+
},
|
|
68
|
+
];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const toggleWireGuardVPN: () => void;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// sudo wg-quick up /Users/bouwe/WireGuard/wg0.conf
|
|
2
|
+
// sudo wg-quick down /Users/bouwe/WireGuard/wg0.conf
|
|
3
|
+
import childProcess from 'node:child_process';
|
|
4
|
+
export const toggleWireGuardVPN = () => {
|
|
5
|
+
childProcess.spawn('sudo', [
|
|
6
|
+
'wg-quick',
|
|
7
|
+
'down',
|
|
8
|
+
'/Users/bouwe/WireGuard/wg0.conf',
|
|
9
|
+
]);
|
|
10
|
+
};
|
package/package.json
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "conzo",
|
|
3
|
+
"version": "0.0.2",
|
|
4
|
+
"license": "MIT",
|
|
5
|
+
"bin": "dist/cli.js",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"engines": {
|
|
8
|
+
"node": ">=16"
|
|
9
|
+
},
|
|
10
|
+
"scripts": {
|
|
11
|
+
"build": "tsc",
|
|
12
|
+
"dev": "tsc --watch"
|
|
13
|
+
},
|
|
14
|
+
"files": [
|
|
15
|
+
"dist"
|
|
16
|
+
],
|
|
17
|
+
"dependencies": {
|
|
18
|
+
"ink": "^5.0.1",
|
|
19
|
+
"ink-text-input": "^6.0.0",
|
|
20
|
+
"meow": "^13.2.0",
|
|
21
|
+
"react": "^18.3.1"
|
|
22
|
+
},
|
|
23
|
+
"devDependencies": {
|
|
24
|
+
"@sindresorhus/tsconfig": "^6.0.0",
|
|
25
|
+
"@types/react": "^18.3.12",
|
|
26
|
+
"chalk": "^5.3.0",
|
|
27
|
+
"eslint-plugin-react": "^7.37.2",
|
|
28
|
+
"eslint-plugin-react-hooks": "^5.0.0",
|
|
29
|
+
"prettier": "^3.3.3",
|
|
30
|
+
"react-devtools-core": "^4.28.5",
|
|
31
|
+
"ts-node": "^10.9.2",
|
|
32
|
+
"typescript": "^5.6.3"
|
|
33
|
+
}
|
|
34
|
+
}
|
package/readme.md
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Conzo
|
|
2
|
+
|
|
3
|
+
An alternative to MacOS Spotlight, with added support for scripting and automation.
|
|
4
|
+
|
|
5
|
+
## Development
|
|
6
|
+
|
|
7
|
+
Open a Terminal tab and run:
|
|
8
|
+
|
|
9
|
+
```
|
|
10
|
+
npm run dev
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Open another Terminal, where after each code change, you run:
|
|
14
|
+
|
|
15
|
+
```
|
|
16
|
+
node dist/cli.js
|
|
17
|
+
```
|
|
18
|
+
|