A professional web application for students to document their assignments, problems, solutions, and learnings. Create well-formatted documents with multiple problems, images, and automatic grammar checking, then download them as professional PDFs.
- Multiple Problems Support - Document multiple problems in a single assignment
- Structured Sections - Organize your work with Problem Description, Issues, Solutions, and Notes
- Image Support - Upload and embed screenshots, diagrams, or photos for each problem
- Professional PDF Export - Generate beautifully formatted PDFs with automatic page breaks
- Grammar & Spell Check - One-click rephrase button for each text field
- Automatic Text Improvement - Fixes grammar, spelling, and sentence structure
- LanguageTool Integration - Uses advanced grammar checking API
- Fallback Support - Works even when API is unavailable
- Modern UI - Clean, intuitive interface with gradient design
- Responsive Design - Works seamlessly on desktop, tablet, and mobile
- Real-time Preview - See your images and content before generating PDF
- Loading States - Visual feedback during PDF generation and text rephrasing
- Node.js (v16 or higher)
- npm or yarn package manager
-
Clone the repository
git clone https://github.com/yourusername/assignment-documenter.git cd assignment-documenter -
Install dependencies
npm install
-
Start the development server
npm run dev
-
Open your browser Navigate to
http://localhost:5173
npm run buildThe built files will be in the dist directory. You can preview the production build with:
npm run preview-
Fill in Assignment Information
- Assignment Title (required)
- Course Name (required)
- Student Name (required)
- Date (required)
-
Add Problems
- Click "+ Add Problem" to add multiple problems
- Each problem can have:
- Problem Description
- Issues Identified
- Solutions Implemented
- Related Images
-
Enhance Your Text
- Click the "โจ Rephrase" button next to any text field
- The tool will automatically improve grammar and fix errors
- Wait for processing to complete
-
Add Images
- Click "๐ท Upload Images" for any problem
- Select one or multiple images
- Preview images before generating PDF
- Remove images if needed
-
Add Additional Notes
- Include any extra observations or learnings
- Use the rephrase button here too!
-
Generate PDF
- Click "๐ Download PDF" when ready
- Your document will be automatically downloaded
- Filename format:
assignment_title_student_name_date.pdf
- Technical Assignments - Document coding problems, debugging steps, and solutions
- Lab Reports - Structure your experiments, findings, and conclusions
- Project Documentation - Track issues, solutions, and learnings
- Academic Assignments - Professional documentation for any course
- Problem-Solving Logs - Keep detailed records of problems and solutions
- React 18 - Modern UI library
- TypeScript - Type-safe JavaScript
- Vite - Fast build tool and dev server
- jsPDF - PDF generation library
- LanguageTool API - Grammar and spell checking
assignment-documenter/
โโโ src/
โ โโโ components/
โ โ โโโ DocumentEditor.tsx # Main editor component
โ โ โโโ DocumentEditor.css # Component styles
โ โโโ utils/
โ โ โโโ pdfGenerator.ts # PDF generation logic
โ โ โโโ textRephrase.ts # Grammar checking utility
โ โโโ App.tsx # Main app component
โ โโโ App.css # App styles
โ โโโ main.tsx # Entry point
โ โโโ index.css # Global styles
โโโ index.html
โโโ package.json
โโโ tsconfig.json
โโโ vite.config.ts
The app uses LanguageTool's public API for grammar checking. No API key is required, but there are rate limits for the free tier. If you need higher limits, you can:
- Set up your own LanguageTool server
- Use a different grammar checking service
- Modify
src/utils/textRephrase.tsto use your preferred service
Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.
This project is licensed under the MIT License - see the LICENSE file for details.
- LanguageTool - Free grammar checking API
- jsPDF - PDF generation library
- Vite - Build tool
- Save your work - Copy important content before generating PDF (browser refresh will clear data)
- Image formats - Supports JPG, PNG, GIF, and other common image formats
- Text length - No limits on text length, PDF will automatically add pages
- Multiple problems - Use multiple problems to organize complex assignments
- Rephrase feature - Use it multiple times if needed to get the best results
- Large images may take time to process in PDF
- Grammar checking requires internet connection
- Browser refresh will clear all entered data (consider adding local storage in future)
- Local storage to save drafts
- Export to other formats (DOCX, Markdown)
- Templates for different assignment types
- Dark mode support
- Collaborative editing
- Cloud storage integration
Made with โค๏ธ for students everywhere