🦚 readme-peacock

πŸ“„ Issues πŸ”€ Pull Requests πŸ“¦ Releases πŸ“– Wiki ⭐ Star

Python License Version Status

Turn your boring README.md into a stunning landing page β€” with a single command.

Demo

✨ Why readme-peacock?

πŸ“¦ 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 (single file)

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

peacock

This creates a site/ folder with an index.html inside. 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)

Process all Markdown files in a directory

peacock --all

Scans the current directory for all .md files and generates matching HTML pages in the site/ folder.
README.md becomes index.html, others keep their original names (e.g., faq.md β†’ faq.html).

You can combine --all with --repo and --template:

peacock --all --repo "ZvanTors/readme-peacock" --template dark

Choose a theme

peacock --template dark

Available themes: - glass (default) – Light/dark auto-switching glassmorphism design. - dark – Always dark, high-contrast style with orange accents.

Show help

peacock --help

πŸ–ŒοΈ Features

πŸ–ΌοΈ 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