/markdown-file-generator

๐Ÿ“ Generate GitHub-style README files from JSON. Markdown file automation using Python.

Primary LanguagePython

๐Ÿงพ Markdown File Generator

Instantly generate a beautiful README.md from a structured JSON file.
Designed for developers, freelancers, and open source contributors to show off their work โ€” cleanly and professionally.

๐Ÿ“Œ What is this project?

Markdown File Generator is a simple Python-based CLI tool that reads your project data from a .json file and generates a stylish, ready-to-publish README.md in Markdown format.

It helps:

  • ๐Ÿง‘โ€๐Ÿ’ป Developers create GitHub profile READMEs
  • ๐Ÿงณ Freelancers showcase work history
  • ๐Ÿ“š Students present their projects cleanly
  • ๐Ÿง  Teams auto-generate Markdown from a project database

No dependencies. Fully offline. Clean output. Ready for GitHub, Notion, websites, and more.


๐ŸŽฏ How is it useful?

  • ๐Ÿš€ Quickly build or update your README from JSON (no manual Markdown typing)
  • ๐Ÿงฉ Add project metadata like badges, tags, demo links, and screenshots
  • ๐ŸŽฏ Supports extended fields like tags, demo, badge, image, type, and last updated
  • ๐Ÿ’ผ Helps build professional presence with minimal effort
  • ๐Ÿ› ๏ธ Super extendable (can support HTML, YAML, CSV, Streamlit, etc.)

๐Ÿ™‹ Who can use it?

๐Ÿ‘ค User โœ… Use Case
GitHub users Auto-generate profile or repo README
Freelancers Showcase project history & demos
Bootcamp grads Present capstone projects in Markdown
Educators Generate portfolio files for students
Developers Include it in CI/CD for repo previews

๐Ÿงช Sample Input (input.json)

[ { "title": "Markdown Generator", "desc": "CLI that auto-generates README.md for portfolios.", "link": "https://github.com/boss/md-generator", "tags": ["Python", "Markdown"], "badge": "https://img.shields.io/badge/built%20with-Python-blue", "type": "Open Source", "date": "2024-09-01" } ]

๐Ÿงช Sample Output (outputREADME.md)

๐Ÿงฉ Markdown Generator

CLI that auto-generates README.md for portfolios.

Badge

๐Ÿงช Open Source
๐Ÿ—“๏ธ Last updated: 2024-09-01
Tech Stack: Python ยท Markdown
๐Ÿ”— View Project


How to use this Github code

Requirements

  • Python 3.7+
  • No external dependencies

1. Clone the repo

2. Create your input.json file

  • You can copy from the sample above or add as many projects as you like.

3. Run the generator

  • python md_generator.py

4. Check the output

  • A clean outputREADME.md file will be generated in the same folder.