/xkcd

Primary LanguagePython

Post random XKCD comics on VK group wall

This project is a simple command line tool for fetching XKCD comics and posting them to your vk group wall.

Features

  • Download random XKCD comics image and title
  • Publish it as VK group post

Setup

  1. Clone project
git clone https://github.com/nekto007/xkcd.git
cd xkcd
  1. Create virtual environment
python3 -m venv venv
source venv/bin/activate
  1. Rename .env.example to .env and place your secrets accordingly
VK_CLIENT_ID=219280465
VK_ACCESS_TOKEN=place_your_token_here
VK_GROUP_ID=219280465
  1. Install requirements
pip install -r requirements.txt
  1. Run
python main.py