Skip to main content

🦚 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


🚀 GitHub Action

You can use readme-peacock as a GitHub Action to automatically build and deploy your landing page on every push.

  1. Create a workflow file in your repository at .github/workflows/peacock.yml
  2. Paste the following content into it:

name: Generate Landing Page on: push: branches: [main] workflow_dispatch:

permissions: contents: read pages: write id-token: write

concurrency: group: "pages" cancel-in-progress: false

jobs: build: runs-on: ubuntu-latest environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }} steps: - uses: ZvanTors/readme-peacock@v1 with: repo: ${{ github.repository }}

  1. Go to your repository Settings → Pages → Source and select "GitHub Actions".

  2. Push to main and your landing page will be live at https://USERNAME.github.io/REPO

Metadata

Release files for readme-peacock 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for readme-peacock 1.1.0
File Size Uploaded Provenance Actions
readme_peacock-1.1.0.tar.gz 10.3 kB Without provenance Details for readme_peacock-1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for readme-peacock 1.1.0
File Interpreter ABI Platform Actions
readme_peacock-1.1.0-py3-none-any.whl Python 3 none any Details for readme_peacock-1.1.0-py3-none-any.whl

Total release size: 19.2 kB

Release files / readme_peacock-1.1.0.tar.gz

Download URL readme_peacock-1.1.0.tar.gz
Size 10.3 kB
Tags Source
SHA-256 checksum
How to use checksums
b259270c01989d9da7642145e575070af26fa89faa3b9727104a06ec6cfb0ab4
BLAKE2b-256 checksum
How to use checksums
e6b7187ebb4a54e9752cc891d3affe6c6de373c616c6ddf63a57a3c5e8304582
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.5

Release files / readme_peacock-1.1.0-py3-none-any.whl

Download URL readme_peacock-1.1.0-py3-none-any.whl
Size 8.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
893e30dc2381dfd5fee5add9fbfdd041020fced84853549c50dd43df6fd6a3d8
BLAKE2b-256 checksum
How to use checksums
67786fdf880fb00fa6b40bdb9b2be19d20fb4046625e4f58954edbd21911a1c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.5

Security for readme-peacock 1.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page