{"id":42672743,"url":"https://github.com/connorbulmer/google-docs-text-cleaner","last_synced_at":"2026-01-29T11:03:54.079Z","repository":{"id":289627090,"uuid":"971875418","full_name":"ConnorBulmer/Google-Docs-Text-Cleaner","owner":"ConnorBulmer","description":"Google Docs add-on that removes unwanted formatting characters.","archived":false,"fork":false,"pushed_at":"2025-04-24T07:37:27.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-24T08:35:33.026Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ConnorBulmer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-24T07:31:32.000Z","updated_at":"2025-04-24T07:37:31.000Z","dependencies_parsed_at":"2025-04-24T08:35:36.165Z","dependency_job_id":"ddd62cbd-3938-4f27-999c-916626cddff8","html_url":"https://github.com/ConnorBulmer/Google-Docs-Text-Cleaner","commit_stats":null,"previous_names":["connorbulmer/google-docs-text-cleaner"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ConnorBulmer/Google-Docs-Text-Cleaner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConnorBulmer%2FGoogle-Docs-Text-Cleaner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConnorBulmer%2FGoogle-Docs-Text-Cleaner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConnorBulmer%2FGoogle-Docs-Text-Cleaner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConnorBulmer%2FGoogle-Docs-Text-Cleaner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ConnorBulmer","download_url":"https://codeload.github.com/ConnorBulmer/Google-Docs-Text-Cleaner/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConnorBulmer%2FGoogle-Docs-Text-Cleaner/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28876674,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-29T10:31:27.438Z","status":"ssl_error","status_checked_at":"2026-01-29T10:31:01.017Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-29T11:03:31.294Z","updated_at":"2026-01-29T11:03:54.070Z","avatar_url":"https://github.com/ConnorBulmer.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🧹 Google Docs Text Cleaner Add-on\n\nA powerful Google Docs add-on that removes unwanted formatting characters like:\n\n- ❌ Invisible Unicode characters (zero-width spaces, joiners, BOMs)  \n- 🚫 Directional formatting codes (used in multilingual or RTL text)  \n- 🧊 Non-standard space characters (e.g. no-break spaces, en/em/thin spaces)  \n\nIt also includes a **Settings page** so users can choose which characters to clean.\n\n---\n\n## 🤖 Why This Matters (AI-Generated Text)\n\nModern AI tools (like ChatGPT, Copilot, Claude, etc.) sometimes insert **invisible characters** during generation. These can:\n\n- 📈 **Increase AI detectability** (AI detectors look for patterns like zero-width spaces)  \n- ♿ **Reduce accessibility** (screen readers or assistive tech may misread or ignore them)  \n- 📋 **Cause formatting bugs** (especially when copying between apps or to PDFs)  \n- 📉 **Break text processing scripts or regex matching**  \n\nCleaning these improves **readability, accessibility, and professionalism** — especially for AI-assisted writing.\n\n---\n\n## 🔧 Manual Installation (No Marketplace Required)\n\nYou can install this add-on in your own Google account using Apps Script.\n\n### 📌 Instructions:\n\n1. Open [https://script.google.com](https://script.google.com)  \n2. Click **“New project”**  \n3. In the new project:  \n   - Replace `Code.gs` with the code from [`Code.gs`](./Code.gs)  \n   - Add a new HTML file called `Settings.html` → paste contents from [`Settings.html`](./Settings.html)  \n\n4. Go to **Project Settings** (⚙️ icon), and enable:  \n   \u003e ✅ Show “appsscript.json” manifest file  \n\n5. Add a file called `appsscript.json`, and paste contents from [`appsscript.json`](./appsscript.json)  \n6. Save the project  \n7. Open any Google Doc, and refresh the page  \n8. Go to:  \n   `Extensions \u003e Text Cleaner` → Choose:  \n   - ✅ `Clean Invisible \u0026 Non-standard Spaces`  \n   - ⚙️ `Settings` to customise what gets removed  \n\n---\n\n## 🧠 What It Removes\n\n| Category              | Characters Handled                                     |\n|-----------------------|--------------------------------------------------------|\n| Invisible Characters  | `U+200B`, `U+200C`, `U+200D`, `U+FEFF`, etc.           |\n| Directional Controls  | `U+202A–U+202E`, `U+200E`, `U+200F`, `U+2060–U+2062`   |\n| Non-Standard Spaces   | `U+00A0`, `U+2000–U+200A`, `U+202F`, `U+205F`, `U+3000`, `U+2800`, etc. |\n\nAll cleaned or replaced with standard space (`U+0020`) where appropriate.\n\n---\n\n## 🛡️ Privacy \u0026 Safety\n\n- Runs **only when you tell it to**  \n- Stores preferences **only in your Google account**  \n- No data leaves your document or device \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconnorbulmer%2Fgoogle-docs-text-cleaner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fconnorbulmer%2Fgoogle-docs-text-cleaner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconnorbulmer%2Fgoogle-docs-text-cleaner/lists"}