├── .devcontainer └── devcontainer.json ├── .streamlit └── config.toml ├── README.md ├── requirements.txt └── streamlit_app.py /.devcontainer /devcontainer.json: -------------------------------------------------------------------------------- 1 | // For format details, see https://aka.ms/devcontainer.json. For config options, see the README at: 2 | // https://github.com/microsoft/vscode-dev-containers/tree/v0.209.6/containers/python-3 3 | { 4 | "image": "mcr.microsoft.com/devcontainers/python:3.11-bullseye", 5 | "customizations": { 6 | "codespaces": { 7 | "openFiles": [ 8 | "README.md", 9 | "streamlit_app.py" 10 | ] 11 | }, 12 | "vscode": { 13 | "settings": {}, 14 | "extensions": [ 15 | "ms-python.python", 16 | "ms-python.vscode-pylance" 17 | ] 18 | } 19 | }, 20 | // Use 'forwardPorts' to make a list of ports inside the container available locally. 21 | "forwardPorts": [ 22 | 8501 23 | ], 24 | // Use 'postCreateCommand' to run commands after the container is created. 25 | // Install app dependencies. 26 | "postCreateCommand": "pip3 install --user -r requirements.txt", 27 | // Use 'postAttachCommand' to run commands after a tool has attached to the container. 28 | // Start the app. 29 | "postAttachCommand": { 30 | "server": "streamlit run streamlit_app.py --server.enableCORS false --server.enableXsrfProtection false" 31 | }, 32 | "portsAttributes": { 33 | "8501": { 34 | "label": "Application", 35 | "onAutoForward": "openPreview" 36 | } 37 | }, 38 | // Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. 39 | "remoteUser": "vscode", 40 | "features": { 41 | // Optional features for development - increase container boot time! 42 | // "ghcr.io/devcontainers-contrib/features/coverage-py:2": {}, 43 | // "git": "latest", 44 | // "github-cli": "latest" 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /.streamlit/config.toml: -------------------------------------------------------------------------------- 1 | [theme] 2 | primaryColor="#F63366" 3 | backgroundColor="#FFFFFF" 4 | secondaryBackgroundColor="#F0F2F6" 5 | textColor="#262730" 6 | font="sans serif" 7 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # 📦 Streamlit App Starter Kit 2 | ``` 3 | ⬆️ (Replace above with your app's name) 4 | ``` 5 | 6 | Description of the app ... 7 | 8 | ## Demo App 9 | 10 | [![Streamlit App](https://static.streamlit.io/badges/streamlit_badge_black_white.svg)](https://app-starter-kit.streamlit.app/) 11 | 12 | ## GitHub Codespaces 13 | 14 | [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/streamlit/app-starter-kit?quickstart=1) 15 | 16 | ## Section Heading 17 | 18 | This is filler text, please replace this with text for this section. 19 | 20 | ## Further Reading 21 | 22 | This is filler text, please replace this with a explanatory text about further relevant resources for this repo 23 | - Resource 1 24 | - Resource 2 25 | - Resource 3 26 | -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | streamlit>=1.26.0 2 | -------------------------------------------------------------------------------- /streamlit_app.py: -------------------------------------------------------------------------------- 1 | import streamlit as st 2 | 3 | st.title('🎈 App Name') 4 | 5 | st.write('Hello world!') 6 | --------------------------------------------------------------------------------