A comprehensive collection of AI-powered automations for productivity, development, and career enhancement.
- Overview
- Quick Start
- Automation Categories
- Installation
- Configuration
- Usage
- API Reference
- Output Formats
- Troubleshooting
- Contributing
- License
This automation suite leverages AI and intelligent scripting to streamline your daily workflow, enhance coding productivity, and accelerate career development. All automations are fully functional and ready to use.
- π΅ Smart Music Control: Automatically switches Spotify music based on work context
- π Intelligent Tab Management: Declutters and organizes Chrome tabs intelligently
- π» Code Health Analysis: Analyzes code with learning-focused explanations
- π Resume Generation: Builds professional resumes from GitHub projects
- π‘ App Idea Generation: Creates innovative app ideas with market research
- π Workflow Automation: Manages complete work sessions with integrated actions
- Runtime: Node.js
- Language: JavaScript
- Integrations: Spotify (AppleScript), Chrome (AppleScript), GitHub API
- Output Formats: Markdown, HTML, JSON, PDF
- Platform: macOS (with AppleScript integration)
- macOS (for AppleScript integrations)
- Node.js (v14 or higher)
- Spotify Desktop App
- Google Chrome
- Git
# Clone the repository
git clone <your-repo-url>
cd automations-suite
# Install dependencies (if any)
npm install
# Run setup
node setup-automations.js
# Check system status
node automation-controller.js status
# Start with music automation
node automation-controller.js "Start smart focus music"
# Clean up your tabs
node automation-controller.js "Declutter my tabs"
# Analyze your code
node automation-controller.js "Analyze my code"
Smart Focus Music
- Automatically detects work context from Chrome tabs
- Switches Spotify playlists based on activity
- Supports coding, focus, meetings, creative contexts
- Volume control and playlist management
Meeting Music Control
- Automatically pauses music during video calls
- Resumes music after meetings end
- Supports Zoom, Meet, Teams, WebEx
Tab Declutter
- Intelligently closes duplicate and old tabs
- Groups related tabs by category
- Saves important sessions for later
- Learns from usage patterns
Research Assistant
- Auto-opens relevant documentation
- Context-aware tab management
- Project-specific resource organization
Code Health Checker
- Analyzes code patterns and best practices
- Provides learning-focused explanations
- Generates improvement suggestions
- Tracks progress over time
Documentation Generator
- Auto-generates project documentation
- Includes learning notes and explanations
- Updates based on code changes
Resume Builder & Updater
- Extracts skills from GitHub repositories
- Generates professional resume formats
- Multiple output formats (Markdown, HTML, PDF)
- Auto-updates with new projects
Portfolio Generator
- Creates portfolio content from projects
- Generates case studies and descriptions
- Extracts technical achievements
App Idea Generator
- Generates innovative app concepts
- Includes market research and validation
- Calculates success probability
- Provides detailed business analysis
Market Research Assistant
- Analyzes market trends and opportunities
- Competitor analysis and gap identification
- User persona generation
Work Session Manager
- Handles complete work session lifecycle
- Integrates all other automations
- Tracks productivity metrics
- Generates session summaries
- Operating System: macOS 10.14 or higher
- Node.js: Version 14 or higher
- Applications: Spotify Desktop, Google Chrome
- Permissions: Accessibility permissions for AppleScript
-
Clone Repository
git clone <repository-url> cd automations-suite
-
Verify Node.js
node --version # Should be v14+
-
Run Setup Script
node setup-automations.js
-
Grant Permissions
- System Preferences β Security & Privacy β Privacy
- Add Terminal/VS Code to Accessibility permissions
- Allow Spotify and Chrome automation
-
Test Installation
node automation-controller.js status
Edit configs/master-config.json
:
{
"user_profile": {
"name": "your-username",
"email": "your-email@domain.com",
"organization": "your-org",
"current_project": "your-project",
"primary_languages": ["JavaScript", "Python"],
"frameworks": ["React", "Node.js"]
},
"music_automations": {
"smart_focus_music": { "enabled": true },
"meeting_music_control": { "enabled": true }
},
"web_automations": {
"tab_declutter": { "enabled": true },
"research_assistant": { "enabled": true }
}
}
Edit configs/music-contexts.json
:
{
"coding": {
"playlist_uri": "spotify:playlist:YOUR_CODING_PLAYLIST_ID",
"volume": 60,
"keywords": ["github", "vscode", "code"],
"description": "Upbeat music for coding"
},
"focus": {
"playlist_uri": "spotify:playlist:YOUR_FOCUS_PLAYLIST_ID",
"volume": 40,
"keywords": ["docs", "reading", "learning"],
"description": "Ambient music for focus"
}
}
Create .env
file:
GITHUB_USERNAME=your-username
GITHUB_TOKEN=your-github-token
SPOTIFY_CLIENT_ID=your-spotify-client-id
SPOTIFY_CLIENT_SECRET=your-spotify-client-secret
LINKEDIN_PROFILE=https://linkedin.com/in/your-profile
PROJECT_ROOT=/path/to/automations-suite
LOG_LEVEL=info
The automation controller understands natural language:
# Music commands
"Start smart focus music"
"Switch to coding music"
"Stop smart music"
# Web commands
"Declutter my tabs"
"Group my tabs"
"Save current session"
# Development commands
"Analyze my code"
"Generate project docs"
# Career commands
"Build my resume"
"Generate portfolio"
# Innovation commands
"Generate app ideas"
"Research market for [idea]"
# Workflow commands
"Start work session"
"End work session"
"Show session status"
# System commands
node automation-controller.js status
node automation-controller.js help
node automation-controller.js interactive
# Individual automation commands
node music/smart-music-controller.js start
node web/tab-manager.js declutter
node development/code-analyzer.js analyze
node career/resume-builder.js build
node innovation/app-idea-generator.js generate 5
node workflows/work-session-manager.js start
node automation-controller.js interactive
This starts an interactive session where you can type commands naturally:
automation> Start smart focus music
automation> Declutter my tabs
automation> Generate app ideas
automation> exit
Main controller class for all automations.
executeCommand(command, params)
- Execute automation commandshowSystemStatus()
- Display status of all automationsrunInteractiveMode()
- Start interactive command mode
Usage
const AutomationController = require('./automation-controller');
const controller = new AutomationController();
// Execute command
await controller.executeCommand('Start smart focus music');
// Show status
await controller.showSystemStatus();
Smart focus music automation.
Methods
startSmartMusic()
- Start automatic music switchingstopSmartMusic()
- Stop music automationmanualSwitch(context)
- Manually switch to contextshowStatus()
- Display current status
Usage
const MusicController = require('./music/smart-music-controller');
const controller = new MusicController();
await controller.startSmartMusic();
await controller.manualSwitch('coding');
Chrome tab management automation.
Methods
getChromeTabs()
- Get all open Chrome tabsdeclutterTabs(mode)
- Clean up tabs intelligentlygroupTabs()
- Group tabs by categorysaveSession(tabs, name)
- Save current tab session
Usage
const TabManager = require('./web/tab-manager');
const manager = new TabManager();
const tabs = await manager.getChromeTabs();
await manager.declutterTabs('standard');
Code health analysis with learning explanations.
Methods
analyzeProject(path)
- Analyze project code healthgenerateDocumentation(path)
- Generate project docsscanFiles(path)
- Scan project files
Usage
const CodeAnalyzer = require('./development/code-analyzer');
const analyzer = new CodeAnalyzer();
const analysis = await analyzer.analyzeProject('.');
await analyzer.generateDocumentation('.');
Professional resume generation from GitHub.
Methods
analyzeGitHubProfile()
- Analyze GitHub profilegenerateResume(githubData)
- Generate resume datagenerateResumeFiles(resumeData)
- Create resume filesgeneratePortfolioContent(githubData)
- Create portfolio
Usage
const ResumeBuilder = require('./career/resume-builder');
const builder = new ResumeBuilder();
const githubData = await builder.analyzeGitHubProfile();
const resumeData = builder.generateResume(githubData);
await builder.generateResumeFiles(resumeData);
Innovative app idea generation with market research.
Methods
generateAppIdeas(count, category)
- Generate app ideasanalyzeMarketPotential(ideas)
- Analyze market potentialvalidateIdea(ideaId, data)
- Validate app idea
Usage
const AppIdeaGenerator = require('./innovation/app-idea-generator');
const generator = new AppIdeaGenerator();
const ideas = await generator.generateAppIdeas(5);
const analyzed = await generator.analyzeMarketPotential(ideas);
Complete work session automation.
Methods
startWorkSession(type)
- Start work sessionendWorkSession(sessionId)
- End work sessionshowSessionStatus()
- Display session statusgetSessionHistory(days)
- Get session history
Usage
const WorkSessionManager = require('./workflows/work-session-manager');
const manager = new WorkSessionManager();
const session = await manager.startWorkSession('focus');
await manager.endWorkSession(session.id);
Markdown Format (resume_YYYY-MM-DD.md
)
# John Doe
**john@example.com** | **San Francisco, CA** | **+1 (555) 123-4567**
## Professional Summary
Experienced developer with expertise in...
## Experience
### Software Developer - Company Name
*San Francisco, CA | 2020 - Present*
β’ Developed web applications using React and Node.js
HTML Format (resume_YYYY-MM-DD.html
)
- Professional styling with CSS
- Responsive design
- Print-friendly layout
JSON Format (resume_YYYY-MM-DD.json
)
{
"personal": {
"name": "John Doe",
"email": "john@example.com"
},
"experience": [...],
"projects": [...],
"skills": {...}
}
Individual Idea Report (idea_[id]_YYYY-MM-DD.md
)
# Smart Learning Assistant
**Category:** ai_ml
**Success Probability:** 75%
**Time to Market:** 6-12 months
## Description
AI-powered personalized learning platform...
## Market Analysis
- **Competition Level:** Medium
- **Market Readiness:** High
- **User Demand:** High
Summary Report (app_ideas_summary_YYYY-MM-DD.md
)
- Top ideas by success probability
- Category breakdown
- Technology trends
- Recommendations
Health Report (CODE_HEALTH_REPORT.md
)
# Code Health Report
## Summary
- Files analyzed: 25
- Issues found: 8
- Learning topics: 3
## Technology Stack
- JavaScript: 15 files
- Python: 8 files
- TypeScript: 2 files
## Recommendations
- **HIGH**: Fix security vulnerabilities
- **MEDIUM**: Optimize performance issues
Session Summary (summary_[session-id].json
)
{
"session_id": "session_1234567890_abcde",
"duration": "2h 30m",
"actions_completed": 6,
"productivity_score": 85,
"recommendations": [
"Complete more start actions for better session setup"
]
}
Problem: Music doesn't switch automatically Solutions:
- Check if Spotify is running
- Verify playlist URIs in
configs/music-contexts.json
- Ensure AppleScript permissions are granted
- Test with:
node music/smart-music-controller.js status
Problem: Chrome tabs not detected Solutions:
- Ensure Chrome is running
- Check AppleScript permissions
- Verify Chrome is the default browser
- Test with:
node web/tab-manager.js analyze
Problem: File scanning fails Solutions:
- Check file permissions
- Ensure you're in a project directory
- Verify Node.js version (v14+)
- Test with:
node development/code-analyzer.js analyze .
Problem: GitHub data not found Solutions:
- Verify GitHub username in config
- Check internet connection
- Ensure GitHub profile is public
- Test with:
node career/resume-builder.js analyze
# Test individual components
node music/smart-music-controller.js status
node web/tab-manager.js analyze
node development/code-analyzer.js analyze .
node career/resume-builder.js analyze
node innovation/app-idea-generator.js generate 1
node workflows/work-session-manager.js status
# Check system status
node automation-controller.js status
# View logs
tail -f logs/automation.log
macOS Permissions Required:
- Accessibility: Terminal/VS Code needs accessibility permissions
- Automation: Allow Spotify and Chrome automation
- File Access: Grant access to Documents and Downloads folders
Grant Permissions:
- System Preferences β Security & Privacy β Privacy
- Select "Accessibility" from left sidebar
- Add Terminal, VS Code, and other apps
- Restart applications after granting permissions
Slow Execution:
- Check system resources (CPU, Memory)
- Close unnecessary applications
- Reduce number of concurrent automations
- Check network connectivity
Memory Usage:
- Monitor Node.js memory usage
- Restart automation controller periodically
- Clear temporary files regularly
-
Fork Repository
git fork <repository-url> cd automations-suite
-
Create Feature Branch
git checkout -b feature/new-automation
-
Make Changes
- Follow existing code style
- Add tests for new features
- Update documentation
-
Test Changes
node setup-automations.js node automation-controller.js status
-
Submit Pull Request
- Describe changes clearly
- Include test results
- Update documentation
- Use ES6+ JavaScript features
- Follow existing naming conventions
- Add JSDoc comments for functions
- Include error handling
- Write descriptive commit messages
# Run all tests
npm test
# Test individual modules
node music/smart-music-controller.js status
node web/tab-manager.js analyze
node development/code-analyzer.js analyze .
MIT License - Feel free to use and modify for your personal projects.
- Check Documentation: Review this README and individual module docs
- Run Debug Commands: Use troubleshooting commands above
- Check Logs: Review log files in
logs/
directory - Test Components: Run individual automation tests
When reporting issues, include:
- Operating system and version
- Node.js version
- Error messages and stack traces
- Steps to reproduce
- Expected vs actual behavior
For new features:
- Describe the use case
- Explain how it fits with existing automations
- Provide examples of desired functionality
- Consider implementation complexity
Your automation suite is ready to boost your productivity! π―
Start with node automation-controller.js "Start smart focus music"
and watch the magic happen!