MimicFlow: The Cinematic Preview for AI Coding
Don't just accept the diff. Watch the code be written.
▶ Watch Demo on YouTube

🎯 The Problem: The Trust Gap
In the era of AI coding agents like Cursor, Cline, and Roo Code, developers often face a trust crisis. Fast-apply edits happen instantly, leaving you staring at static diffs, trying to reverse-engineer the AI's logic.
- Large edits feel opaque and risky
- Reviewing diffs is mentally exhausting
- You miss the reasoning behind each change
- It's hard to learn from the AI's patterns
💡 The Solution: MimicFlow
MimicFlow bridges this gap by transforming static code changes into a cinematic, human-like replay. It acts as a "Digital Mirror," creating a safe sandbox where you can watch a Ghost Cursor type out the changes step-by-step before you commit.
🌟 Why Developers Love MimicFlow
- 👁️ Observability: Move beyond black-box edits. See how the code was constructed, not just the final result.
- 🧠 Cognitive Ease: Reduce the mental load of reviewing massive diffs. Watching a replay is natural and intuitive.
- 🛡️ Safety First: Preview changes in a read-only sandbox. Your source code remains untouched until you click "Keep."
- 🎓 Learn from AI: Junior developers can watch the AI "pair program" with them, observing patterns and refactoring techniques in real-time.
✨ Key Features (Phase 1 Complete)
- 🕵️♂️ Auto-Capture Watcher: Records every save automatically.
- ⏳ Time Machine: Mines Git history to generate instant previews for existing projects.
- 🎬 Cinematic Player: Real-time playback with Ghost Cursor & Typing effects.
- 📺 Seamless Playlist: Plays multi-file edits like a continuous movie.
- 🛡️ Git Isolation: Zero repository pollution (
.mimicflow is git-ignored).
- 🗂️ Smart Dashboard: Organize by Date, Folder, Commit, or Branch.
- 🤝 Team Sharing: Curated export to shared team folders.
- 🔇 Noise Control: Fine-grained
.mimicignore filtering with auto-reload on edit and built-in defaults.
- 🧹 History Cleanup: Delete entries even when the ghost file was already removed (local + shared stores).
🚀 Installation & Usage
- Install MimicFlow from the VS Code Marketplace.
- Open the MimicFlow sidebar (Activity Bar icon) or run:
MimicFlow: Open Dashboard.
- Work normally — MimicFlow auto-syncs and captures history.
- Browse History and play back changes in the cinematic player.
🔇 Controlling What Gets Captured (.mimicignore)
MimicFlow automatically ignores common files like node_modules, build outputs, and binary files. To customize what gets ignored, create a .mimicignore file in your workspace root:
# Ignore specific files
secrets.json
config.local.js
# Ignore patterns
*.log
*.tmp
build/**
dist/**
# Ignore by extension
*.pdf
*.zip
Default ignores (always applied):
.git/, .mimicflow/, node_modules/, dist/, out/, build/
- Lock files:
package-lock.json, yarn.lock, pnpm-lock.yaml
- Binary files: images, videos, archives, executables
Save the file whenever you change it and MimicFlow automatically reloads the rules, so updates take effect immediately. While .mimicignore is open or being edited it is also excluded from capture so the file doesn’t produce history entries.
If .env or other files are still appearing after you add them to .mimicignore, open the Output panel, select MimicFlow, and look for ✅ Ignoring file logs to confirm the relative path and pattern match.
🗑️ Managing History
Hover over any history card in the dashboard to reveal a trash icon for deletion. Deleted history is permanently removed and cannot be recovered.
📝 Changelog
All notable changes to the "MimicFlow" extension will be documented in this file.
[1.0.0] - 2024-01-06
- 🎉 Initial Release: MimicFlow is live!
- 🎬 Cinematic Player: Watch code history with ghost cursor animations.
- 🕵️♂️ Auto-Capture: Automatically records file saves as history.
- ⏳ Git Mining: Generates history from past commits instantly.
- 📺 Playlist Mode: Seamless playback for multi-file changes.
💬 Feedback & Support
MimicFlow is an open-source project built with ❤️.
If you find a bug or have a feature request, please open an issue on GitHub.
Enjoying MimicFlow? Please consider leaving a ⭐ rating on the VS Code Marketplace!
�️ Development
Prerequisites
- Node.js 16+ & npm
- VS Code 1.85.0+
- TypeScript knowledge (extension) & React (webview)
Setup
git clone https://github.com/DevsHero/mimicFlow.git
cd mimicFlow
npm install
Build & Watch
# Build both extension and webview once
npm run build
# Watch mode for development (two terminals recommended)
npm run watch
Run in Development
# Launch VS Code with the extension loaded
code --extensionDevelopmentPath=$PWD
Press F5 inside VS Code to attach the debugger.
Test Build
npm run package
This generates a .vsix file for local testing.
Project Structure
src/
├── extension/ # Main extension code (TypeScript)
│ ├── extension.ts
│ ├── engine/ # Animation & diff engine
│ ├── providers/ # WebView providers
│ ├── services/ # File watching, git mining, etc.
│ ├── storage/ # Ghost file persistence
│ └── utils/
├── webview/ # React frontend
│ ├── player/ # Playback UI
│ ├── dashboard/ # History & search UI
│ └── shared/ # Shared components
└── shared/ # Shared types & constants
🤝 Contributing
We welcome contributions! To get started:
- Open an Issue for bugs or feature requests.
- Fork & Clone the repo.
- Create a branch (
git checkout -b feature/your-feature).
- Commit & Push your changes.
- Open a Pull Request with a clear description.
Have questions? Reach out:
�🗺️ Roadmap
- 🎥 Video Export (Pro): Render MP4/GIF for content creators.
- 🔌 Universal Adapters: Support for other editors.
- 🎓 Educational Mode: Pause/explain code changes in real-time.
📄 License
MIT
Built with 🪞 & ❤️ by DevsHero