Friday File Sense uses Groq Cloud's Llama-3.1-8B-instant model to provide instant insights, summaries, and actionable recommendations from your files. Upload documents and get intelligent AI-powered analysis in seconds.
- π€ AI-Powered Analysis - Uses Groq's Llama-3.1-8B-instant model for intelligent file analysis
- π Multi-Format Support - PDF, CSV, TXT, DOCX, XLSX file processing
- π¨ Modern UI - Responsive design with dark mode support
- π Structured Results - Get summaries, insights, and actionable recommendations
- π Secure - API key protection and file validation
- β‘ Fast Processing - Optimized for quick analysis and response
- π₯ Export Options - Download results as PDF with one click
- π Dark Mode - Easy on the eyes with automatic theme switching
| Format | Description | Max Size |
|---|---|---|
| Text extraction and document analysis | 10MB | |
| CSV | Data analysis with insights and patterns | 10MB |
| TXT | Plain text content analysis | 10MB |
| DOCX | Microsoft Word document processing | 10MB |
| XLSX | Excel spreadsheet analysis | 10MB |
- Visit Groq Cloud Console
- Sign up or log in to your account
- Navigate to API Keys section
- Create a new API key
- Copy the API key for use in step 4
npm installEdit the .env file and replace your_groq_api_key_here with your actual Groq API key:
GROQ_API_KEY=gsk_your_actual_api_key_here
PORT=3001
NODE_ENV=development# Development mode with auto-reload
npm run dev
# Production mode
npm startOpen your browser and navigate to:
http://localhost:3001
GET /api/health
Returns server status and confirms API is running.
POST /api/analyze
Upload files for AI analysis. Supports multipart/form-data with files field.
Request: Multipart form data with files Response: JSON with analysis results for each file
- Upload Files: Drag and drop files or click to browse
- Analyze: Click "Analyze with Llama 3.1-8B" button
- Review Results: Get structured analysis with:
- Comprehensive summaries
- Key insights and patterns
- Actionable recommendations
- Potential issues or concerns
Create a .env file in the root directory:
GROQ_API_KEY=your_groq_api_key_here
PORT=3001
NODE_ENV=development- Maximum file size: 10MB per file
- Maximum files per request: 10 files
- Supported formats: PDF, CSV, TXT, DOCX, XLSX only
The application provides detailed error messages for:
- Missing API key configuration
- Unsupported file formats
- File size limits exceeded
- Network connectivity issues
- AI processing errors
FridayFileSense/
βββ index.html # Frontend application
βββ server.js # Backend Express server
βββ package.json # Dependencies and scripts
βββ .env # Environment variables
βββ .gitignore # Git ignore rules
βββ README.md # This file
βββ uploads/ # Temporary file storage (auto-created)
Frontend:
- HTML5, CSS3, JavaScript (ES6+)
- TailwindCSS for styling
- Feather Icons for UI icons
Backend:
- Node.js with Express.js
- Groq SDK for AI integration
- Multer for file uploads
- Various parsers (pdf-parse, csv-parser, mammoth, xlsx)
-
"Cannot connect to server"
- Ensure the server is running:
npm start - Check the port (default: 3001)
- Ensure the server is running:
-
"Groq API key not configured"
- Verify your
.envfile has the correct API key - Restart the server after updating
.env
- Verify your
-
"File too large"
- Files must be under 10MB
- Consider compressing large files
-
"Unsupported file type"
- Only PDF, CSV, TXT, DOCX, XLSX are supported
- Check file extension is correct
If you encounter issues:
- Check the browser console for error messages
- Review server logs in the terminal
- Verify your Groq API key is valid and has credits
- Ensure all dependencies are installed correctly
Clean, modern interface with intuitive file upload and analysis.
Easy on the eyes with full dark mode support.
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Powered by Groq Cloud and Llama-3.1-8B-instant
- Built with Express.js
- Styled with TailwindCSS
- Icons by Feather Icons
Tony Ramirez - @gruntcode - tony.ramirez@gruntcode.com
For questions or support, please open an issue.
Made with β€οΈ for smarter document analysis
