From 715285c0a9e87b8b285fa2f1fcda31b6ada26285 Mon Sep 17 00:00:00 2001 From: SecuBox Date: Wed, 11 Mar 2026 19:05:56 +0100 Subject: [PATCH] Initial setup --- README.md | 15 +++++++++++++++ app.py | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ requirements.txt | 1 + 3 files changed, 64 insertions(+) create mode 100644 README.md create mode 100644 app.py create mode 100644 requirements.txt diff --git a/README.md b/README.md new file mode 100644 index 0000000..ca8b998 --- /dev/null +++ b/README.md @@ -0,0 +1,15 @@ +# Basic Streamlit Template + +A minimal Streamlit app with sidebar navigation and two-column layout. + +## Features +- Page configuration with title and icon +- Sidebar with user input +- Two-column responsive layout +- Quick start guide + +## Usage +```bash +streamlitctl create myapp --from-template basic +streamlitctl start myapp +``` diff --git a/app.py b/app.py new file mode 100644 index 0000000..a1a8ea0 --- /dev/null +++ b/app.py @@ -0,0 +1,48 @@ +""" +testforge2 - Basic Streamlit App +Created with Streamlit Forge +""" +import streamlit as st + +st.set_page_config( + page_title="testforge2", + page_icon="🚀", + layout="wide" +) + +st.title("testforge2") + +st.markdown(""" +Welcome to your new Streamlit app! + +Edit this file to customize your application. +""") + +# Sidebar +st.sidebar.header("Settings") +name = st.sidebar.text_input("Your name", "World") + +# Main content +st.header(f"Hello, {name}!") + +col1, col2 = st.columns(2) + +with col1: + st.subheader("Quick Start") + st.markdown(""" + 1. Edit `app.py` to add your content + 2. Add dependencies to `requirements.txt` + 3. Run `streamlitctl restart testforge2` + """) + +with col2: + st.subheader("Resources") + st.markdown(""" + - [Streamlit Docs](https://docs.streamlit.io) + - [Streamlit Gallery](https://streamlit.io/gallery) + - [Streamlit Forge Guide](/docs) + """) + +# Footer +st.markdown("---") +st.caption("Created with Streamlit Forge | SecuBox") diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..db2182f --- /dev/null +++ b/requirements.txt @@ -0,0 +1 @@ +streamlit>=1.30.0