Skip to main content

Turn your README.md into a stunning landing page with one command

Project description

🦚 readme-peacock

Python License Version Status

Turn your boring README.md into a stunning landing page — with a single command.

Demo

✨ Why readme-peacock?

  • 🖼️ Beautiful out of the box – Glassmorphism hero, animated gradient background, dark/light mode.
  • Zero configuration – Takes your README.md and outputs a ready‑to‑deploy index.html.
  • 🧠 Smart extraction – Auto‑detects project title, shields.io badges, and repository links.
  • 🔗 GitHub quick links – Add buttons for Issues, Pull Requests, Releases, Wiki and Star with --repo.
  • 📦 Single file – Just peacock.py, nothing more. Easy to understand, easy to contribute.

📦 Installation

Make sure you have Python 3.8 or higher. Then install from PyPI:

pip install readme-peacock

Or install directly from the repository:

pip install git+https://github.com/ZvanTors/readme-peacock.git

🚀 Usage

Basic

Run the following command in any directory containing a README.md:

peacock

This creates an index.html in the same folder. Open it with your browser — that’s your landing page.

Custom paths and GitHub buttons

peacock README.md -o landing.html --repo "ZvanTors/readme-peacock"

This will:

  • Read README.md
  • Save the output to landing.html
  • Add quick‑link buttons to your GitHub repository (Issues, Pull Requests, Releases, Wiki, Star)
  • Replace your Repo and User

Show help

peacock --help

🖌️ Features

  • Automatic dark/light mode – Respects your OS theme.
  • Gradient background animation – A smooth, living backdrop that never gets boring.
  • Badge extraction – All shields.io badges from your README appear in the hero section.
  • Title handling – The first # heading is moved to the hero, avoiding duplication.
  • Responsive design – Looks great on mobile, tablet, and desktop.
  • No JavaScript API calls – Static buttons that always work, even offline.

🖼️ Demo

Screenshot Screenshot

A landing page generated from the very README you are reading.

🚀 Live Demo

Check out the live landing page generated by readme-peacock itself:
https://zvanTors.github.io/readme-peacock

🤝 Contributing

I’d love your help! To contribute:

  1. Fork the repo
  2. Create your feature branch (git checkout -b feature/amazing-idea)
  3. Commit your changes (git commit -m 'Add amazing idea')
  4. Push to the branch (git push origin feature/amazing-idea)
  5. Open a Pull Request

Please make sure your code follows the existing style and that you test your changes.

📄 License

MIT © ZvanTors


Made with 🦚 by ZvanTors

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

readme_peacock-1.0.1.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

readme_peacock-1.0.1-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file readme_peacock-1.0.1.tar.gz.

File metadata

  • Download URL: readme_peacock-1.0.1.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for readme_peacock-1.0.1.tar.gz
Algorithm Hash digest
SHA256 4f6d7426cdef6285efdb8571eaf98b380d85ee827c531ab617ec62ffe51710b6
MD5 7db63fe13c18640569fb718a1988b5fc
BLAKE2b-256 39e441e7e75c0c4c8d1e626a53f2c1e19ac74ad53188bb59ad0225f560accaed

See more details on using hashes here.

File details

Details for the file readme_peacock-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: readme_peacock-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 7.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for readme_peacock-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 187c3bbd0d2003bb9be9cd54394dbd71884c159bad80b8923d5fb6a43f129fd9
MD5 3e12c01e4085f2d8fd9cb168d5137c25
BLAKE2b-256 48951c004011d69b76d2f95cda27af358ad66c5997257c318dd7e9b23adad8a0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page