FlowGenius is an intelligent desktop file manager that uses AI to automatically organize, classify, and manage your files. Built with Electron, LangGraph, and N8N, it provides sophisticated automation and intelligence that traditional file managers can't match.
- Smart Classification: Automatically categorizes files into types (document, code, media, personal, work, etc.)
- Content Understanding: Analyzes PDF, Word, text, and code files to understand their content
- Intelligent Tagging: Generates relevant tags for easy searching and organization
- Confidence Scoring: Provides confidence levels for all AI decisions
- Real-time Monitoring: Watches directories for file changes in the background
- Auto-organization: Automatically moves files to appropriate folders based on AI analysis
- LangGraph Integration: Uses state-of-the-art AI workflow orchestration
- N8N Compatibility: Supports visual workflow automation
- Intelligent Organization: Suggests optimal folder structures based on file content
- Duplicate Detection: Identifies and manages duplicate files
- Backup & Recovery: Safely backs up file organization changes
- Batch Operations: Process multiple files simultaneously
- Intuitive Design: Clean, modern UI built with React
- Real-time Updates: Live monitoring and progress indicators
- Multi-tab Interface: Browse files, view AI analysis, monitor activity, and configure settings
- Responsive Layout: Adapts to different screen sizes and preferences
- Node.js (v16 or higher)
- npm or yarn
- OpenAI API Key (for AI analysis)
-
Clone the repository
git clone https://github.com/yourusername/flowgenius.git cd flowgenius -
Install dependencies
npm install
-
Configure API Keys
cp config.example.json config.json # Edit config.json and add your OpenAI API key -
Start the application
npm start
- Get an OpenAI API key from OpenAI Dashboard
- Copy
config.example.jsontoconfig.json - Add your API key to the configuration file:
{
"api": {
"openai": {
"apiKey": "your_actual_api_key_here",
"model": "gpt-4",
"temperature": 0.1
}
}
}Configure which directories to monitor and organization rules:
{
"fileMonitoring": {
"watchDepth": 2,
"rateLimitDelay": 2000,
"ignoredExtensions": [".tmp", ".temp", ".log"],
"ignoredDirectories": ["node_modules", ".git"]
},
"autoOrganization": {
"enabled": true,
"confidenceThreshold": 0.7,
"createDirectories": true,
"backupBeforeMove": true
}
}- Navigate Directories: Click on folders to browse your file system
- Select Files: Click on files to select them for analysis or organization
- Analyze Files: Click "🧠 Analyze Selected" to get AI insights about a file
- Auto-organize: Click "✨ Auto Organize" to automatically organize selected files
- View Analysis Results: See detailed AI analysis of files including:
- Classification (document, code, media, etc.)
- Confidence score (how certain the AI is)
- Generated tags for organization
- Suggested organization location
- Organization Suggestions: Review recent AI suggestions for file organization
- Real-time Status: Monitor file processing queue and activity
- Activity Feed: See recent file analysis and organization actions
- Performance Metrics: Track processed files and system performance
- AI Configuration: Adjust confidence thresholds and enable/disable auto-organization
- API Settings: Configure OpenAI API key and model settings
- UI Preferences: Customize appearance and behavior
FlowGenius uses LangGraph to create sophisticated AI workflows:
graph TD
A[File Added] --> B[Extract Metadata]
B --> C[Extract Content]
C --> D[AI Classification]
D --> E[Generate Tags]
E --> F[Suggest Organization]
F --> G[Execute Action]
- Metadata Extraction: File size, type, creation date, etc.
- Content Analysis: Extract text from PDFs, Word docs, code files
- AI Classification: Use GPT-4 to categorize and understand content
- Tag Generation: Create relevant tags for search and organization
- Organization Suggestion: Recommend optimal folder structure
- Action Execution: Automatically organize or present suggestions
FlowGenius supports N8N for advanced workflow automation:
- Webhook Triggers: Automatically trigger workflows when files are added
- Custom Actions: Create custom file processing workflows
- External Integrations: Connect to cloud storage, databases, APIs
- Visual Workflow Editor: Design complex automation visually
flowgenius/
├── src/
│ ├── main.js # Electron main process
│ │ └── classificationService.js # LangGraph AI workflows
│ ├── services/
│ │ └── fileMonitor.js # File system monitoring
│ ├── workflows/
│ │ └── orchestrator.js # N8N workflow integration
│ └── renderer/
│ ├── index.html # UI entry point
│ └── app.js # React application
├── package.json # Dependencies and scripts
├── webpack.config.js # Build configuration
└── config.example.json # Configuration template
# Development mode
npm start
# Build for production
npm run build
# Create distributable
npm run build-electron- document: PDFs, Word docs, important text files
- code: Source code, scripts, configuration files
- media: Images, videos, audio files
- archive: Zip files, compressed archives
- temporary: Cache files, logs, temporary files
- personal: Personal documents, photos, letters
- work: Work-related documents, presentations
- financial: Invoices, receipts, financial documents
- educational: Study materials, research papers
- misc: Everything else
- Local Processing: All AI analysis runs locally through API calls
- No Data Storage: FlowGenius doesn't store your file contents
- Secure API Usage: API keys are stored locally and never transmitted
- File Backup: Original file locations are backed up before any moves
- Reversible Actions: All organization actions can be undone
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- Email: [email protected]
- Enhanced AI Models: Support for local AI models (Ollama, etc.)
- Cloud Integration: Sync with Google Drive, Dropbox, OneDrive
- Advanced Rules: Custom organization rules and filters
- Mobile Companion: Mobile app for remote file management
- Team Features: Shared organization rules and collaborative workflows
- Plugin System: Extensible architecture for third-party plugins
- LangGraph - AI workflow orchestration
- N8N - Workflow automation platform
- Electron - Desktop app framework
- OpenAI - AI language models
Built with ❤️ for productivity enthusiasts who believe files should organize themselves.