Generate a "trading card" representation of a website.
This tool could be used to create a physical version of your blogroll.
Example:
![Screenshot 2024-04-29 at 10 46 28](https://private-user-images.githubusercontent.com/37276661/326412276-6fb66dfe-973c-4a14-bb57-a67a5a37fe86.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5NjI4MzksIm5iZiI6MTczODk2MjUzOSwicGF0aCI6Ii8zNzI3NjY2MS8zMjY0MTIyNzYtNmZiNjZkZmUtOTczYy00YTE0LWJiNTctYTY3YTVhMzdmZTg2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA3VDIxMDg1OVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTY1ODA4YzFkNGIxZDkyYTE0ODI1MTZiNzc2ZGE1ZWEyNjg3ZGNmZmM4ZGE1ZGJhZmY1MjIxNzUwMjdhY2NhOGMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.s0ex7BiND1j0mCMnf1Qu7J5YwmombdBUF58OgEDWfPo)
First, install the project from source:
git clone https://github.com/capjamesg/website-trading-cards
cd website-trading-cards
pip3 install -r requirements.txt
To generate a trading card, run:
python3 app.py --website=https://example.com
If a website has a semantically marked up description, the description will appear on the card.
If a website does not have an available description, the description space on the card will be used as space to render a larger screenshot of the website, like this:
This project is licensed under an MIT license.