6 things I do (and you should too) when I release open source code
Tags: opensource
Published: 2022-12-21 22:33:40

---
title: 6 things I do (and you should too) when I release open source code
published: true
description: These are 6 super important tasks that I make sure I have under my radar when I decide to release some code in the open
tags: opensource
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/08qt4s8sti4ngi1t4lx0.png
# Use a ratio of 100:42 for best results.
---

Every day 100+ open source libraries and projects are launched in the wild.

Launching an open source project can be daunting, especially if you haven't done it before.

Preparation + perseverance + luck are key to success here too - as much as anything else launched online.

👉 Does IT work?

The first thing you want to do before you open source something is to make sure - the project - WORKS and it is stable.
Test your code in different environments and keep track of every step, you're gonna need it.

👉 Write a good README.

This is to me the most crucial experience of a good open source project. Be clear and aim to be successful by mentioning:

Quick Get Started / HowTo
Contributing guidelines
License
Project leads

Add as much useful Documentation as you can. It's hard. I know.

👉 Show immediate VALUE.

A live-demo is worth a 1000 words. A good video/images are ok too! When people browse your project they want to immediately be captured and understand what you're sharing.

👉 Write great DOCUMENTATION.

It matters a lot, once readers are past your README, which should include the demo, they're going to jump and test it out immediately (if you made it easy to do so) and DIVE into the DOCUMENTATION to learn more about it.

Pro-tip: Keeping Documentations up to date is hard, there are effective portals like that can help:
- VuePress
- Gitbook
- Docusaurus
- Readme(.com)
- Markdoc
Pick what you prefer and your most comfortable building upon.

👉 PROMOTION of your project.
If you have an audience of thousands, leverage your audience to help you spread your project far and wide: word of mouth always beats other forms of promotion.

If you do not have an audience - hard work by creating content and posts around the web.

Other forms of promotion are talking at local meetups, conferences (online/offline), guest blogging and general writing for the purpose of SEO.

Notice any pattern here? Does it feel a bit "marketing heavy"? That's because it is - be creative!

Specifically on guest blogging if you wrote a tool to improve let's say online payments, find companies that might work in this vertical and suggest to talk about your open source project on their blog.

👉 COMMUNITY & MAINTENANCE
Every OS project needs maintainers, writing the code and letting it sit still does NOT work well in our always-changing world.

1. Updates/Vulnerabilities needs to be addressed
2. Features can be added, not removed
3. Issues need to be seen and triaged

MOST importantly the community of users that use and rely on your project needs to be nourished and helped.

Whether it's entirely via your project's tools (i.e. Github discussions, a wiki, newsgroup) or a more social tool perhaps Discord, a forum, twitter..


Here are some examples of great open source projects I collected as inspiration:
- https://github.com/thelounge/thelounge#readme
- https://github.com/httpie/httpie
- https://github.com/vue-stripe/vue-stripe by Joff Tiquez

#opensource #maintain