Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions PRIVACY_POLICY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Privacy Policy for CodeTranslateAI

**Last Updated:** July 23, 2025

Thank you for using CodeTranslateAI. This privacy policy explains how our extension handles data. The source code for this extension is publicly available on **[GitHub](https://github.com/dineshsutihar/CodeTranslateAI)**.

## Data Collection and Usage

CodeTranslateAI is designed with your privacy in mind.

1. **Website Content (Code Snippets):** The core function of this extension is to translate code. When you select a piece of code on a webpage and activate the translation, that selected text is sent to our secure backend, which then forwards it to the Google Gemini API to perform the translation.

2. **No Personal Information:** We do not collect, store, or transmit any personally identifiable information (PII), such as your name, email, IP address, or Browse history.

3. **Data Anonymity:** The code snippets sent for translation are not associated with you or your account in any way.

## Data Storage

Translated code snippets are cached locally on your device using `chrome.storage.local` to improve performance and avoid repeat API calls. This data is stored only in your browser and is not accessible to us. The cache is designed to automatically clear items after 10 days.

## Data Sharing

We do not sell, trade, or otherwise transfer your data to outside parties. The only data transfer occurs for the explicit purpose of providing the translation service via the Google Gemini API.

## Contact Us

If you have any questions about this privacy policy, please **[open an issue on our GitHub repository](https://github.com/dineshsutihar/CodeTranslateAI/issues)**.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# CodeTranslateAI 🚀

<p align="center">
<img src="/mnt/code/Codes/FullStack/projects/CodeTranslateAI/frontend/images/icons/icon128.png" alt="CodeTranslateAI Logo" width="128">
<img src="frontend/images/icons/icon128.png" alt="CodeTranslateAI Logo" width="128">
</p>

<h3 align="center">Seamless On-Page Code Translation, Powered by AI</h3>
Expand Down
2 changes: 1 addition & 1 deletion frontend/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"manifest_version": 3,
"name": "CodeTranslateAI",
"version": "1.1.0",
"version": "2.0.0",
"description": "Select code on a page and get instant AI-powered translation.",
"author": "Dinesh Kumar Sutihar",
"permissions": ["activeTab", "storage"],
Expand Down
1 change: 1 addition & 0 deletions frontend/popup.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ <h1>CodeTranslateAI</h1>
<option value="PHP">PHP</option>
<option value="Python">Python</option>
<option value="Ruby">Ruby</option>
<option value="VisualBasic">Visual Basic</option>
</select>
</div>

Expand Down