deskify-cli 1.0.0 → 1.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/README.md CHANGED
@@ -1,8 +1,4 @@
1
- # Deskify 🚀
2
-
3
- [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
4
- [![Node.js Version](https://img.shields.io/badge/node-%3E%3D14.0.0-blue.svg)](https://nodejs.org/)
5
- [![Platform](https://img.shields.io/badge/platform-Linux-orange.svg)](#)
1
+ # Deskify
6
2
 
7
3
  An ambitious, interactive, and **zero-dependency** CLI tool designed to effortlessly convert any web page into a native-feeling Linux desktop application using Electron (via Nativefier) in a single command.
8
4
 
@@ -18,7 +14,7 @@ An ambitious, interactive, and **zero-dependency** CLI tool designed to effortle
18
14
 
19
15
  ---
20
16
 
21
- ## 💡 The Problem
17
+ ## The Problem
22
18
 
23
19
  Running websites as desktop applications in Linux is fantastic for productivity, but doing it manually via Electron or Nativefier involves a tedious and repetitive sequence:
24
20
  1. **Compiling**: Running complex CLI arguments for resolution, persisting sessions, and restricting domains.
@@ -30,19 +26,19 @@ Running websites as desktop applications in Linux is fantastic for productivity,
30
26
 
31
27
  ---
32
28
 
33
- ## Features
29
+ ## Features
34
30
 
35
- - 🖥️ **Interactive Wizard**: No command arguments to memorize. Simply type `deskify` and follow the beautiful, colorized prompts.
36
- - 🔗 **Smart Defaults**: Enter any URL (e.g., `https://panggon.danyakmallun.dev`) and Deskify will automatically extract the app name, domain, and set up domain boundary regexes (`.*panggon\.danyakmallun\.dev.*`) so links inside the app stay inside, and outside links open in your default browser.
37
- - 🎨 **Favicon Auto-Downloader**: Automatically downloads and configures the highest quality favicon from Google APIs to use as the app launcher icon.
38
- - 🔑 **Auto-Sandbox Permission Fix**: Automatically runs `sudo chown root:root` and `sudo chmod 4755` on `chrome-sandbox` inside the interactive terminal, ensuring the app boots successfully.
39
- - 🎯 **Dynamic StartupWMClass Tracking**: Automatically parses the generated `package.json` inside the Electron source code, extracts the unique Nativefier build hash, and writes the correct `StartupWMClass` to ensure application launcher matching in your system app menu and dock.
40
- - 📦 **App Directory Organization**: Moves the generated packages out of your home directory and places them inside a clean `~/Apps` folder (or custom directory).
41
- - **Zero-Dependency**: Written purely in native Node.js API. No `node_modules` required to download or run.
31
+ - **Interactive Wizard**: No command arguments to memorize. Simply type `deskify` and follow the beautiful, colorized prompts.
32
+ - **Smart Defaults**: Enter any URL (e.g., `https://panggon.danyakmallun.dev`) and Deskify will automatically extract the app name, domain, and set up domain boundary regexes (`.*panggon\.danyakmallun\.dev.*`) so links inside the app stay inside, and outside links open in your default browser.
33
+ - **Favicon Auto-Downloader**: Automatically downloads and configures the highest quality favicon from Google APIs to use as the app launcher icon.
34
+ - **Auto-Sandbox Permission Fix**: Automatically runs `sudo chown root:root` and `sudo chmod 4755` on `chrome-sandbox` inside the interactive terminal, ensuring the app boots successfully.
35
+ - **Dynamic StartupWMClass Tracking**: Automatically parses the generated `package.json` inside the Electron source code, extracts the unique Nativefier build hash, and writes the correct `StartupWMClass` to ensure application launcher matching in your system app menu and dock.
36
+ - **App Directory Organization**: Moves the generated packages out of your home directory and places them inside a clean `~/Apps` folder (or custom directory).
37
+ - **Zero-Dependency**: Written purely in native Node.js API. No `node_modules` required to download or run.
42
38
 
43
39
  ---
44
40
 
45
- ## 🚀 Quick Start
41
+ ## Quick Start
46
42
 
47
43
  ### 1. Requirements
48
44
 
@@ -52,27 +48,41 @@ On Ubuntu/Debian/Mint:
52
48
  sudo apt update && sudo apt install -y nodejs npm
53
49
  ```
54
50
 
55
- ### 2. Running Deskify
51
+ ### 2. Global Installation (Official Release)
56
52
 
57
- You don't even need to install Deskify to try it! Run it directly using `npx`:
53
+ Install it globally directly from [npmjs.com](https://www.npmjs.com/package/deskify-cli):
58
54
  ```bash
59
- npx https://github.com/<your-username>/deskify
55
+ npm install -g deskify-cli
60
56
  ```
61
- *(Or run it locally if you cloned the repository)*:
57
+
58
+ Once installed, simply run it in any directory:
62
59
  ```bash
63
- node deskify.js
60
+ deskify
64
61
  ```
65
62
 
66
- ### 3. Global Installation (Optional)
63
+ *Note: If your system throws a "command not found: deskify" error, you can also run it instantly via `npx`:*
64
+ ```bash
65
+ npx deskify-cli
66
+ ```
67
67
 
68
- Install it globally using NPM so you can call `deskify` anywhere in your terminal:
68
+ ### 3. Local Installation / Development
69
+
70
+ If you want to run or build the project locally from the cloned repository:
69
71
  ```bash
72
+ # Clone the repository
73
+ git clone https://github.com/<your-username>/deskify.git
74
+ cd deskify
75
+
76
+ # Run locally
77
+ node deskify.js
78
+
79
+ # Or link/install your local build globally
70
80
  npm install -g .
71
81
  ```
72
82
 
73
83
  ---
74
84
 
75
- ## 🛠️ How It Works
85
+ ## How It Works
76
86
 
77
87
  ```mermaid
78
88
  graph TD
@@ -90,6 +100,6 @@ graph TD
90
100
 
91
101
  ---
92
102
 
93
- ## 📄 License
103
+ ## License
94
104
 
95
105
  This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.