{"id":50503218,"url":"https://github.com/ZAYUVALYA/AI-Text-Humanizer","last_synced_at":"2026-06-19T07:00:39.131Z","repository":{"id":269808356,"uuid":"908520554","full_name":"ZAYUVALYA/AI-Text-Humanizer","owner":"ZAYUVALYA","description":"ZAYUVALYA - AI Humanizer is a developing tool designed to rephrase AI-generated text to make it more natural and reduce detection by AI content detectors. Currently in its early stages, the project focuses on context-aware paraphrasing and aims to improve with further optimizations.","archived":false,"fork":false,"pushed_at":"2025-05-30T02:04:48.000Z","size":2969,"stargazers_count":16,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-30T03:19:52.173Z","etag":null,"topics":["ai-detection-bypasser","ai-humanizer","chatgpt","css","gptzero","html","javascript","paraphraser","sentence-paraphrasing","text-paraphrasing","zerogpt"],"latest_commit_sha":null,"homepage":"https://zayuvalya.github.io/AI-Text-Humanizer/","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ZAYUVALYA.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-12-26T09:19:05.000Z","updated_at":"2025-05-30T02:41:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"6845aa1f-6255-44c0-8c5a-0f748795cea3","html_url":"https://github.com/ZAYUVALYA/AI-Text-Humanizer","commit_stats":null,"previous_names":["zayuvalya/ai-text-humanizer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ZAYUVALYA/AI-Text-Humanizer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZAYUVALYA%2FAI-Text-Humanizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZAYUVALYA%2FAI-Text-Humanizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZAYUVALYA%2FAI-Text-Humanizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZAYUVALYA%2FAI-Text-Humanizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ZAYUVALYA","download_url":"https://codeload.github.com/ZAYUVALYA/AI-Text-Humanizer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZAYUVALYA%2FAI-Text-Humanizer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34520432,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-19T02:00:06.005Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["ai-detection-bypasser","ai-humanizer","chatgpt","css","gptzero","html","javascript","paraphraser","sentence-paraphrasing","text-paraphrasing","zerogpt"],"created_at":"2026-06-02T13:30:32.505Z","updated_at":"2026-06-19T07:00:39.126Z","avatar_url":"https://github.com/ZAYUVALYA.png","language":"HTML","funding_links":[],"categories":["Apps, CLIs \u0026 Workbenches"],"sub_categories":["Taste Skill install example"],"readme":"# ZAYUVALYA - AI Humanizer\n\nZAYUVALYA - AI Humanizer is a free, open-source tool designed to help users rephrase and humanize text effortlessly. Built with simplicity and efficiency in mind, this tool ensures that your text is transformed into a more natural and human-like form while preserving its original meaning. ZAYUVALYA - AI Humanizer operates entirely in the browser, making it accessible, private, and 100% free to use without any login required.\n\n---\n\n## Key Features\n\n1. **Context-Aware Paraphrasing**: \n   - Uses advanced logic to replace words with contextually appropriate synonyms.\n   - Identifies proper nouns and fixed terms to avoid altering essential information.\n\n2. **Highlight Changes**: \n   - Words that are altered during the paraphrasing process are highlighted in the output for easy identification.\n\n3. **Word and Sentence Counters**: \n   - Provides real-time tracking of word and sentence counts for input text.\n\n4. **Responsiveness**: \n   - Fully responsive design optimized for desktop and mobile devices.\n\n5. **Dark Theme Interface**: \n   - Elegant dark-themed UI with a minimalistic approach for a better user experience.\n\n6. **Open Source**: \n   - Encourages contributions from the community to improve and expand the project.\n\n---\n\n## How It Works (Developer Overview)\n\nThis section explains the internal logic, algorithms, and structure of ZAYUVALYA - AI Humanizer for developers. The primary components include the vocabulary dataset, JSON structure, stop words handling, proper noun detection, and the paraphrasing algorithm.\n\n### 1. Vocabulary Dataset\nThe vocabulary is stored in a JSON file (`eng_synonyms.json`) with the following structure:\n\n```json\n{\n    \"word\": [\"synonym1\", \"synonym2\", \"synonym3\"]\n}\n```\n- **Key**: The word to be replaced.\n- **Value**: An array of synonyms for the word.\n\nExample:\n```json\n{\n    \"happy\": [\"joyful\", \"content\", \"pleased\"],\n    \"run\": [\"jog\", \"sprint\", \"dash\"]\n}\n```\n\n#### Source of Vocabulary Dataset:\n- **Current Hosted File**: [https://zayuvalya.github.io/Library/Languages/eng_synonyms.json](https://zayuvalya.github.io/Library/Languages/eng_synonyms.json)\n- **Original Source**: [Kaggle Dataset - English Synonyms JSON Thesaurus](https://www.kaggle.com/datasets/behcetsenturk/englishengen-synonyms-json-thesaurus)\n\n### 2. Stop Words Handling\nStop words are common words that should not be altered, such as \"the\", \"is\", and \"at\". These are stored in a separate JSON file (`stop_words.json`) and loaded into memory during initialization.\n\nExample structure of `stop_words.json`:\n```json\n[\"the\", \"is\", \"and\", \"at\", \"on\", \"in\"]\n```\n\nThe function `isStopWord()` checks if a word is in the stop words list:\n```javascript\nfunction isStopWord(word) {\n    return stopWords.includes(word.toLowerCase());\n}\n```\n\n### 3. Fixed Terms Detection\nCertain terms like \"halal\", \"haram\", or specific names should not be modified. These are stored in an array within the script itself:\n```javascript\nconst fixedTerms = [\"halal\", \"haram\", \"sharia\", \"jihad\", \"zakat\", \"hajj\", \"umrah\", \"Allah\", \"Jesus\", \"Buddha\", \"nirvana\", \"dharma\", \"Tao\", \"karma\", \"sin\", \"salvation\", \"amen\", \"hallelujah\", \"om\", \"mantra\", \"Torah\", \"Gospel\", \"Quran\", \"Bible\", \"Talmud\", \"Scriptures\", \"Ten Commandments\", \"Five Pillars of Islam\", \"Eightfold Path\", \"sacrament\", \"worship\", \"prayer\", \"meditation\", \"faith\", \"hope\", \"charity\", \"forgiveness\", \"heaven\", \"hell\", \"soul\", \"spirit\", \"God\", \"creator\", \"divine\", \"sacred\", \"holy\", \"prophet\", \"apostle\", \"saint\", \"angel\", \"demon\", \"Satan\", \"evil\", \"good\", \"righteousness\", \"justice\", \"mercy\", \"compassion\", \"love\", \"peace\"];\n\nfunction isFixedTerm(word) {\n    return fixedTerms.includes(word.toLowerCase());\n}\n```\n\n### 4. Proper Noun Detection\nProper nouns (e.g., \"New York\", \"Tesla\") are identified using regex patterns:\n```javascript\nfunction isProperNoun(word) {\n    return /^[A-Z][a-z]*$/.test(word);\n}\n```\n\nThis ensures that capitalized words remain untouched during the paraphrasing process.\n\n### 5. Paraphrasing Algorithm\nThe paraphrasing process involves:\n1. Splitting the input text into words and punctuation using `\\b` (word boundaries).\n2. Iterating over each token and determining whether it should be replaced.\n3. Highlighting replaced words and keeping unchanged words as they are.\n\nKey function: `replaceWord()`\n```javascript\nfunction replaceWord(word) {\n    const lowerCaseWord = word.toLowerCase();\n\n    if (isStopWord(lowerCaseWord) || isFixedTerm(lowerCaseWord) || isProperNoun(word)) {\n        return word; // No replacement\n    }\n\n    if (vocabulary[lowerCaseWord]) {\n        const synonyms = vocabulary[lowerCaseWord];\n        return synonyms[Math.floor(Math.random() * synonyms.length)]; // Random synonym\n    }\n\n    return word; // No synonym found\n}\n```\n\nParaphrasing execution:\n```javascript\nfunction paraphraseText(inputText) {\n    const words = inputText.split(/(\\b|\\s+|[.,!?]+)/); // Split text\n    let paraphrasedWords = [];\n\n    words.forEach(word =\u003e {\n        if (/\\w+/.test(word)) { // Match words only\n            const newWord = replaceWord(word);\n            if (newWord !== word) {\n                paraphrasedWords.push(`\u003cspan class='highlight'\u003e${newWord}\u003c/span\u003e`); // Highlight\n            } else {\n                paraphrasedWords.push(word);\n            }\n        } else {\n            paraphrasedWords.push(word); // Keep punctuation\n        }\n    });\n\n    return paraphrasedWords.join('');\n}\n```\n\n### 6. Word and Sentence Counters\nTwo utility functions track the number of words and sentences:\n```javascript\nfunction countWords(text) {\n    return text.trim().split(/\\s+/).filter(word =\u003e word.length \u003e 0).length;\n}\n\nfunction countSentences(text) {\n    return text.split(/[.!?]+/).filter(sentence =\u003e sentence.trim().length \u003e 0).length;\n}\n```\n\n### 7. Highlighting Changes\nThe `highlight` class is applied to replaced words:\n```css\n.highlight {\n    background-color: #ECDFCC;\n    color: #1E201E;\n    font-weight: bold;\n    padding: 2px 4px;\n    border-radius: 3px;\n}\n```\n\n---\n\n## Project Structure\n\n- **index.html**: Contains the layout and structure of the web application.\n- **styles.css**: Provides styling for the dark theme and responsive design.\n- **script.js**: Implements the paraphrasing logic and interactive functionality.\n- **eng_synonyms.json**: Stores the vocabulary dataset for synonym replacement.\n- **stop_words.json**: Contains the list of stop words.\n\n---\n\n## Contribution\nWe welcome contributions from the community! To contribute:\n1. Fork the repository.\n2. Create a branch for your changes.\n3. Submit a pull request detailing your updates.\n\n---\n\n## Open Source and Licensing\nThis project is licensed under the MIT License, ensuring it remains free and open for everyone to use and improve.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FZAYUVALYA%2FAI-Text-Humanizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FZAYUVALYA%2FAI-Text-Humanizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FZAYUVALYA%2FAI-Text-Humanizer/lists"}