This project is a simple command line tool for fetching XKCD comics and posting them to your VK community wall.
- Download random XKCD comics image and title
- Publish it as VK community wall post
- Comics picture will be deleted after posting.
- Clone project
git clone https://github.com/gennadis/xkcd-vk.git
cd xkcd-vk
- Create virtual environment
python3 -m venv venv
source venv/bin/activate
- Install requirements
pip install -r requirements.txt
- Rename
.env.example
to.env
and place your secrets accordingly
VK_CLIENT_ID=0123456789
VK_TOKEN=place_your_token_here
VK_GROUP_ID=0123456789
- Run
python main.py