AI Human-Like Article Rewriter is a Python-based tool that leverages OpenAI's GPT models to rewrite articles in a highly human-like, SEO-optimized, and plagiarism-free manner. Designed for content creators, bloggers, and SEO professionals, it transforms raw data or existing articles into unique, engaging markdown posts suitable for platforms like Chirpy Jekyll.
- Human-like Rewriting: Produces content that passes AI detection and plagiarism checks.
- SEO Optimization: Automatically generates SEO-friendly titles, descriptions, tags, and headings.
- Markdown Output: Outputs articles in Chirpy Jekyll markdown format, ready for static site generators.
- Batch Processing: Select and process multiple files from an input directory.
- Customizable Settings: Easily adjust model, temperature, max tokens, and more via
settings.ini. - Promotional Content Removal: Automatically strips out promotional or advertisement lines from input data.
- Attribution & Compliance: Handles attributions, copyright, disclaimers, and terms as required by the input data.
- Interactive CLI: User-friendly command-line interface for file selection and processing.
-
Clone the repository:
git clone https://github.com/OCEANOFANYTHING/ai-human-like-article-rewriter.git cd ai-human-like-article-rewriter -
Install dependencies:
pip install openai
(You may also need
configparserif not using Python 3.2+)
-
Obtain your OpenAI API key from OpenAI.
-
Open the
settings.inifile in the project root. -
Replace
[Place your OpenAI API key here]with your actual API key under the[API]section:[API] OPENAI_API_KEY = sk-... ...
All configuration is managed in settings.ini:
- OPENAI_API_KEY: Your OpenAI API key.
- OPENAI_MODEL: Model to use (e.g.,
openai/gpt-4.1). - OPENAI_API_BASE: API endpoint (default:
https://models.github.ai/inference). - TEMPERATURE: Controls randomness (default: 1).
- TOP_P: Controls diversity (default: 1).
- MAX_TOKENS: Maximum output tokens (default: 20000, can be set up to 90000).
- INPUT_DIR: Input folder for source files (default:
data). - OUTPUT_DIR: Output folder for rewritten articles (default:
output).
-
Place your source articles (plain text files) in the
datafolder. -
Run the script:
python main.py
-
Select the file to process by entering its corresponding number.
-
The rewritten article will be saved in the
outputfolder with the same name but.mdextension.
- Bloggers: Quickly rewrite and optimize articles for SEO and originality.
- Content Agencies: Batch process large volumes of articles for clients.
- SEO Professionals: Generate unique, high-quality content that passes AI and plagiarism checks.
- Academic Writers: Paraphrase and reformat research or reports.
- Static Site Generators: Produce Chirpy Jekyll-compatible markdown posts.
- No files found in input folder: Ensure your source files are in the
datadirectory. - Invalid API key: Double-check your API key in
settings.ini. - Output is empty or incomplete: Increase
MAX_TOKENSinsettings.ini. - Encoding errors: Ensure your input files are UTF-8 encoded.
- Dependency errors: Run
pip install openaito install missing packages.
See CONTRIBUTING.MD for guidelines on reporting issues, submitting pull requests, and code style.
Please read our Code of Conduct to ensure a welcoming and respectful community environment.
This project is licensed under the MIT License.
See the GitHub Releases page for a complete changelog.
If you find this project useful, consider supporting the developer:
For questions, suggestions, or support:
- GitHub Issues: https://github.com/OCEANOFANYTHING/ai-human-like-article-rewriter/issues
- Email: oceanofanything@gmail.com
- Article on This Tool: AI Article Rewriter That Writes Like a Human in 2025
