Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/andfanilo/streamlit-weekly-roundup-api

Browse through all links from Streamlit Weekly Roundup posts
https://github.com/andfanilo/streamlit-weekly-roundup-api

fastapi streamlit

Last synced: 3 months ago
JSON representation

Browse through all links from Streamlit Weekly Roundup posts

Awesome Lists containing this project

README

        

# Streamlit Weekly Roundup API

[![Streamlit App](https://static.streamlit.io/badges/streamlit_badge_black_white.svg)](https://share.streamlit.io/andfanilo/streamlit-weekly-roundup-api/main/src/client.py)

Browse through all links from Streamlit Weekly Roundup [posts](https://discuss.streamlit.io/tag/weekly-roundup). _Also looking for an excuse to do a FastAPI/Streamlit app :)_

![](./demo.gif)

## Run

#### Download data

TODO

#### API

```bash
cd src/
uvicorn server:app --reload
```

Open a browser and head to `http://localhost:8000`.

Check Swagger UI on `/docs` or Redoc on `/redoc`.

#### Streamlit app

```bash
streamlit run src/client.py
```

Open a browser and head to `http://localhost:8501`.

## Next steps

- Command to download data from [forum](https://discuss.streamlit.io) (though this would require an API key :sad:)
- Command to run a FastAPI server over a folder of data, or hitting the forum through an API key.
- Command to run Streamlit webapp over a folder of data, or hitting the FastAPI server.