This utility package extracts structured markdown content from web URLs using unstructured
and Google's Gemini API
-
Install from GitHub
pip install git+git://github.com/ndamulelonemakh/u2md.git
-
Setup the API key
export GEMINI_API_KEY=<your-api-key>
-
Run from the command line
u2md <url>
-
Run from Python
from u2md import URLContentExtractor # see ./demo.py for more details
-
Streamlit app
streamlit run demo.py