Documentation
Monday, November 07, 2022
How to build your own BloggerBin?
- Obtain client_secret.json file from https://console.cloud.google.com/
- Clone the project using either command line (git clone https://github.com/snoofox/BloggerBin) or simply download the zip file.
- Installing requirements.txt, just type pip3 install requirements.txt command.
- Now, setup a environmental variable called BLOG_ID and assign your blog's id to it.
- Run the blogger.py file so that it can create credentials.dat file which is very important
- Host your flask application on any server you want, i am going with pythonanywhere coz it's free.
- Open theme.xml file in text editor search for ENDPOINT variable and replace it's value with your newly created Flask API's endpoint.
- Everything's done!! Simply install the theme.xml file by going to theme section of your blogger's dashboard and click on restore theme.