Sarangsh (सारांश) is an AI-powered call summarizer that uses Claude to generate comprehensive summaries of transcripts, with a focus on earnings calls and other business communications.
- PDF transcript upload support
- Direct text input option
- Structured summaries with:
- Executive Overview
- Key Highlights
- Critical Analysis
- Forward-Looking Insights
- Action Items
- Clean, modern UI with orange gradient theme
- PDF download functionality
- Responsive design
- Secure API key management
- Edge Function for API calls
- Clone the repository:
git clone https://github.com/yourusername/sarangsh.git
cd sarangsh- Install dependencies:
npm install- Start the development server:
npm run dev- Visit the application at
http://localhost:5173 - Enter your Claude API key when prompted
- Get your API key from Anthropic Console
- The key is stored only in your browser's localStorage
- Securely passed through Edge Function
- Can be removed using the "Remove API Key" button
- Upload a PDF transcript or paste text directly
- Select the type of call/meeting
- Click "Generate Summary"
- View the structured summary
- Download the summary as PDF if needed
-
API Key Protection:
- Stored only in browser localStorage
- Never exposed in client-side code
- Passed securely through Edge Function
- Can be removed at any time
-
Edge Function Security:
- Handles API calls server-side
- Validates requests
- Manages CORS securely
- Protects API credentials
The application uses a secure architecture:
- Frontend: React + Vite
- API Handling: Edge Function
- PDF Processing: Client-side
- State Management: React hooks
- Styling: Tailwind CSS
- Animations: Framer Motion
sarangsh/
├── src/
│ ├── components/ # React components
│ │ ├── ApiKeyInput # API key management
│ │ └── Header # App header with logout
│ ├── pages/ # Page components
│ │ ├── Home # Main upload page
│ │ └── Summary # Summary display
│ └── config.js # Configuration
├── api/ # Edge Functions
│ └── summarize.js # API handler
├── public/ # Static assets
└── package.json # Dependencies
- Uses Edge Function for API calls
- Processes PDFs in browser
- Manages state with React hooks
- Generates downloadable summaries
- Handles CORS securely
- 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.