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.2.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.2-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: readme_peacock-1.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 acb5def3dd0c6edbd52dd767cb8ee3a66960ae5cf63bd5de88c24fdf76dab31b
MD5 2db57b2263e8b6bfbc3e7dd3488e90d2
BLAKE2b-256 736ce251c1ae0fe2453d0a325e10eebe88477048691b484f678fded15ddfcc65

See more details on using hashes here.

File details

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

File metadata

  • Download URL: readme_peacock-1.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ab2d3c0e350f1ff0ab9f36d8486778f8460b418553d52a02fbfbed599511b499
MD5 06af821f7886ada214b709e748d53133
BLAKE2b-256 f551b87f466adb3d27165a9c41cd72a73d58a2443c390a5e4e55b8533fd73b42

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