Skip to content

Aniket-pd/TextLens

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# TextLens: Text Selection and Analysis Tool  

## Overview  
**TextLens** is a powerful web tool designed to make text selection and analysis effortless directly within any webpage. With its advanced summarization and AI-powered chat features, it helps users quickly digest information and interact with content seamlessly, improving productivity and understanding.

## Installation Guide

### Developer Mode Installation (Load Unpacked)

1. **Download and Extract**
   - Download the extension files
   - Extract/Unzip to a folder on your computer

2. **Open Chrome Extensions Page**
   - Open Google Chrome
   - Type `chrome://extensions/` in the address bar
   - Press Enter

3. **Enable Developer Mode**
   - Look for the "Developer mode" toggle in the top-right corner
   - Switch it ON

4. **Load the Extension**
   - Click the "Load unpacked" button in the top-left
   - Navigate to the folder containing the extension files
   - Select the folder (make sure manifest.json is in the root of this folder)
   - Click "Select Folder"

5. **Verify Installation**
   - The extension should appear in your extensions list
   - Make sure it's enabled (toggle should be blue/on)
   - You may need to restart Chrome for the extension to work properly


## Features  

### 🌟 Smart Text Summarization  
- Provides multiple formats:  
  - **Key Points**: Highlights the essential takeaways.  
  - **Headlines**: Summarizes in a headline-like format.  
  - **TL;DR**: Short and straight-to-the-point summaries.  
  - **Teasers**: Generates quick previews of content.  
- Adjustable lengths: Choose between short, medium, and long summaries to suit your needs.  

### 💬 Interactive AI Chat  
- Ask questions about selected text and get **real-time, context-aware responses**.  
- Perfect for clarifying complex topics, fact-checking, or diving deeper into content.  



### 🚀 Responsive and Intuitive UI  
- **Floating Interface**: Pops up exactly when needed, positioned intelligently to avoid overlaps.  
- **Sleek Design**: Modern glass-morphism style with smooth animations.  
- Works seamlessly across different devices and screen sizes.  

### ⚙️ Customizable Settings  
- Centralized configuration for easy customization of the UI, including style and behavior settings.  

## Technologies Used  

- **JavaScript**: Handles the core functionality and DOM manipulation.  
- **CSS**: Provides custom styling with advanced animations and transitions.  
- **AI Integration**: Utilizes cutting-edge AI APIs for text summarization and chat features.  
- **Browser APIs**: Leverages native browser capabilities for event handling and seamless UI updates.  

## Usage  

1. **Highlight Text**: Select any text on a webpage to trigger the floating interface.  
2. **Summarization**: Use the summarization tool to get concise and clear summaries of the text.  
3. **Chat Mode**: Switch to chat mode to interact with the AI and ask questions about the selected content.  

With these features, **TextLens** makes reading and analyzing text smarter and faster.  

## Future Improvements  

- **Advanced AI Models**: Integrate more sophisticated AI models for even better text analysis and conversational capabilities.  
- **Browser Extension**: Develop a browser extension for smoother deployment and use across various websites.  
- **Multi-Language Support**: Expand functionality to support text summarization and interaction in multiple languages.  
- **User Customization**: Add more settings, allowing users to tweak appearance, response style, and other behaviors.  
- **Accessibility Features**: Incorporate voice input and screen reader support for better inclusivity.  

## Contributing  

We welcome contributions! To contribute:  
1. Fork the repository.  
2. Create a branch for your feature or bug fix.  
3. Submit a pull request detailing your changes.  

We’re excited to collaborate and improve **TextLens** with your help!  

## License  

This project is licensed under the [MIT License](LICENSE). Feel free to use, modify, and distribute it as per the license terms.  

## Contact  

Have questions or feedback? Reach out via:  
📧 [email protected]  

---

Thank you for checking out **TextLens**! 🚀  

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published