An autogenerator for your repo social preview
Whatever you prefer (e.g. conda
or venv
)
mkdir myproject
$ cd myproject
$ python3 -m venv venv
Windows:
venv\Scripts\activate
Mac / Linux (Create a venv, activate it and install requirements.txt):
. python3 -m venv venv
. venv/bin/activate
Install Dependencies only for Mac/Linux:
. pip install -r requirements.txt
Inside assets folder you have,
You can change the images according to your usage. Remember to KEEP THE SAME SIZE
as of the image you are replacing.
Find the link of your repo. Paste it inside url
variable inside scrape.py file.
url = "https://github.com/Abhijith14/GitSocialPreview"
Run
python main.py
This will start creating the preview.
You can find your results inside output folder as : gitusername/reponame.png
Eg : Abhijith14/GitSocialPreview.png
- Python 3.7 - Creating Project
- Abhijith Udayakumar - Design & Development - Abhijith14
yes, with attribution.
I value keeping my work open source, but as you all know, plagiarism is bad. It's always disheartening whenever I find that someone has copied my work without giving me credit. I spent a non-trivial amount of effort building and designing this project, and I am proud of it! All I ask of you all is to not claim this effort as your own.
Yes, you can fork this repo. Please give me proper credit by linking back to Abhijith14/GitSocialPreview. Thanks!