diff --git a/MyCMD/images/banner.png b/MyCMD/images/banner.png new file mode 100644 index 0000000..3d0fe5f Binary files /dev/null and b/MyCMD/images/banner.png differ diff --git a/MyCMD/images/logo.jpeg b/MyCMD/images/logo.jpeg new file mode 100644 index 0000000..f081087 Binary files /dev/null and b/MyCMD/images/logo.jpeg differ diff --git a/MyCMD/index.html b/MyCMD/index.html new file mode 100644 index 0000000..5df8292 --- /dev/null +++ b/MyCMD/index.html @@ -0,0 +1,261 @@ + + + + + + MyCMD - Custom Command Prompt in Java + + + + + + + + + + + + + +
+
+
+

MyCMD

+

A Fully Custom Command Prompt Built in Java

+

Experience the power of a Windows-like terminal, reimagined from scratch with extensibility and modern design.

+ +
+ Java 17+ + Windows | Linux + Apache License +
+
+
+
+ + +
+
+

The CMD that works for developers, by developers

+
+
+ + +
+
+

Powerful Functionality

+

Built with performance and extensibility in mind

+ +
+
+
📁
+

Windows-Like Commands

+

Familiar commands like dir, cd, mkdir, del, copy, and type

+
+ +
+
🔧
+

Fully Extensible

+

Easy to add new commands via Java classes. Built with clean architecture and command pattern

+
+ +
+
+

Lightning Fast

+

Native performance with Java optimization. Minimal resource usage for maximum speed

+
+ +
+
📦
+

Easy Installation

+

Packaged as .exe with Launch4j. Includes installer wizard via Inno Setup

+
+ +
+
🌐
+

Cross-Platform

+

Works seamlessly on Windows and Linux through jpackage support

+
+ +
+
🔓
+

Open Source

+

Apache licensed, free to use, modify, and distribute for any purpose

+
+
+
+
+ + +
+
+

How It Works

+

Get started in three simple steps

+ +
+
+
1
+

Download & Install

+

Run the setup.exe installer or build from source using Maven. Installation takes less than a minute.

+
+ +
+
2
+

Launch MyCMD

+

Open the application from your desktop or run MyCMD.exe from the command line.

+
+ +
+
3
+

Start Coding

+

Use familiar commands or extend MyCMD by adding your own custom commands in Java.

+
+
+ +
+

Example Usage

+
> dir
+> cd ..
+> mkdir myproject
+> echo Hello World!
+> type readme.txt
+> help
+> exit
+
+
+
+ + +
+
+

About Drive For Java

+ +
+

Drive For Java is a passionate global community dedicated to empowering developers. Our mission is simple: to connect learners and professionals, to share knowledge, and to build powerful projects together.

+ +

Beyond code, we foster meaningful collaboration and mentorship, ensuring that everyone has the opportunity to grow their skills. Whether you are a beginner eager to contribute or a seasoned developer looking to collaborate on advanced projects — this is your home.

+ +

At Drive For Java, collaboration is not just encouraged, it is celebrated. Together, we're creating innovative tools, open-source repositories, and a supportive network that inspires future generations of developers.

+
+
+
+ + +
+
+

Code of Conduct

+

Building a welcoming and inclusive environment

+ +
+
+
🤝
+

Respect and Inclusivity

+

Treat all contributors with kindness. We do not tolerate harassment, discrimination, or disrespectful behavior.

+
+ +
+
💡
+

Collaboration

+

Support one another, share knowledge, and contribute constructively to discussions and code reviews.

+
+ +
+
🌍
+

Openness

+

Value diverse perspectives and experiences. Different backgrounds bring stronger solutions.

+
+ +
+
+

Professionalism

+

Use welcoming and appropriate language across all interactions, whether in code, issues, or discussions.

+
+ +
+
💬
+

Constructive Feedback

+

Critique ideas, not people. Provide actionable and respectful suggestions.

+
+ +
+
🛡️
+

Zero Tolerance

+

Any form of intimidation, offensive comments, or personal attacks are prohibited.

+
+
+
+
+ + +
+
+

Why Collaboration Matters

+

Collaboration is the heartbeat of Drive For Java. In the world of software development, teamwork fuels innovation and leads to impactful outcomes.

+ +
+
+

📚 Learn Faster

+

Share experiences and learn from peers worldwide

+
+ +
+

🚀 Build Bigger

+

Collaborate on projects beyond the scope of individual effort

+
+ +
+

🌐 Stronger Network

+

Connect with developers, mentors, and innovators across the globe

+
+ +
+

💪 Empower Others

+

Contributing to open-source inspires and helps future developers

+
+
+ + +
+
+ + +
+
+

Join Us

+

We're always looking for passionate members to collaborate. Join our Community and Contribute to our awesome repos.

+ +

💖 Your Work can make this community glow and shine in Moonlight 💖

+ +
+

🌟 Your Face Here?

+

Future Legend @yourusername

+

We're on the lookout for elite-level developers to join our fast-moving, global, modern team. If you're a builder with vision, speed, and taste - we want to see you here.

+ 👾 Join Drive-for-Java +
+
+
+ + + + + + + diff --git a/MyCMD/script.js b/MyCMD/script.js new file mode 100644 index 0000000..cfe1aec --- /dev/null +++ b/MyCMD/script.js @@ -0,0 +1,115 @@ +const svg = document.getElementById('plexus'); +const width = window.innerWidth; +const height = window.innerHeight; + +svg.setAttribute('width', width); +svg.setAttribute('height', height); + +const numPoints = 80; +const maxDistance = 150; +const points = []; + +class Point { + constructor() { + this.x = Math.random() * width; + this.y = Math.random() * height; + this.vx = (Math.random() - 0.5) * 1.5; + this.vy = (Math.random() - 0.5) * 1.5; + this.opacity = Math.random(); + this.fadeDirection = Math.random() > 0.5 ? 1 : -1; + this.fadeSpeed = 0.005 + Math.random() * 0.01; + + this.element = document.createElementNS('http://www.w3.org/2000/svg', 'circle'); + this.element.setAttribute('r', '2'); + this.element.setAttribute('fill', '#6366f1'); + svg.appendChild(this.element); + } + + update() { + this.x += this.vx; + this.y += this.vy; + + if (this.x < 0 || this.x > width) this.vx *= -1; + if (this.y < 0 || this.y > height) this.vy *= -1; + + this.x = Math.max(0, Math.min(width, this.x)); + this.y = Math.max(0, Math.min(height, this.y)); + + this.opacity += this.fadeDirection * this.fadeSpeed; + if (this.opacity >= 1) { + this.opacity = 1; + this.fadeDirection = -1; + } else if (this.opacity <= 0.1) { + this.opacity = 0.1; + this.fadeDirection = 1; + } + + this.element.setAttribute('cx', this.x); + this.element.setAttribute('cy', this.y); + this.element.setAttribute('opacity', this.opacity); + } +} + +for (let i = 0; i < numPoints; i++) { + points.push(new Point()); +} + +const lineGroup = document.createElementNS('http://www.w3.org/2000/svg', 'g'); +lineGroup.setAttribute('id', 'lines'); +svg.insertBefore(lineGroup, svg.firstChild); + +function drawConnections() { + lineGroup.innerHTML = ''; + + for (let i = 0; i < points.length; i++) { + for (let j = i + 1; j < points.length; j++) { + const dx = points[i].x - points[j].x; + const dy = points[i].y - points[j].y; + const distance = Math.sqrt(dx * dx + dy * dy); + + if (distance < maxDistance) { + const opacity = (1 - distance / maxDistance) * + Math.min(points[i].opacity, points[j].opacity) * 0.5; + + const line = document.createElementNS('http://www.w3.org/2000/svg', 'line'); + line.setAttribute('x1', points[i].x); + line.setAttribute('y1', points[i].y); + line.setAttribute('x2', points[j].x); + line.setAttribute('y2', points[j].y); + line.setAttribute('stroke', '#8b5cf6'); + line.setAttribute('stroke-width', '1'); + line.setAttribute('opacity', opacity); + lineGroup.appendChild(line); + } + } + } +} + +function animate() { + points.forEach(p => p.update()); + drawConnections(); + requestAnimationFrame(animate); +} + +window.addEventListener('resize', () => { + const newWidth = window.innerWidth; + const newHeight = window.innerHeight; + svg.setAttribute('width', newWidth); + svg.setAttribute('height', newHeight); +}); + +// Smooth scroll for navigation +document.querySelectorAll('a[href^="#"]').forEach(anchor => { + anchor.addEventListener('click', function (e) { + e.preventDefault(); + const target = document.querySelector(this.getAttribute('href')); + if (target) { + target.scrollIntoView({ + behavior: 'smooth', + block: 'start' + }); + } + }); +}); + +animate(); diff --git a/MyCMD/style.css b/MyCMD/style.css new file mode 100644 index 0000000..d52282e --- /dev/null +++ b/MyCMD/style.css @@ -0,0 +1,554 @@ +* { + margin: 0; + padding: 0; + box-sizing: border-box; +} + +:root { + --primary: #6366f1; + --secondary: #8b5cf6; + --dark: #0a0a1a; + --dark-light: #1a1a3a; + --text: #ffffff; + --text-muted: rgba(255, 255, 255, 0.7); + --accent: #10b981; +} + +body { + font-family: 'Space Grotesk', sans-serif; + background: var(--dark); + color: var(--text); + overflow-x: hidden; + line-height: 1.6; +} + +.container { + max-width: 1200px; + margin: 0 auto; + padding: 0 20px; +} + +/* Plexus Background */ +#plexus { + position: fixed; + top: 0; + left: 0; + width: 100vw; + height: 100vh; + z-index: -1; + pointer-events: none; +} + +/* Navigation */ +.navbar { + position: fixed; + top: 0; + left: 0; + right: 0; + background: rgba(10, 10, 26, 0.9); + backdrop-filter: blur(10px); + padding: 1rem 0; + z-index: 100; + border-bottom: 1px solid rgba(99, 102, 241, 0.2); +} + +.navbar .container { + display: flex; + justify-content: space-between; + align-items: center; +} + +.logo { + font-size: 1.5rem; + font-weight: 700; + color: var(--primary); +} + +.nav-links { + display: flex; + list-style: none; + gap: 2rem; +} + +.nav-links a { + color: var(--text-muted); + text-decoration: none; + transition: color 0.3s; + font-weight: 500; +} + +.nav-links a:hover { + color: var(--primary); +} + +/* Hero Section */ +.hero { + min-height: 100vh; + display: flex; + align-items: center; + justify-content: center; + text-align: center; + padding: 100px 20px 50px; + position: relative; +} + +.hero-content { + max-width: 900px; +} + +.hero-title { + font-size: 5rem; + font-weight: 700; + margin-bottom: 1rem; + background: linear-gradient(135deg, var(--primary), var(--secondary)); + -webkit-background-clip: text; + -webkit-text-fill-color: transparent; + background-clip: text; + animation: glow 2s ease-in-out infinite alternate; +} + +@keyframes glow { + from { + filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.5)); + } + to { + filter: drop-shadow(0 0 40px rgba(139, 92, 246, 0.8)); + } +} + +.hero-subtitle { + font-size: 1.8rem; + font-weight: 500; + color: var(--text); + margin-bottom: 1rem; +} + +.hero-description { + font-size: 1.2rem; + font-weight: 400; + color: var(--text-muted); + margin-bottom: 2rem; +} + +.hero-buttons { + display: flex; + gap: 1rem; + justify-content: center; + margin-bottom: 2rem; +} + +.btn { + padding: 0.9rem 2rem; + border-radius: 8px; + text-decoration: none; + font-weight: 600; + transition: all 0.3s; + display: inline-block; + border: 2px solid transparent; +} + +.btn-primary { + background: linear-gradient(135deg, var(--primary), var(--secondary)); + color: white; +} + +.btn-primary:hover { + transform: translateY(-2px); + box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4); +} + +.btn-secondary { + background: transparent; + border-color: var(--primary); + color: var(--primary); +} + +.btn-secondary:hover { + background: var(--primary); + color: white; + transform: translateY(-2px); +} + +.hero-badges { + display: flex; + gap: 1rem; + justify-content: center; + flex-wrap: wrap; +} + +.badge { + background: rgba(99, 102, 241, 0.2); + border: 1px solid rgba(99, 102, 241, 0.5); + padding: 0.5rem 1rem; + border-radius: 20px; + font-size: 0.9rem; + font-weight: 500; + color: var(--text-muted); +} + +/* Tagline */ +.tagline { + padding: 4rem 0; + background: rgba(99, 102, 241, 0.05); + border-top: 1px solid rgba(99, 102, 241, 0.2); + border-bottom: 1px solid rgba(99, 102, 241, 0.2); +} + +.tagline-text { + text-align: center; + font-size: 2rem; + font-weight: 400; + font-style: italic; + color: var(--text-muted); +} + +/* Section Styles */ +section { + padding: 5rem 0; +} + +.section-title { + font-size: 2.5rem; + font-weight: 700; + text-align: center; + margin-bottom: 1rem; + color: var(--text); +} + +.section-subtitle { + text-align: center; + color: var(--text-muted); + font-size: 1.1rem; + font-weight: 400; + margin-bottom: 3rem; +} + +/* Features */ +.features { + background: rgba(26, 26, 58, 0.3); +} + +.features-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); + gap: 2rem; +} + +.feature-card { + background: rgba(99, 102, 241, 0.1); + border: 1px solid rgba(99, 102, 241, 0.3); + padding: 2rem; + border-radius: 12px; + transition: all 0.3s; +} + +.feature-card:hover { + transform: translateY(-5px); + border-color: var(--primary); + box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3); +} + +.feature-icon { + font-size: 3rem; + margin-bottom: 1rem; +} + +.feature-card h3 { + font-size: 1.4rem; + font-weight: 600; + margin-bottom: 1rem; + color: var(--text); +} + +.feature-card p { + color: var(--text-muted); + font-weight: 400; + line-height: 1.6; +} + +.feature-card code { + background: rgba(0, 0, 0, 0.3); + padding: 2px 6px; + border-radius: 4px; + color: var(--accent); + font-family: 'Courier New', monospace; +} + +/* How It Works */ +.steps { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); + gap: 3rem; + margin-bottom: 4rem; +} + +.step { + text-align: center; +} + +.step-number { + width: 60px; + height: 60px; + background: linear-gradient(135deg, var(--primary), var(--secondary)); + border-radius: 50%; + display: flex; + align-items: center; + justify-content: center; + font-size: 1.8rem; + font-weight: 700; + margin: 0 auto 1.5rem; +} + +.step h3 { + font-size: 1.5rem; + font-weight: 600; + margin-bottom: 1rem; +} + +.step p { + color: var(--text-muted); + font-weight: 400; +} + +.step code { + background: rgba(0, 0, 0, 0.3); + padding: 2px 6px; + border-radius: 4px; + color: var(--accent); + font-family: 'Courier New', monospace; +} + +.code-example { + background: rgba(0, 0, 0, 0.5); + border: 1px solid rgba(99, 102, 241, 0.3); + border-radius: 12px; + padding: 2rem; + max-width: 600px; + margin: 0 auto; +} + +.code-example h3 { + margin-bottom: 1rem; + font-weight: 600; + color: var(--primary); +} + +.code-example pre { + background: rgba(0, 0, 0, 0.3); + padding: 1.5rem; + border-radius: 8px; + overflow-x: auto; +} + +.code-example code { + color: var(--accent); + font-family: 'Courier New', monospace; + line-height: 1.8; +} + +/* About */ +.about { + background: rgba(26, 26, 58, 0.3); +} + +.about-content { + max-width: 800px; + margin: 0 auto; + text-align: center; +} + +.about-content p { + font-size: 1.1rem; + font-weight: 400; + color: var(--text-muted); + margin-bottom: 1.5rem; + line-height: 1.8; +} + +/* Code of Conduct */ +.conduct-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); + gap: 2rem; +} + +.conduct-item { + background: rgba(99, 102, 241, 0.05); + border: 1px solid rgba(99, 102, 241, 0.2); + padding: 2rem; + border-radius: 12px; + text-align: center; +} + +.conduct-icon { + font-size: 2.5rem; + margin-bottom: 1rem; +} + +.conduct-item h3 { + font-size: 1.3rem; + font-weight: 600; + margin-bottom: 1rem; + color: var(--text); +} + +.conduct-item p { + color: var(--text-muted); + font-weight: 400; +} + +/* Collaborate */ +.collaborate { + background: rgba(26, 26, 58, 0.3); +} + +.section-intro { + text-align: center; + font-size: 1.1rem; + font-weight: 400; + color: var(--text-muted); + max-width: 800px; + margin: 0 auto 3rem; +} + +.collab-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); + gap: 2rem; + margin-bottom: 3rem; +} + +.collab-card { + background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1)); + border: 1px solid rgba(99, 102, 241, 0.3); + padding: 2rem; + border-radius: 12px; + text-align: center; + transition: all 0.3s; +} + +.collab-card:hover { + transform: translateY(-5px); + box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3); +} + +.collab-card h3 { + font-size: 1.3rem; + font-weight: 600; + margin-bottom: 0.5rem; +} + +.collab-card p { + color: var(--text-muted); + font-weight: 400; +} + +.collab-footer { + text-align: center; + font-size: 1.2rem; + font-weight: 500; + color: var(--text); + font-style: italic; + max-width: 700px; + margin: 0 auto; +} + +/* Join Us */ +.join-intro { + text-align: center; + font-size: 1.1rem; + font-weight: 400; + color: var(--text-muted); + margin-bottom: 2rem; +} + +.join-highlight { + text-align: center; + font-size: 1.3rem; + font-weight: 500; + color: var(--accent); + margin-bottom: 3rem; +} + +.legend-card { + background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.2)); + border: 2px solid var(--primary); + padding: 3rem; + border-radius: 16px; + text-align: center; + max-width: 700px; + margin: 0 auto; +} + +.legend-card h3 { + font-size: 2rem; + font-weight: 700; + margin-bottom: 0.5rem; +} + +.legend-subtitle { + color: var(--text-muted); + font-size: 1.1rem; + font-weight: 500; + margin-bottom: 1.5rem; +} + +.legend-card p { + color: var(--text-muted); + font-weight: 400; + margin-bottom: 2rem; + line-height: 1.8; +} + +/* Footer */ +.footer { + background: rgba(10, 10, 26, 0.9); + padding: 2rem 0; + text-align: center; + border-top: 1px solid rgba(99, 102, 241, 0.2); +} + +.footer p { + color: var(--text-muted); + font-weight: 400; +} + +.about-logo{ + display: block; + margin: 1rem auto 2rem; + max-width: 150px; + border-radius: 50%; + border: 3px solid var(--primary); +} +.banner-img{ + width: 100%; + margin-top: -4rem; + margin-bottom: 2rem; + border-radius: 12px; + box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3); +} +/* Responsive */ +@media (max-width: 768px) { + .hero-title { + font-size: 3rem; + } + + .hero-subtitle { + font-size: 1.3rem; + } + + .nav-links { + gap: 1rem; + } + + .hero-buttons { + flex-direction: column; + } + + .features-grid, + .steps, + .conduct-grid, + .collab-grid { + grid-template-columns: 1fr; + } +}