A Python script to automate README updates across multiple repositories by dynamically inserting or updating content blocks.
- Features
- How It Works
- Example Block Structure
- Notes
- Code of Conduct
- License
- Contribution Guidelines
- Author
- About Me
- Feedback
- Connect with Me
- Automatically updates README files in specified repositories.
- Dynamically replaces specific content blocks using predefined markers.
- Supports multiple reusable Markdown blocks (e.g.,
connect-with-me.md,license.md). - Detects changes before updating to avoid unnecessary commits.
- Generates meaningful commit messages with updated block names.
- Fetches the existing
README.mdfrom the target repositories. - Checks for predefined markers (
<!-- block-name-start.md --> ... <!-- block-name-end.md -->). - Updates only the modified sections while keeping the rest of the README unchanged.
- Commits and pushes changes with a message like:
Updated README: connect-with-me.md, license.md
Inside your repo, store reusable Markdown files:
📂 README-Sync
┣ 📜 generate_readmes.py
┣ 📜 connect-with-me.md
┣ 📜 contribution-guidelines.md
┣ 📜 license.md
┗ 📜 README.md
Each block should have start and end markers in the README:
<!-- readme-file-name.md-start -->
Your Block Code Here
<!-- readme-file-name.md-end -->- The script only updates modified blocks to prevent unnecessary commits.
- If no changes are detected, it skips the update process.
- Supports multiple repositories.
We expect all participants in our community to adhere to our Code of Conduct. Please read the full text here.
This project is licensed under the MIT License.
For full license details, refer to the LICENSE file.
For any inquiries, please contact: 📧 rishabhgokhe20contact@gmail.com
Contributions are welcome! Please follow these steps to contribute:
- Fork the repository.
- Create a new branch (
git checkout -b feature/your-feature). - Make your changes.
- Commit your changes (
git commit -am 'Add some feature'). - Push to the branch (
git push origin feature/your-feature). - Create a new Pull Request.
Rishabh Gokhe
Hi there! I'm Rishabh Gokhe, a full-stack developer passionate about building scalable, real-time, and user-friendly applications. I focus on crafting seamless digital experiences using modern technologies like WebSockets, React, and Node.js.
I enjoy exploring new ideas, experimenting with emerging tech, and collaborating with like-minded developers. Whether it's web development, UI/UX design, or optimizing performance, I'm always excited to push boundaries and create impactful solutions.
I believe technology should be intuitive, efficient, and accessible. My goal is to develop applications that enhance communication, productivity, and user experience. From real-time interactions to automation, I strive to build solutions that make a difference.
Feel free to reach out—always open to discussions, collaborations, and learning from fellow developers! 🚀
Got feedback, suggestions, or ideas? Feel free to reach out!
Email Address : rishabhgokhe20contact@gmail.com
🚀 Keep your README in sync effortlessly! 🔄
