🚀 Main Features

1. Smart Conversion

  • Static Assets: Automatically converts src="img.png" and href="style.css" into {% static '...' %}.

  • Internal Links: Converts .html links into {% url '...' %} tags.

  • Security: Automatically injects {% csrf_token %} into all POST forms.

2. “Base Extraction” Mode (Split & Merge)

  • Merges two HTML files (e.g., index.html and contact.html) to detect common parts such as the header and footer.

  • Automatically generates a base.html file.

  • Cleans the child files, keeping only their unique content and adding {% extends %}.

3. Productivity Tools

  • Loop Tool: Select an element (e.g., a product card), name your variable, and the tool generates a {% for %} loop while intelligently removing duplicates.

  • Diff Viewer: Preview line-by-line changes (GitHub-style) before copying the updated code.

  • Snippets: Quickly insert blocks for authentication, date, or comments.


🛠️ Local Installation

git clone https://github.com/votre-nom/django-automator.git
cd django-automator
npm install
npm run dev

🤝 Contribution & Open Source

This project is 100% Open Source and free for the community.

Contributions are welcome: bug fixes, new features (Jinja2 support, other frameworks), UI improvements, and more.

  1. Fork the repository

  2. Create your branch (git checkout -b feature/AmazingFeature)

  3. Commit your changes (git commit -m "Add some AmazingFeature")

  4. Push to your branch (git push origin feature/AmazingFeature)

  5. Open a Pull Request


👥 Contributors


📄 License

Distributed under the MIT License.