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.
- package/README.md +80 -0
- package/index.js +110 -41
- 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
|
-
|
|
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
|
-
|
|
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.
|
|
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
|
}
|