Automate GitHub Readme.md file to Streamlit web App

Avra
4 min readJan 24, 2023

Read any markdown files to the Streamlit Web app in a few lines of code

👨🏾‍💻 GitHub ⭐️| 🐦 Twitter | 📹 YouTube | ☕️ BuyMeaCoffee | Ko-fi💜

Not a medium member ? Use this friend link to read this article for free.

🎈Introduction

Have you ever wanted to convert a markdown file to a Streamlit app? Well, you’re in luck because it’s pretty much easier than you might think! Quick recall, Streamlit is a powerful and easy-to-use library for creating interactive web apps using Python. It also allows developers to create beautiful, interactive and responsive web apps quickly. In this post, I’m going to explain that using just a few lines of code.

Check the detailed video tutorial here. Also, don't forget to check other Streamlit-related videos for a quick start! Here's the playlist.

👨🏾‍💻Let's get started

It is important to note that in order to run the following code, you will need to have the following dependencies installed:

  • Streamlit : You can install Streamlit by running pip install streamlit in your command line.
  • glob : The glob library is a built-in library in python, so no need to install it.

--

--

Avra

Community Lead, Databutton. Biophysics, PhD Candidate