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.0.tar.gz (7.0 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.0-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: readme_peacock-1.0.0.tar.gz
  • Upload date:
  • Size: 7.0 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.0.tar.gz
Algorithm Hash digest
SHA256 1406573e14366a65fe9d2e4fd98251b4e45b8e792f341724f3e476ff8a4bd9ad
MD5 5a108fba42ecf0af02aac694f472f113
BLAKE2b-256 6337f62c7b6f66cb979e6e47c88e0dbbe75f4841ec2ab40e35afa8d178c22a6e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: readme_peacock-1.0.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 caca7e68bae0d25a08d97fd319d7e6b9cb4c5174e5f020f78bb92f786f462b1c
MD5 0e9aadbff20e59ecc421e7b8e2113567
BLAKE2b-256 f9ab28a3757107696d93e940f9c187641744dc0e9163db7c8b5e52606dd9d06b

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