<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Git Time Machine - Visual Git Reflog Browser</title>
<meta name="description" content="A beautiful TUI for browsing and restoring Git history. Navigate your reflog visually, preview changes, and recover lost commits with confidence.">
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
--bg-dark: #0a0e1a;
--bg-card: rgba(15, 23, 42, 0.6);
--accent-primary: #3b82f6;
--accent-secondary: #8b5cf6;
--accent-tertiary: #06b6d4;
--text-primary: #f8fafc;
--text-secondary: #cbd5e1;
--text-muted: #64748b;
--border-color: rgba(148, 163, 184, 0.1);
--glow-primary: rgba(59, 130, 246, 0.4);
--glow-secondary: rgba(139, 92, 246, 0.4);
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Inter', sans-serif;
background: var(--bg-dark);
color: var(--text-primary);
line-height: 1.6;
overflow-x: hidden;
position: relative;
}
body::before {
content: '';
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background:
radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
radial-gradient(circle at 50% 50%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
animation: gradientShift 20s ease infinite;
z-index: -1;
}
@keyframes gradientShift {
0%, 100% { opacity: 1; transform: scale(1) rotate(0deg); }
50% { opacity: 0.8; transform: scale(1.1) rotate(5deg); }
}
.particle {
position: fixed;
width: 3px;
height: 3px;
background: var(--accent-primary);
border-radius: 50%;
opacity: 0.3;
animation: float 20s infinite;
z-index: -1;
}
@keyframes float {
0%, 100% { transform: translateY(0) translateX(0); }
25% { transform: translateY(-100px) translateX(50px); }
50% { transform: translateY(-200px) translateX(-30px); }
75% { transform: translateY(-100px) translateX(-50px); }
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 2rem;
}
header {
padding: 2rem 0;
backdrop-filter: blur(20px);
border-bottom: 1px solid var(--border-color);
position: sticky;
top: 0;
z-index: 100;
background: rgba(10, 14, 26, 0.8);
}
.header-content {
display: flex;
justify-content: space-between;
align-items: center;
}
.logo {
font-size: 1.5rem;
font-weight: 800;
background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
letter-spacing: -0.02em;
}
.header-links {
display: flex;
gap: 2rem;
align-items: center;
}
.header-links a {
color: var(--text-secondary);
text-decoration: none;
font-weight: 500;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
font-size: 0.95rem;
}
.header-links a:hover {
color: var(--accent-primary);
transform: translateY(-2px);
}
.hero {
padding: 8rem 0 6rem;
text-align: center;
position: relative;
}
.hero-badge {
display: inline-block;
padding: 0.5rem 1.25rem;
background: rgba(59, 130, 246, 0.1);
border: 1px solid rgba(59, 130, 246, 0.3);
border-radius: 50px;
color: var(--accent-primary);
font-size: 0.875rem;
font-weight: 600;
margin-bottom: 2rem;
backdrop-filter: blur(10px);
animation: fadeInUp 0.8s ease;
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.hero h1 {
font-size: 4.5rem;
font-weight: 900;
line-height: 1.1;
margin-bottom: 1.5rem;
background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
letter-spacing: -0.03em;
animation: fadeInUp 0.8s ease 0.1s both;
}
.hero-subtitle {
font-size: 1.5rem;
color: var(--text-secondary);
margin-bottom: 3rem;
max-width: 700px;
margin-left: auto;
margin-right: auto;
font-weight: 400;
line-height: 1.6;
animation: fadeInUp 0.8s ease 0.2s both;
}
.cta-buttons {
display: flex;
gap: 1.5rem;
justify-content: center;
flex-wrap: wrap;
animation: fadeInUp 0.8s ease 0.3s both;
}
.btn {
padding: 1rem 2.5rem;
border-radius: 12px;
font-weight: 600;
font-size: 1.05rem;
text-decoration: none;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
display: inline-flex;
align-items: center;
gap: 0.75rem;
position: relative;
overflow: hidden;
}
.btn-primary {
background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
color: white;
box-shadow: 0 10px 40px -10px var(--glow-primary),
0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}
.btn-primary::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
transition: left 0.5s;
}
.btn-primary:hover::before {
left: 100%;
}
.btn-primary:hover {
transform: translateY(-3px);
box-shadow: 0 20px 60px -10px var(--glow-primary),
0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}
.btn-secondary {
background: var(--bg-card);
color: var(--text-primary);
border: 1px solid var(--border-color);
backdrop-filter: blur(10px);
}
.btn-secondary:hover {
background: rgba(15, 23, 42, 0.8);
border-color: var(--accent-primary);
transform: translateY(-3px);
box-shadow: 0 10px 40px -10px rgba(59, 130, 246, 0.3);
}
.demo-section {
padding: 4rem 0;
animation: fadeInUp 0.8s ease 0.4s both;
}
.demo-container {
background: var(--bg-card);
border-radius: 24px;
padding: 3rem;
border: 1px solid var(--border-color);
backdrop-filter: blur(20px);
box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.5),
0 0 0 1px rgba(255, 255, 255, 0.05) inset;
position: relative;
overflow: hidden;
}
.demo-container::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 1px;
background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
}
.demo-image {
width: 100%;
border-radius: 16px;
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
border: 1px solid rgba(255, 255, 255, 0.1);
}
.features {
padding: 8rem 0;
}
.section-header {
text-align: center;
margin-bottom: 5rem;
}
.section-title {
font-size: 3rem;
font-weight: 800;
margin-bottom: 1rem;
background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
letter-spacing: -0.02em;
}
.section-subtitle {
font-size: 1.25rem;
color: var(--text-secondary);
max-width: 600px;
margin: 0 auto;
}
.features-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
gap: 2rem;
}
.feature-card {
background: var(--bg-card);
padding: 2.5rem;
border-radius: 20px;
border: 1px solid var(--border-color);
backdrop-filter: blur(20px);
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
position: relative;
overflow: hidden;
}
.feature-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 2px;
background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
transform: scaleX(0);
transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.feature-card:hover::before {
transform: scaleX(1);
}
.feature-card:hover {
transform: translateY(-8px);
border-color: rgba(59, 130, 246, 0.5);
box-shadow: 0 20px 60px -20px var(--glow-primary),
0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}
.feature-icon {
width: 60px;
height: 60px;
background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
border-radius: 16px;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.75rem;
margin-bottom: 1.5rem;
box-shadow: 0 10px 30px -10px var(--glow-primary);
}
.feature-card h3 {
font-size: 1.5rem;
margin-bottom: 1rem;
font-weight: 700;
color: var(--text-primary);
}
.feature-card p {
color: var(--text-secondary);
line-height: 1.7;
font-size: 1.05rem;
}
.install-section {
padding: 6rem 0;
background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
border-top: 1px solid var(--border-color);
border-bottom: 1px solid var(--border-color);
}
.install-content {
max-width: 800px;
margin: 0 auto;
text-align: center;
}
.code-block {
background: rgba(0, 0, 0, 0.4);
border: 1px solid var(--border-color);
border-radius: 16px;
padding: 2rem;
margin: 2rem 0;
font-family: 'Monaco', 'Menlo', 'Courier New', monospace;
font-size: 1.1rem;
color: var(--accent-tertiary);
text-align: left;
position: relative;
backdrop-filter: blur(10px);
box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
}
.code-block::before {
content: '$';
color: var(--accent-primary);
margin-right: 1rem;
font-weight: 700;
}
.install-steps {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
margin-top: 4rem;
}
.install-step {
text-align: center;
}
.step-number {
width: 50px;
height: 50px;
background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-weight: 800;
font-size: 1.25rem;
margin: 0 auto 1.5rem;
box-shadow: 0 10px 30px -10px var(--glow-primary);
}
.install-step h3 {
font-size: 1.25rem;
margin-bottom: 0.75rem;
font-weight: 700;
}
.install-step p {
color: var(--text-secondary);
line-height: 1.6;
}
.use-cases {
padding: 8rem 0;
}
.use-case-grid {
display: grid;
gap: 2rem;
margin-top: 4rem;
}
.use-case {
background: var(--bg-card);
border-radius: 20px;
padding: 3rem;
border: 1px solid var(--border-color);
backdrop-filter: blur(20px);
display: grid;
grid-template-columns: auto 1fr;
gap: 2rem;
align-items: start;
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.use-case:hover {
transform: translateX(10px);
border-color: rgba(59, 130, 246, 0.5);
box-shadow: 0 20px 60px -20px var(--glow-primary);
}
.use-case-icon {
font-size: 2.5rem;
width: 70px;
height: 70px;
background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
border-radius: 16px;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
box-shadow: 0 10px 30px -10px var(--glow-primary);
}
.use-case-content h3 {
font-size: 1.75rem;
margin-bottom: 1rem;
font-weight: 700;
}
.use-case-content p {
color: var(--text-secondary);
line-height: 1.7;
font-size: 1.1rem;
}
footer {
padding: 4rem 0 2rem;
border-top: 1px solid var(--border-color);
text-align: center;
}
.footer-content {
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
gap: 2rem;
margin-bottom: 2rem;
}
.footer-links {
display: flex;
gap: 2rem;
flex-wrap: wrap;
}
.footer-links a {
color: var(--text-secondary);
text-decoration: none;
transition: color 0.3s;
font-weight: 500;
}
.footer-links a:hover {
color: var(--accent-primary);
}
.footer-bottom {
color: var(--text-muted);
font-size: 0.95rem;
}
@media (max-width: 768px) {
.hero h1 {
font-size: 2.5rem;
}
.hero-subtitle {
font-size: 1.125rem;
}
.section-title {
font-size: 2rem;
}
.features-grid {
grid-template-columns: 1fr;
}
.use-case {
grid-template-columns: 1fr;
text-align: center;
}
.use-case-icon {
margin: 0 auto;
}
.footer-content {
flex-direction: column;
text-align: center;
}
}
</style>
</head>
<body>
<div class="particle" style="top: 10%; left: 10%; animation-delay: 0s;"></div>
<div class="particle" style="top: 20%; left: 80%; animation-delay: 2s;"></div>
<div class="particle" style="top: 60%; left: 20%; animation-delay: 4s;"></div>
<div class="particle" style="top: 80%; left: 70%; animation-delay: 6s;"></div>
<div class="particle" style="top: 40%; left: 90%; animation-delay: 8s;"></div>
<header>
<div class="container">
<div class="header-content">
<div class="logo">⏰ Git Time Machine</div>
<nav class="header-links">
<a href="#features">Features</a>
<a href="#install">Install</a>
<a href="https://github.com/dinakars777/git-time-machine" target="_blank">GitHub</a>
<a href="https://crates.io/crates/git-time-machine" target="_blank">Crates.io</a>
</nav>
</div>
</div>
</header>
<main>
<section class="hero">
<div class="container">
<div class="hero-badge">✨ Visual Git Recovery Made Simple</div>
<h1>Travel Through<br>Your Git History</h1>
<p class="hero-subtitle">
A beautiful terminal interface for browsing git reflog. Navigate your repository's timeline,
preview changes, and restore lost commits with confidence.
</p>
<div class="cta-buttons">
<a href="#install" class="btn btn-primary">
<span>Get Started</span>
<span>→</span>
</a>
<a href="https://github.com/dinakars777/git-time-machine" class="btn btn-secondary">
<span>View on GitHub</span>
<span>↗</span>
</a>
</div>
</div>
</section>
<section class="demo-section">
<div class="container">
<div class="demo-container">
<img src="demo.gif" alt="Git Time Machine Demo" class="demo-image">
</div>
</div>
</section>
<section id="features" class="features">
<div class="container">
<div class="section-header">
<h2 class="section-title">Powerful Yet Simple</h2>
<p class="section-subtitle">
Everything you need to navigate and recover your Git history,
wrapped in an intuitive interface.
</p>
</div>
<div class="features-grid">
<div class="feature-card">
<div class="feature-icon">⌨️</div>
<h3>Keyboard-Driven</h3>
<p>Navigate with arrow keys, vim bindings (j/k), or Home/End. Fast and efficient workflow for developers who love the terminal.</p>
</div>
<div class="feature-card">
<div class="feature-icon">👁️</div>
<h3>Live Diff Preview</h3>
<p>Press Space to see git diff --stat before restoring. Know exactly what you're getting back with detailed change previews.</p>
</div>
<div class="feature-card">
<div class="feature-icon">🛡️</div>
<h3>Safety First</h3>
<p>Confirmation dialogs for destructive operations. Uncommitted changes warnings. Never lose work by accident.</p>
</div>
<div class="feature-card">
<div class="feature-icon">🎨</div>
<h3>Beautiful UI</h3>
<p>Clean, modern terminal interface with syntax highlighting. Makes reflog browsing actually enjoyable.</p>
</div>
<div class="feature-card">
<div class="feature-icon">⚡</div>
<h3>Lightning Fast</h3>
<p>Built in Rust for maximum performance. Instant startup, smooth scrolling, responsive interactions.</p>
</div>
<div class="feature-card">
<div class="feature-icon">🔍</div>
<h3>Smart Filtering</h3>
<p>View all history or just recent entries. Scroll through diffs with Shift+arrows. Find what you need quickly.</p>
</div>
</div>
</div>
</section>
<section id="install" class="install-section">
<div class="container">
<div class="install-content">
<h2 class="section-title">Get Started in Seconds</h2>
<p class="section-subtitle">Install with Cargo and start recovering lost commits immediately</p>
<div class="code-block">cargo install git-time-machine</div>
<div class="install-steps">
<div class="install-step">
<div class="step-number">1</div>
<h3>Install</h3>
<p>Run the cargo install command in your terminal</p>
</div>
<div class="install-step">
<div class="step-number">2</div>
<h3>Navigate</h3>
<p>cd into any Git repository</p>
</div>
<div class="install-step">
<div class="step-number">3</div>
<h3>Launch</h3>
<p>Run git-time-machine and start exploring</p>
</div>
</div>
</div>
</div>
</section>
<section class="use-cases">
<div class="container">
<div class="section-header">
<h2 class="section-title">When You Need It Most</h2>
<p class="section-subtitle">
Real scenarios where git-time-machine saves the day
</p>
</div>
<div class="use-case-grid">
<div class="use-case">
<div class="use-case-icon">💥</div>
<div class="use-case-content">
<h3>Recover from Bad Rebase</h3>
<p>Rebased and lost commits? Browse your reflog visually, find the state before the rebase, and restore with one keypress. No cryptic git commands needed.</p>
</div>
</div>
<div class="use-case">
<div class="use-case-icon">🔙</div>
<div class="use-case-content">
<h3>Undo Accidental Reset</h3>
<p>Did git reset --hard and panicked? Time machine shows all your previous states. Preview the diff, confirm it's the right one, and restore your work.</p>
</div>
</div>
<div class="use-case">
<div class="use-case-icon">🌿</div>
<div class="use-case-content">
<h3>Find Deleted Branches</h3>
<p>Accidentally deleted a branch? Your commits are still in reflog. Navigate through history, find the branch tip, and recover everything.</p>
</div>
</div>
<div class="use-case">
<div class="use-case-icon">🕵️</div>
<div class="use-case-content">
<h3>Investigate History</h3>
<p>Curious what happened in your repo? Browse through all operations, see when branches were created, when merges happened, and understand your project's evolution.</p>
</div>
</div>
</div>
</div>
</section>
</main>
<footer>
<div class="container">
<div class="footer-content">
<div class="logo">⏰ Git Time Machine</div>
<div class="footer-links">
<a href="https://github.com/dinakars777/git-time-machine">GitHub</a>
<a href="https://crates.io/crates/git-time-machine">Crates.io</a>
<a href="https://github.com/dinakars777/git-time-machine/blob/main/CHANGELOG.md">Changelog</a>
<a href="https://github.com/dinakars777/git-time-machine/issues">Issues</a>
</div>
</div>
<div class="footer-bottom">
<p>Built with ❤️ by <a href="https://github.com/dinakars777" style="color: var(--accent-primary);">dinakars777</a> • Open Source MIT License</p>
</div>
</div>
</footer>
</body>
</html>