Turn your README.md into a stunning landing page with one command
Project description
🦚 readme-peacock
Turn your boring README.md into a stunning landing page — with a single command.
✨ Why readme-peacock?
- 🖼️ Beautiful out of the box – Glassmorphism hero, animated gradient background, dark/light mode.
- ⚡ Zero configuration – Takes your
README.mdand outputs a ready‑to‑deployindex.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.iobadges 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
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:
- Fork the repo
- Create your feature branch (
git checkout -b feature/amazing-idea) - Commit your changes (
git commit -m 'Add amazing idea') - Push to the branch (
git push origin feature/amazing-idea) - 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.
- Create a workflow file in your repository at .github/workflows/peacock.yml
- 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 }}
-
Go to your repository Settings → Pages → Source and select "GitHub Actions".
-
Push to main and your landing page will be live at https://USERNAME.github.io/REPO
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file readme_peacock-1.1.0.tar.gz.
File metadata
- Download URL: readme_peacock-1.1.0.tar.gz
- Upload date:
- Size: 10.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b259270c01989d9da7642145e575070af26fa89faa3b9727104a06ec6cfb0ab4
|
|
| MD5 |
6147eac0f77223e46edef5bcddffa63d
|
|
| BLAKE2b-256 |
e6b7187ebb4a54e9752cc891d3affe6c6de373c616c6ddf63a57a3c5e8304582
|
File details
Details for the file readme_peacock-1.1.0-py3-none-any.whl.
File metadata
- Download URL: readme_peacock-1.1.0-py3-none-any.whl
- Upload date:
- Size: 8.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
893e30dc2381dfd5fee5add9fbfdd041020fced84853549c50dd43df6fd6a3d8
|
|
| MD5 |
bf5be0fcd9d92dcae2c2946ff381e774
|
|
| BLAKE2b-256 |
67786fdf880fb00fa6b40bdb9b2be19d20fb4046625e4f58954edbd21911a1c2
|