This is a blog post manager to help you post, delete, upload and edit your posts on Github Pages using a simple-ish website. This is intended for lazy people like us who want a cool blog but have no time or energy to code one themselves.
-
Install Python 3 and pip
-
From the BlogPostManager folder, install Python dependencies
pip3 install -r requirements.txt
- From the BlogPostManager folder, run the following:
flask --app blog-post-manager/app.py run --host=127.0.0.1
If you can't use the standalone flask command, run the following instead:
python3 -m flask --app blog-post-manager/app.py run --host=127.0.0.1
- Open the url:port that was opened up by Flask (it's usually
127.0.0.1:5000
)
-
This page will display all of your blog posts (will be empty at the start).
-
To make a new blog post, type a new name for that blogpost in the textbar, "Post title" and click "Create new blog post"
-
After creating your blog post, click on the post name, which will bring you to the editor.
-
You can access your previous blog posts by clicking the post title.
-
This page also has a button to go to the namecard page, which we will talk about more in detail.
-
This is the page where you make your blog post. It will have the default description and content.
-
This page has a markdown editor to allow you to put quotes, italics and much more,
as well as having the ability to change the fonts and colour of the text in the post. -
Afterward making your blog, click the 'Save' button at the bottom (so you don't lose your post) and you can return
to the home page by clicking 'Back to menu'.
- If you want to export your posts, click the button 'Export' at the bottom of the home page to go to the export page.
- In the 'Blog name' textfield, you can name your blog (NOT the blog posts, but the name for the blog which will have your blogs posts)
- There is also a navigation bar that you can input the title and the link reference (href), which will be present in the html file at the top of the blog you made.
- If you have finished your blog, you can download it with the 'Export' button on the right side. It will download the HTML file for your whole blog, where you can put it on Github Pages or anywhere you like!
- This page will request for your name, description (of yourself), country and email! This info abpout yourself will be shown when you exporrt your blog so people can learn more about you.
This application was made by Daniel Wee, Yuan De, Ingo and Hubert , and ChatGPT, Mistral AI, DeepSeek Coder, and other Ollama models and platforms I am WAY too lazy to name-V2
We would like to thank our seniors in the ACS(I) Coding Competition Team for guiding us in the creation of this application.