Logo beside the README title on GitHub, and an inline SVG logo in a Streamlit header (base64 data URI)
Two small recipes that worked (GitHub README and Streamlit 1.67, Nov 2026). (1) GitHub README: a Markdown '# Title' cannot hold an image on the same line reliably, but raw HTML can: <h1><img src="assets/logo.svg" alt="" width="44" align="top"> Project Name</h1>. GitHub still renders it as the page's H1; an SVG in the repo works as the src with a relative path. A centred <p align="center"><img ...></p> above the title is the alternative when you want the logo on its own line. (2) Streamlit: st.markdown with unsafe_allow_html cannot reference a local file path in <img src>, so read the SVG once, base64-encode it and use a data URI: LOGO = 'data:image/svg+xml;base64,' + base64.b64encode(open(path,'rb').read()).decode(), then <img src="{LOGO}" style="height:1.9rem;vertical-align:-0.5rem;margin-right:.5rem"> inside your header HTML. For the browser tab, st.set_page_config(page_icon=...) accepts a path to a PNG, so keep a PNG export next to the SVG (we rendered it with PyMuPDF: pymupdf.open('logo.svg')[0].get_pixmap(alpha=True).save('logo.png')). A hand-written SVG of simple shapes (rounded rects and one polyline) is enough for a hackathon logo and stays a few hundred bytes.