mirror of
https://github.com/mileswolfallen2/miles-web.git
synced 2026-09-08 11:23:17 +00:00
288 lines
14 KiB
HTML
288 lines
14 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>CommandMove | Miles Wolf Allen</title>
|
|
<meta name="description" content="CommandMove — true cut-and-paste for Finder on macOS. Select files, Cmd+X, navigate, Cmd+V.">
|
|
<link rel="canonical" href="https://milesallen.site/projects/command-move.html">
|
|
<meta property="og:title" content="CommandMove | Miles Wolf Allen">
|
|
<meta property="og:description" content="True cut-and-paste for Finder on macOS. Select files, Cmd+X, navigate, Cmd+V.">
|
|
<meta property="og:image" content="https://milesallen.site/og.png">
|
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
<link href="https://fonts.googleapis.com/css2?family=Press+Start+2P&family=Space+Mono:wght@400;700&family=Inter:wght@400;500;600;800&display=swap" rel="stylesheet">
|
|
<link rel="icon" type="image/png" href="../favicon.png">
|
|
<link rel="stylesheet" href="style.css">
|
|
</head>
|
|
<body>
|
|
<div class="cursor-dot" id="cursorDot"></div>
|
|
<div class="cursor-ring" id="cursorRing"></div>
|
|
<div class="progress-bar" id="progressBar"></div>
|
|
<button class="theme-toggle" id="themeToggle" aria-label="Toggle theme"></button>
|
|
<div class="shortcut-modal" id="shortcutModal">
|
|
<div class="shortcut-card">
|
|
<h3>Keyboard Shortcuts</h3>
|
|
<div class="shortcut-row"><span>Go Home</span><kbd>H</kbd></div>
|
|
<div class="shortcut-row"><span>Go to GitHub</span><kbd>G</kbd></div>
|
|
<div class="shortcut-row"><span>Toggle theme</span><kbd>T</kbd></div>
|
|
<div class="shortcut-row"><span>Show shortcuts</span><kbd>?</kbd></div>
|
|
<div class="close-hint">Press Esc or ? to close</div>
|
|
</div>
|
|
</div>
|
|
<div class="flash" id="flash"></div>
|
|
<div class="toast-stack" id="toastStack"></div>
|
|
<nav class="mobile-nav">
|
|
<a href="../index.html">Home</a>
|
|
<a href="fedl.html">FEDL</a>
|
|
<a href="omniemu.html">OmniEmu</a>
|
|
<a href="command-move.html" class="active">CommandMove</a>
|
|
<a href="https://github.com/mileswolfallen2" target="_blank">GitHub</a>
|
|
</nav>
|
|
|
|
<div class="container">
|
|
<nav>
|
|
<a href="../index.html" class="nav-logo"><span class="logo-dot"></span> milesallen</a>
|
|
<div class="nav-links">
|
|
<a href="../index.html#about">About</a>
|
|
<a href="../index.html#skills">Skills</a>
|
|
<a href="../index.html#projects">Projects</a>
|
|
<a href="../index.html#contact">Contact</a>
|
|
</div>
|
|
</nav>
|
|
|
|
<section class="project-hero">
|
|
<div class="breadcrumb">
|
|
<a href="../index.html">Home</a>
|
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><polyline points="9 18 15 12 9 6"/></svg>
|
|
<span>CommandMove</span>
|
|
</div>
|
|
|
|
<h1>CommandMove</h1>
|
|
<p class="tagline">True cut-and-paste for Finder on macOS. Select files, press Cmd+X, navigate, Cmd+V. Done.</p>
|
|
|
|
<div class="project-meta-bar">
|
|
<a href="https://github.com/mileswolfallen2/command-move" class="meta-chip primary" target="_blank">
|
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 00-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0020 4.77 5.07 5.07 0 0019.91 1S18.73.65 16 2.48a13.38 13.38 0 00-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 005 4.77a5.44 5.44 0 00-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 009 18.13V22"/></svg>
|
|
View on GitHub
|
|
</a>
|
|
<a href="https://command.milesallen.site" class="meta-chip" target="_blank">
|
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="12" cy="12" r="10"/><line x1="2" y1="12" x2="22" y2="12"/><path d="M12 2a15.3 15.3 0 014 10 15.3 15.3 0 01-4 10 15.3 15.3 0 01-4-10 15.3 15.3 0 014-10z"/></svg>
|
|
Website
|
|
</a>
|
|
<span class="meta-chip">Swift</span>
|
|
<span class="meta-chip">MIT License</span>
|
|
<span class="meta-chip">macOS</span>
|
|
</div>
|
|
<div class="stats-bar">
|
|
<div class="stat-item">
|
|
<div class="stat-value accent" id="gh-stars">--</div>
|
|
<div class="stat-label">Stars</div>
|
|
</div>
|
|
<div class="stat-item">
|
|
<div class="stat-value green" id="gh-forks">--</div>
|
|
<div class="stat-label">Forks</div>
|
|
</div>
|
|
<div class="stat-item">
|
|
<div class="stat-value orange" id="gh-issues">--</div>
|
|
<div class="stat-label">Issues</div>
|
|
</div>
|
|
<div class="stat-item">
|
|
<div class="stat-value" id="gh-lang">--</div>
|
|
<div class="stat-label">Language</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<section class="reveal">
|
|
<div class="section-divider"></div>
|
|
<h2 class="section-title">Features</h2>
|
|
<p class="section-subtitle">What macOS should have had from the start</p>
|
|
|
|
<div class="feature-grid">
|
|
<div class="feature-card">
|
|
<h3>
|
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><rect x="2" y="6" width="20" height="12" rx="2"/><path d="M6 12h4m4 0h4"/></svg>
|
|
Global Cmd+X / Cmd+V
|
|
</h3>
|
|
<p>Press Cmd+X on selected files in Finder to cut them. Navigate to any folder, press Cmd+V to move them. Just like Windows.</p>
|
|
</div>
|
|
<div class="feature-card">
|
|
<h3>
|
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><rect x="3" y="3" width="18" height="18" rx="2"/><path d="M9 3v18M3 9h18"/></svg>
|
|
Menu Bar Controls
|
|
</h3>
|
|
<p>Cut, paste, clear clipboard, toggle login launch, and open Accessibility settings — all from the menu bar icon.</p>
|
|
</div>
|
|
<div class="feature-card">
|
|
<h3>
|
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 2v4m0 12v4M4.93 4.93l2.83 2.83m8.48 8.48l2.83 2.83M2 12h4m12 0h4M4.93 19.07l2.83-2.83m8.48-8.48l2.83-2.83"/></svg>
|
|
Right-Click Cut
|
|
</h3>
|
|
<p>Built-in Quick Action adds a "Cut Files" option to the Finder right-click menu. Enable it from the menu bar.</p>
|
|
</div>
|
|
<div class="feature-card">
|
|
<h3>
|
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M18 10h-1.26A8 8 0 109 20h9a5 5 0 000-10z"/></svg>
|
|
Auto-Launch at Login
|
|
</h3>
|
|
<p>Toggle Open at Login from the menu bar so CommandMove is always running when you need it.</p>
|
|
</div>
|
|
<div class="feature-card">
|
|
<h3>
|
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"/></svg>
|
|
Conflict Handling
|
|
</h3>
|
|
<p>If a file with the same name exists at the destination, a numbered copy is created automatically. Existing files are never overwritten.</p>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<section class="reveal">
|
|
<div class="section-divider"></div>
|
|
<h2 class="section-title">How It Compares</h2>
|
|
<p class="section-subtitle">CommandMove vs alternatives</p>
|
|
<div class="table-wrapper">
|
|
<table>
|
|
<thead>
|
|
<tr><th>Feature</th><th>CommandMove</th><th>macOS Finder</th><th>Path Finder</th></tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td>Cmd+X cut files</td><td class="check">Yes</td><td class="cross">No</td><td class="check">Yes</td></tr>
|
|
<tr><td>Cmd+V move files</td><td class="check">Yes</td><td class="cross">No</td><td class="check">Yes</td></tr>
|
|
<tr><td>Right-click cut</td><td class="check">Yes</td><td class="cross">No</td><td class="cross">No</td></tr>
|
|
<tr><td>Menu bar controls</td><td class="check">Yes</td><td class="cross">No</td><td class="cross">No</td></tr>
|
|
<tr><td>Auto-launch at login</td><td class="check">Yes</td><td class="cross">N/A</td><td class="cross">No</td></tr>
|
|
<tr><td>Conflict handling</td><td class="check">Auto-numbered copies</td><td class="cross">N/A</td><td class="check">Prompt</td></tr>
|
|
<tr><td>Free & open source</td><td class="check">Yes</td><td class="check">Built-in</td><td class="cross">$99</td></tr>
|
|
<tr><td>Lightweight</td><td class="check">Yes</td><td class="check">Yes</td><td class="cross">Heavy</td></tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</section>
|
|
|
|
<section class="reveal">
|
|
<div class="section-divider"></div>
|
|
<h2 class="section-title">How It Works</h2>
|
|
<p class="section-subtitle">Under the hood</p>
|
|
<div class="desc-text">
|
|
<p>A global event tap intercepts Cmd+X and Cmd+V while Finder is frontmost. AppleScript queries Finder for the selected items and current folder. The app uses FileManager.moveItem to perform the actual move operation. No third-party dependencies — just Swift, AppleScript, and macOS APIs.</p>
|
|
</div>
|
|
</section>
|
|
|
|
<section class="reveal">
|
|
<div class="section-divider"></div>
|
|
<h2 class="section-title">Tech Stack</h2>
|
|
<div class="tech-stack">
|
|
<span class="tech-badge">Swift</span>
|
|
<span class="tech-badge">AppleScript</span>
|
|
<span class="tech-badge">macOS APIs</span>
|
|
<span class="tech-badge">Global Event Tap</span>
|
|
<span class="tech-badge">FileManager</span>
|
|
</div>
|
|
</section>
|
|
|
|
<section class="reveal">
|
|
<div class="section-divider"></div>
|
|
<h2 class="section-title">Quick Start</h2>
|
|
<div class="desc-text">
|
|
<p>Download the DMG, drag to Applications, launch, and grant Accessibility access when prompted. Cmd+X in Finder to cut, Cmd+V to move.</p>
|
|
</div>
|
|
<div class="code-block">
|
|
<span class="comment"># Build from source</span><br>
|
|
<span class="cmd">./build.sh</span><br>
|
|
<span class="cmd">open build/CommandMove.dmg</span><br><br>
|
|
<span class="comment"># Requirements</span><br>
|
|
macOS 13.0 or later<br>
|
|
Accessibility permissions
|
|
</div>
|
|
</section>
|
|
|
|
<footer>
|
|
<div class="footer-links" style="margin-bottom: 12px;">
|
|
<a href="../uses.html" style="color:var(--muted);text-decoration:none;">Uses</a>
|
|
<span style="color:var(--muted);margin:0 8px;">·</span>
|
|
<a href="../now.html" style="color:var(--muted);text-decoration:none;">Now</a>
|
|
<span style="color:var(--muted);margin:0 8px;">·</span>
|
|
<a href="../colophon.html" style="color:var(--muted);text-decoration:none;">Colophon</a>
|
|
<span style="color:var(--muted);margin:0 8px;">·</span>
|
|
<a href="../experiments.html" style="color:var(--accent);text-decoration:none;">Internet History</a>
|
|
</div>
|
|
Built by Miles · 2026 · Powered by too much coffee and the Konami code
|
|
</footer>
|
|
</div>
|
|
<script>
|
|
fetch('https://api.github.com/repos/mileswolfallen2/command-move')
|
|
.then(r => r.json())
|
|
.then(d => {
|
|
if (d.stargazers_count != null) document.getElementById('gh-stars').textContent = d.stargazers_count;
|
|
if (d.forks_count != null) document.getElementById('gh-forks').textContent = d.forks_count;
|
|
if (d.open_issues_count != null) document.getElementById('gh-issues').textContent = d.open_issues_count;
|
|
if (d.language) document.getElementById('gh-lang').textContent = d.language;
|
|
})
|
|
.catch(() => {});
|
|
const observer = new IntersectionObserver((entries) => {
|
|
entries.forEach(e => { if (e.isIntersecting) e.target.classList.add('visible'); });
|
|
}, { threshold: 0.1, rootMargin: '0px 0px -40px 0px' });
|
|
document.querySelectorAll('.reveal').forEach(el => observer.observe(el));
|
|
</script>
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/[email protected]/gsap.min.js"></script>
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/[email protected]/ScrollTrigger.min.js"></script>
|
|
<script>
|
|
gsap.registerPlugin(ScrollTrigger);
|
|
|
|
const heroTl = gsap.timeline({ defaults: { ease: 'power3.out' } });
|
|
heroTl
|
|
.from('.breadcrumb', { x: -30, opacity: 0, duration: 0.6 })
|
|
.from('.project-hero h1', { y: 50, opacity: 0, duration: 0.8 }, '-=0.3')
|
|
.from('.tagline', { y: 30, opacity: 0, duration: 0.7 }, '-=0.4')
|
|
.from('.meta-chip', { y: 20, opacity: 0, scale: 0.8, duration: 0.4, stagger: 0.06 }, '-=0.3')
|
|
.from('.stats-bar', { y: 30, opacity: 0, duration: 0.6 }, '-=0.2')
|
|
.from('.stat-item', { y: 20, opacity: 0, scale: 0.9, duration: 0.4, stagger: 0.08, ease: 'back.out(1.5)' }, '-=0.3');
|
|
|
|
gsap.from('nav', { y: -20, opacity: 0, duration: 0.6, ease: 'power2.out' });
|
|
|
|
document.querySelectorAll('.section-title').forEach(title => {
|
|
gsap.from(title, {
|
|
scrollTrigger: { trigger: title, start: 'top 85%' },
|
|
y: 30, opacity: 0, duration: 0.7, ease: 'power3.out'
|
|
});
|
|
});
|
|
|
|
document.querySelectorAll('.section-divider').forEach(div => {
|
|
gsap.from(div, {
|
|
scrollTrigger: { trigger: div, start: 'top 90%' },
|
|
width: 0, duration: 0.6, ease: 'power2.out'
|
|
});
|
|
});
|
|
|
|
document.querySelectorAll('.feature-grid').forEach(grid => {
|
|
gsap.from(grid.querySelectorAll('.feature-card'), {
|
|
scrollTrigger: { trigger: grid, start: 'top 85%' },
|
|
y: 50, opacity: 0, scale: 0.9, duration: 0.6, stagger: 0.1, ease: 'power3.out'
|
|
});
|
|
});
|
|
|
|
document.querySelectorAll('.tech-stack').forEach(stack => {
|
|
gsap.from(stack.querySelectorAll('.tech-badge'), {
|
|
scrollTrigger: { trigger: stack, start: 'top 88%' },
|
|
y: 20, opacity: 0, scale: 0.8, duration: 0.4, stagger: 0.05, ease: 'back.out(1.5)'
|
|
});
|
|
});
|
|
|
|
document.querySelectorAll('code-block').forEach(block => {
|
|
gsap.from(block, {
|
|
scrollTrigger: { trigger: block, start: 'top 88%' },
|
|
y: 30, opacity: 0, duration: 0.6, ease: 'power3.out'
|
|
});
|
|
});
|
|
|
|
gsap.from('footer', {
|
|
scrollTrigger: { trigger: 'footer', start: 'top 95%' },
|
|
opacity: 0, duration: 0.8
|
|
});
|
|
|
|
window.addEventListener('load', () => ScrollTrigger.refresh());
|
|
</script>
|
|
<script src="script.js"></script>
|
|
</body>
|
|
</html> |