Highlightr is an AI-powered document semantic markup specialist designed to process and highlight specific categories of information within various document formats. Using Google Gemini models, it identifies key points, problems, statistics, and more, providing a color-coded visual output and downloadable Word documents.
- Multi-format Support: Upload and process
.txt,.docx, and.pdffiles. - Semantic Tagging: Automatically identifies and tags information based on categories like Key Points, Problem Areas, Statistics, Opportunities, Actions, and KPIs.
- Custom Instructions: Provide custom highlighting logic via the AI prompt.
- Interactive Preview: Filter and view highlighted text directly in the browser.
- Export to DOCX: Download processed documents with original formatting and color-coded highlights.
- Token Management: Integrated token counter to manage API limits.
- Backend: Python, Flask
- AI Engine: Google GenAI SDK (Gemini)
- Document Processing:
python-docx,PyPDF2,BeautifulSoup4(for tag parsing) - Frontend: HTML5, CSS3, Vanilla JavaScript, Lucide Icons
-
Install dependencies:
pip install flask python-docx google-genai beautifulsoup4 PyPDF2
-
Set up your Gemini API Key in the application settings.
-
Run the application:
python app.py
- Upload documents to the drop zone.
- Select the highlighting options or provide a custom request.
- Enter your Google AI Studio API key.
- Click "Process files" to generate highlighted versions.
- Use the preview eye icon to view results or download the generated
.docxfiles.