tc87 / streamlit-discourse

A streamlit component to embed Discourse topics in your applications.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Streamlit Discourse

Open in Streamlit GitHub PyPI

Installation

pip install streamlit-discourse

Quick usage

from streamlit_discourse import st_discourse

# https://discuss.streamlit.io/t/discourse-component/8061
discourse_url = "discuss.streamlit.io"
topic_id = 8061

st_discourse(discourse_url, topic_id)

Demo

Interested to see Streamlit Discourse in action? You can try it out now in Streamlit Sharing!

Demo's source code and component's documentation are also available there.

Demo preview

About

A streamlit component to embed Discourse topics in your applications.

License:MIT License


Languages

Language:TypeScript 51.8%Language:Python 30.9%Language:HTML 14.4%Language:Shell 2.9%