A comprehensive AI-powered Smart Assistant with secure key management, voice interaction, calendar integration, cybersecurity monitoring, and blueprint analysis capabilities.
- AI-Powered Conversations - Natural language processing with GPT-4, Claude, and Gemini
- Voice Interaction - Text-to-speech, speech-to-text, phone calls, and SMS
- Calendar & Scheduling - Google Calendar and Microsoft Outlook integration
- Task Management - Intelligent schedule organization
- Cybersecurity Protection - Real-time threat monitoring and file scanning
- Blueprint Creation & Analysis - CAD drawing capabilities and technical diagram generation
- Universal Knowledge Base - AI-powered search and information retrieval
- Secure Key Management - Environment-based configuration with validation
- Setup Wizard - Interactive key validation with color-coded status
- Encrypted Storage - Safe handling of sensitive credentials
- Git-Safe - Automatic prevention of secret commits
# Clone the repository
git clone https://github.com/al7566/SmartAssistant2.git
cd SmartAssistant2
# Install dependencies
npm install# Copy the environment template
cp .env.example .env
# Edit .env and add your API keys
nano .env # or use your preferred editorRun the interactive setup wizard to validate your configuration:
npm run check-keysThe wizard will:
- ✅ Check which API keys are configured
- ✅ Validate key formats
- ✅ Test connections to services
- ✅ Show which features are available
npm startSmartAssistant2/
├── .env.example # Template for environment variables
├── .env # Your actual keys (git-ignored)
├── .gitignore # Prevents committing secrets
├── package.json # Dependencies and scripts
├── README.md # This file
├── SETUP_GUIDE.md # Detailed API key setup instructions
├── config/
│ ├── keys.js # Secure key loader
│ └── validator.js # Key validation and testing
├── scripts/
│ └── check-keys.js # Setup wizard/key checker
├── src/
│ ├── index.js # Main application entry
│ ├── ai/ # AI integration modules
│ ├── voice/ # Voice interaction
│ ├── calendar/ # Calendar integration
│ ├── security/ # Cybersecurity features
│ └── blueprints/ # Blueprint handling
└── docs/
└── API_SERVICES.md # Detailed API documentation
- ✅ OpenAI API - AI conversations and content generation
- ✅ ElevenLabs - Text-to-speech
- ✅ Deepgram - Speech-to-text
- ✅ MongoDB Atlas - Database storage
- 🟡 Twilio - Phone calls and SMS
- 🟡 Google Calendar API - Calendar management
- 🟡 Google Cloud Vision - Blueprint analysis
- 🟡 VirusTotal - Malware scanning
- 🟡 Perplexity AI - Real-time search
- ⚪ Anthropic Claude - Alternative AI model
- ⚪ Google Gemini - Multimodal AI
- ⚪ Pinecone - Vector database
- ⚪ Wolfram Alpha - Computational knowledge
- ⚪ AWS S3 - File storage
See SETUP_GUIDE.md for detailed instructions on obtaining each API key.
- SETUP_GUIDE.md - Step-by-step guide for obtaining API keys
- docs/API_SERVICES.md - Detailed API service documentation
# Check API key configuration
npm run check-keys
# Start the Smart Assistant
npm start
# Development mode (same as start)
npm run dev
# Run setup wizard
npm run setup- Never commit
.env- It's already in.gitignore - Rotate keys regularly - Change API keys periodically
- Use environment-specific keys - Different keys for dev/prod
- Monitor API usage - Set up billing alerts
- Keep dependencies updated - Run
npm updateregularly
- Natural language conversations
- Text analysis and summarization
- Content generation
- Multiple AI model support (GPT-4, Claude, Gemini)
- Text-to-speech with natural voices
- Speech-to-text transcription
- Phone call automation
- SMS messaging
- Event creation and management
- Schedule optimization
- Availability checking
- Multi-calendar support
- File malware scanning
- URL threat analysis
- Password breach checking
- Real-time threat monitoring
- Technical drawing analysis
- OCR for blueprints
- Diagram generation
- Blueprint comparison
Contributions are welcome! Please ensure:
- No API keys are committed
- Code follows existing patterns
- Documentation is updated
- Tests pass (when implemented)
MIT License - See LICENSE file for details
For issues or questions:
- Check the SETUP_GUIDE.md
- Review docs/API_SERVICES.md
- Open an issue on GitHub
Built with ❤️ for intelligent automation