Skip to content

nuttycc/para-translator

Repository files navigation

Para-Translator

A browser extension that helps you learn new languages by understanding webpage paragraphs.

Overview

Para-Translator is a browser extension designed to enhance your language learning experience while browsing the web. Instead of just providing translations, it offers comprehensive language learning features including:

  • Contextual Translation - Get accurate translations of webpage content
  • Grammar Analysis - Understand the grammatical structure of sentences
  • Vocabulary Building - Learn new words with detailed explanations
  • Tabbed Interface - Switch between translation, grammar, and vocabulary views

Features

  • 🌐 Real-time Translation - Translate webpage paragraphs instantly
  • 📚 Grammar Insights - Detailed grammatical breakdown of sentences
  • 📖 Vocabulary Learning - Word definitions, usage examples, and learning tips
  • 🎨 Clean UI - User-friendly interface with tabbed navigation
  • 🔄 Multi-browser Support - Works on Chrome, Firefox, and other Chromium-based browsers

Technologies Used

  • WXT - Web extension framework for building cross-browser extensions
  • Vue.js 3 - Progressive JavaScript framework for building user interfaces
  • TypeScript - Type-safe JavaScript development
  • Tailwind CSS - Utility-first CSS framework
  • DaisyUI - Component library for Tailwind CSS
  • Pinia - Intuitive state management for Vue.js

Installation

Prerequisites

Development Setup

  1. Clone the repository:

    git clone https://github.com/nuttycc/para-translator.git
    cd para-translator
  2. Install dependencies:

    bun install
  3. Start the development server:

    bun dev
  4. Load the extension in your browser:

    • Chrome/Chromium: Visit chrome://extensions, enable "Developer mode", and click "Load unpacked" then select the .output/chrome-mv3 directory

Project Structure

src/
├── agent/          # AI agent logic and types
├── components/     # Vue components
├── entrypoints/    # Extension entry points (popup, content, background)
├── messaging/      # Message handling between extension parts
├── stores/         # Pinia stores for state management
└── utils/          # Utility functions

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

This project is licensed under the MIT License.

Acknowledgments

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 8