mazharul 1.0.0 โ†’ 1.0.4

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.
Files changed (3) hide show
  1. package/README.md +80 -0
  2. package/index.js +110 -41
  3. package/package.json +10 -2
package/README.md ADDED
@@ -0,0 +1,80 @@
1
+ # Mazharul CLI Portfolio ๐Ÿš€
2
+
3
+ An interactive command-line portfolio showcasing my professional profile, skills, and contact information with beautiful animations and styling.
4
+
5
+ ## โœจ Features
6
+
7
+ - **Animated typewriter effect** for smooth text rendering
8
+ - **Gradient text styling** with beautiful color transitions
9
+ - **Boxed layouts** for organized information display
10
+ - **Loading spinner** for enhanced user experience
11
+ - **Interactive CLI interface** that's easy to navigate
12
+
13
+ ## ๐Ÿ“ฆ Installation
14
+
15
+ You can run this CLI portfolio directly using npx without installation:
16
+
17
+ ```bash
18
+ npx mazharul
19
+ ```
20
+
21
+ Or install it globally:
22
+
23
+ ```bash
24
+ npm install -g mazharul
25
+ ```
26
+
27
+ Then run:
28
+
29
+ ```bash
30
+ mazharul
31
+ ```
32
+
33
+ ## ๐Ÿ›  Technologies Used
34
+
35
+ - **Node.js** - Runtime environment
36
+ - **Chalk** - Terminal string styling
37
+ - **Boxen** - Create boxes in the terminal
38
+ - **Ora** - Elegant terminal spinner
39
+ - **Gradient String** - Beautiful gradient colors
40
+ - **CLI Cursor** - Cursor manipulation for clean output
41
+
42
+ ## ๐Ÿ“‹ What's Inside
43
+
44
+ The CLI displays:
45
+ - ๐Ÿ’ผ **Professional Role** - Current position and company
46
+ - ๐Ÿ“œ **Bio** - Brief introduction and passion
47
+ - ๐Ÿ›  **Technical Skills** - Programming languages, frameworks, and tools
48
+ - ๐Ÿ’ก **Interests** - Areas of focus and expertise
49
+ - ๐ŸŒ **Social Links** - GitHub, LinkedIn, Website, Facebook
50
+ - ๐Ÿ“ž **Contact Information** - Direct phone contact
51
+
52
+ ## ๐Ÿš€ Usage
53
+
54
+ Simply run the command and watch your terminal come alive with animated content showcasing the portfolio!
55
+
56
+ ```bash
57
+ npx mazharul
58
+ ```
59
+
60
+ ## ๐Ÿ‘จโ€๐Ÿ’ป About
61
+
62
+ **Mazharul Islam**
63
+ - Software Engineer at Next Level Media
64
+ - Full-Stack Developer specializing in backend architecture
65
+ - Passionate about SaaS products and scalable systems
66
+
67
+ ## ๐Ÿ”— Connect
68
+
69
+ - **GitHub**: [mazharulDev](https://github.com/mazharulDev)
70
+ - **LinkedIn**: [mazharuldev](https://www.linkedin.com/in/mazharuldev/)
71
+ - **Website**: [mazharul.me](https://www.mazharul.me/)
72
+ - **Facebook**: [MazharulDev](https://www.facebook.com/MazharulDev/)
73
+
74
+ ## ๐Ÿ“„ License
75
+
76
+ ISC
77
+
78
+ ---
79
+
80
+ *"Learning every day, building for the future."*
package/index.js CHANGED
@@ -1,42 +1,111 @@
1
- #!/usr/bin/env node
2
-
3
- console.log(`
4
- =======================================================
5
- ๐Ÿ‘‹ Hello, Iโ€™m Md Mazharul Islam
6
- =======================================================
7
-
8
- Software Engineer | Full-Stack Developer
9
-
10
- ๐Ÿ’ผ Profession:
11
- Software Engineer at Next Level Media
12
-
13
- ๐Ÿ“œ Bio:
14
- Full-stack developer focused on scalable backend systems,
15
- clean APIs, and modern web applications.
16
-
17
- ๐Ÿ›  Skills:
18
- โ€ข JavaScript & TypeScript
19
- โ€ข Node.js, Express.js, NestJS
20
- โ€ข React.js & Next.js
21
- โ€ข MongoDB, PostgreSQL, Prisma
22
- โ€ข Redux & RTK Query
23
- โ€ข REST & System Design
24
-
25
- ๐Ÿ’ก Interests:
26
- โ€ข SaaS Product Development
27
- โ€ข Backend Architecture
28
- โ€ข Microservices
29
- โ€ข Learning new technologies
30
-
31
- ๐ŸŒ Social Links:
32
- - GitHub: https://github.com/mazharulDev
33
- - LinkedIn: https://www.linkedin.com/in/mazharuldev/
34
- - website: https://www.mazharul.me/
35
- - facebook: https://www.facebook.com/MazharulDev/
36
-
37
- โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
38
- โ”‚ โ”‚
39
- โ”‚ โ€œLearning every day, building for the future.โ€ โ”‚
40
- โ”‚ โ”‚
41
- โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
1
+ #!/usr/bin/env node
2
+
3
+ import chalk from "chalk";
4
+ import boxen from "boxen";
5
+ import ora from "ora";
6
+ import gradient from "gradient-string";
7
+ import cliCursor from "cli-cursor";
8
+
9
+ const sleep = (ms) => new Promise((r) => setTimeout(r, ms));
10
+
11
+ async function typewriter(text, speed = 15) {
12
+ for (const char of text) {
13
+ process.stdout.write(char);
14
+ await sleep(speed);
15
+ }
16
+ process.stdout.write("\n");
17
+ }
18
+
19
+ async function section(title, content) {
20
+ console.log(chalk.bold.cyan(`\n${title}`));
21
+ await sleep(200);
22
+ await typewriter(content, 10);
23
+ }
24
+
25
+ async function main() {
26
+ console.clear();
27
+ cliCursor.hide();
28
+
29
+ const spinner = ora({
30
+ text: "Booting Mazharul CLI Portfolio...",
31
+ spinner: "dots",
32
+ }).start();
33
+
34
+ await sleep(1500);
35
+ spinner.succeed("Portfolio loaded successfully ๐Ÿš€");
36
+
37
+ await sleep(400);
38
+
39
+ // Animated Gradient Title
40
+ const title = gradient.morning(`
41
+ ๐Ÿ‘‹ Hello, Iโ€™m Mazharul Islam
42
+ Software Engineer | Full-Stack Developer
42
43
  `);
44
+
45
+ const headerBox = boxen(title, {
46
+ padding: 1,
47
+ borderStyle: "double",
48
+ borderColor: "cyan",
49
+ });
50
+
51
+ console.log(headerBox);
52
+
53
+ await sleep(600);
54
+
55
+ await section(
56
+ "๐Ÿ’ผ Profession",
57
+ "Software Engineer at Next Level Media\nBuilding scalable, production-ready software systems."
58
+ );
59
+
60
+ await section(
61
+ "๐Ÿ“œ Bio",
62
+ "Passionate full-stack developer with a strong focus on backend architecture,\nclean APIs, and performance-driven applications.\nI love turning ideas into real-world SaaS products."
63
+ );
64
+
65
+ await section(
66
+ "๐Ÿ›  Skills",
67
+ `โ€ข JavaScript & TypeScript
68
+ โ€ข Node.js, Express.js, NestJS
69
+ โ€ข React.js & Next.js
70
+ โ€ข MongoDB, PostgreSQL, Prisma
71
+ โ€ข Redux & RTK Query
72
+ โ€ข REST APIs & System Design`
73
+ );
74
+
75
+ await section(
76
+ "๐Ÿ’ก Interests",
77
+ `โ€ข SaaS Product Development
78
+ โ€ข Backend & System Architecture
79
+ โ€ข Microservices & Scalability
80
+ โ€ข Teaching & Continuous Learning`
81
+ );
82
+
83
+ await section(
84
+ "๐ŸŒ Social Links",
85
+ `${chalk.blue("GitHub")} : https://github.com/mazharulDev
86
+ ${chalk.blue("LinkedIn")} : https://www.linkedin.com/in/mazharuldev/
87
+ ${chalk.blue("Website")} : https://www.mazharul.me/
88
+ ${chalk.blue("Facebook")}: https://www.facebook.com/MazharulDev/`
89
+ );
90
+
91
+ await section(
92
+ "๐Ÿ“ž Contact",
93
+ `Phone : ${chalk.green("+880 1911-396142")}`
94
+ );
95
+
96
+ await sleep(500);
97
+
98
+ const footer = boxen(
99
+ chalk.dim("โ€œLearning every day, building for the future.โ€"),
100
+ {
101
+ padding: 1,
102
+ borderStyle: "round",
103
+ borderColor: "gray",
104
+ }
105
+ );
106
+
107
+ console.log("\n" + footer);
108
+ cliCursor.show();
109
+ }
110
+
111
+ main();
package/package.json CHANGED
@@ -1,15 +1,23 @@
1
1
  {
2
2
  "name": "mazharul",
3
- "version": "1.0.0",
3
+ "version": "1.0.4",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"
8
8
  },
9
+ "type": "module",
9
10
  "bin": {
10
11
  "mazharul": "./index.js"
11
12
  },
12
13
  "keywords": [],
13
14
  "author": "",
14
- "license": "ISC"
15
+ "license": "ISC",
16
+ "dependencies": {
17
+ "boxen": "^8.0.1",
18
+ "chalk": "^5.6.2",
19
+ "cli-cursor": "^5.0.0",
20
+ "gradient-string": "^3.0.0",
21
+ "ora": "^9.0.0"
22
+ }
15
23
  }