How to Contribute to the Python Insider Blog from Scratch

By

Introduction

The official Python blog — Python Insider — has moved to a new home at https://blog.python.org. All 307 posts from the old Blogger platform have been migrated, and old URLs now automatically redirect to the correct new page. The most exciting change? The blog is now built from a Git repository, which means anyone who knows how to open a pull request can contribute. No more needing a Google account or wrestling with Blogger's editor. This guide will walk you through everything you need to write and submit your first post.

How to Contribute to the Python Insider Blog from Scratch

What You Need

Step-by-Step Guide

Step 1: Fork the Repository

Go to https://github.com/python/python-insider-blog and click the “Fork” button in the upper-right corner. This creates your own copy of the blog's source code. Once forked, clone the repository to your local machine using:

git clone https://github.com/YOUR-USERNAME/python-insider-blog.git

Step 2: Create a New Directory for Your Post

Navigate into the cloned repo and go to the content/posts/ folder. Inside, create a new directory named after your post's slug (the URL-friendly version of the title). For example, if your post is titled “Python 3.12 Released!”, use python-3-12-released.

mkdir content/posts/your-post-slug

Step 3: Add index.md with YAML Frontmatter

Inside your new directory, create a file named index.md. At the top, include YAML frontmatter that defines the title, date, authors, and tags. Here's an example:

---
title: "Your Post Title"
date: "2025-04-01"
authors:
  - "Your Name"
tags:
  - "release"
  - "announcement"
---

Below the frontmatter, write your post in Markdown. You can use standard formatting like headings, lists, links, and code blocks. Keep in mind the post will be shown exactly as you write it—follow the Tips section for best practices.

Step 4: Upload Images (Optional)

If your post includes images, place them in the same directory as index.md. For example, save screenshot.png right next to the post file. Then reference it in your Markdown with:

![Alt text](screenshot.png)

This keeps everything self-contained and easy to manage.

Step 5: Open a Pull Request

Once you've finished writing and saved all files, commit your changes and push them to your forked repository on GitHub:

git add .
git commit -m "Add new post: [your title]"
git push origin main

Then go to your fork on GitHub and click the “Contribute” button, then “Open Pull Request”. Write a brief description of your post and submit. The maintainers will review it, suggest changes if needed, and merge it. That's it!

Tips for a Smooth Contribution

The move to a Git-based workflow makes the Python Insider blog more open than ever. Now everyone in the community can contribute announcements, tutorials, or updates. Happy writing!

Related Articles

Recommended

Discover More

Python Ships Urgent Bugfix Releases: Version 3.14.2 and 3.13.11 Address Regressions and Security VulnerabilitiesNavigating KDE Plasma Updates: From 6.6.5 Fixes to 6.7 Enhancements – A Guide for UsersHow Young Gut Bacteria Reversed Liver Aging in Mice: Key Q&AHow to Protect Your Crypto Exchange from State-Sponsored Attacks: Lessons from the Grinex $15M HeistHow to Use Mistral's Cloud-Based Coding Agents and Work Mode for Hands-Free Development