Grab any codebase as .txt in one click. GitHub, Monaco, StackBlitz, GitLabβevery dev's dream when you need it.
Google-approved Chrome extension that extracts code context from ANY development environment. Monaco editor? React sandbox? GitHub repo? One click β perfect .txt context β ready for Claude, Cursor, or any AI.
The Problem: You're testing something in StackBlitz, you need to ask Claude about it, but copying code manually is a pain.
The Solution: One click. Entire codebase β clipboard as clean .txt. Works on GitHub, Monaco editor, React playgrounds, GitLab, anywhere.
My Story: Built it for myself while testing. Needed it. Google approved it. Success. Nine downloads. Zero reviews. But it's top-notch as you'd expectβwhen you need it, you NEED it.
The Format: The .txt output is a pre-cursor to .fafβany FAF tool gobbles it up like an appetizer. It's the universal handoff format for AI context.
Or build from source:
git clone https://github.com/Wolfe-Jam/faf-chrome-extension.git
cd faf-chrome-extension
npm install && npm run build
Without FAF:
You: "Help with this React component"
AI: "Which component? Show me the code"
You: [manually copies files one by one]
With FAF:
You: [pastes FAF .txt] "Help with this React component"
AI: "I see you're using React 18 with Vite, here's what I'd change in Button.tsx..."
FAF works intelligently across all major development environments:
| Platform | Support Level | Features |
|---|---|---|
| GitHub | π’ Full | File trees, README detection, dependency analysis |
| Monaco Editor | π’ Full | Multi-file extraction, language detection |
| CodeSandbox | π’ Full | Project structure, live file content |
| StackBlitz | π’ Full | WebContainer integration, real-time analysis |
| CodeMirror | π‘ Partial | Code block extraction, basic structure |
| VS Code Web | π‘ Partial | File content, workspace detection |
| Generic Sites | π‘ Basic | Code block identification, language detection |
FAF generates structured JSON files with comprehensive project context:
{
"version": "1.0.0",
"generated": "2025-01-23T10:30:00Z",
"score": 87,
"context": {
"platform": "github",
"structure": {
"files": [...],
"directories": [...],
"entryPoints": ["index.js", "package.json"]
},
"dependencies": {
"runtime": {"language": "JavaScript", "packageManager": "npm"},
"packages": [...]
},
"environment": {
"variables": [...],
"configFiles": [...]
}
}
}
FAF is built with modern web technologies for maximum performance:
βββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββββ
β Popup UI β β Content Script β β Service Worker β
β (Svelte 5) βββββΊβ (Platform βββββΊβ (Background β
β β β Detection) β β Telemetry) β
βββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββββ
β β β
βββββββββββββββββββββββββΌββββββββββββββββββββββββ
βΌ
βββββββββββββββββββββββββββ
β FAF Engine Core β
β β’ Platform Detection β
β β’ Context Extraction β
β β’ Quality Scoring β
β β’ Error Recovery β
βββββββββββββββββββββββββββ
# Clone the repository
git clone https://github.com/Wolfe-Jam/faf-production.git
cd faf-production
# Install dependencies
npm install
# Start development mode
npm run dev
# Build for production
npm run build
# Run tests
npm test
# Lint and format
npm run lint
npm run format
faf-production/
βββ src/
β βββ core/ # Core FAF engine and algorithms
β βββ adapters/ # Platform-specific adapters
β βββ ui/ # Popup and content script UI
β βββ background/ # Service worker and background tasks
βββ public/ # Extension manifest and assets
βββ tests/ # Test suites
βββ dist/ # Built extension files
We welcome contributions! Please see our Contributing Guide for details.
git checkout -b feature/amazing-featurenpm testgit commit -m 'Add amazing feature'git push origin feature/amazing-featureFAF is engineered for speed:
This project is licensed under the MIT License - see the LICENSE file for details.
Install Extension β’ View Docs β’ Join Community
Made with β‘ by developers, for developers.