Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ celerybeat.pid
# Environments
.env
.envrc
.venv
.venv*
env/
venv/
ENV/
Expand Down
3 changes: 2 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"GitHub.github-vscode-theme",
"yzhang.markdown-all-in-one",
"tamasfe.even-better-toml",
"ms-python.vscode-python-envs"
"ms-python.vscode-python-envs",
"arturock.gitstash"
]
}
11 changes: 9 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,14 @@

All notable changes to this repository will be documented in this file.

## [1.0.0]
## [1.0.0] Sat,10 jan 2026

- Initial release.
- Include boilerplate with streamlit and fast api
- Include boilerplate without streamlit and fast api

## [1.2.0] Sat,17 Jan 2026

- Updated UI, using common header and footer.
- Add clean script.
- Add exception handling on API.
- handle 404 on UI
32 changes: 26 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
# Fabric Generator and Search Utility
# Sample BoilerPlate

A Streamlit template for Recursive Zero repository
A boilerplate for python project with poetry and fastapi

## Installation Guide

## Prerequisites

- Python ≥ 3.11
- Poetry ≥ 2.2.1
- Streamlit ≥ 1.49.1

## Getting Started

Expand All @@ -34,7 +33,6 @@ Ensure below files are configured (create if not exist) properly to run the proj

- `.env.local`,
- `.env`, and
- `.streamlit/secrets.toml`

## Install Dependencies

Expand All @@ -51,7 +49,7 @@ poetry install

## How to Run

## Run Streamlit App
## Run Sample App

```bash
poetry run sample dev
Expand Down Expand Up @@ -120,10 +118,12 @@ pip install sample

## CLI Shortcuts

`sample dev` → Launch Streamlit UI
`sample dev` → Launch UI

`sample api` → Launch FastAPI

`sample --version` -> check current package version

current version will be printed on start of above commands.

## Install GIT hooks
Expand Down Expand Up @@ -151,6 +151,26 @@ poetry env info
poetry env remove <environment-full-name>
```

## Reset Environment

Use the reset script to clean artifacts and recreate the project virtual environment:

```bash
./scripts/reset.sh
```

Note:

On first clone, the script is already executable (permission is tracked in git).

If you see Permission denied, run once:

```bash
chmod +x scripts/reset.sh
```

This will completely reset the environment.

## License

[MIT](./LICENSE)
Expand Down
File renamed without changes.
5 changes: 5 additions & 0 deletions assets/css/404.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.container_404 {
height: fit-content;
display: grid;
place-content: center;
}
13 changes: 8 additions & 5 deletions templates/faq.css → assets/css/faq.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
--bg: #ffffff;
--border: #e1e4e8;
--border-hover: #c1c8cd;
--summary-color: #24292e;
--summary-color: #0c5baa;
--text-color: #586069;
}
}
Expand All @@ -15,14 +15,13 @@
--bg: #2a2a2a;
--border: #3a3a3a;
--border-hover: #4a4a4a;
--summary-color: #e1e4e8;
--summary-color: #1254ab;
--text-color: #764ba2;
}
}

.faq-container {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
max-width: 900px;
width: 100%;
margin: 20px auto;
padding: 20px;
line-height: 1.6;
Expand Down Expand Up @@ -59,6 +58,10 @@
box-shadow: 0 6px 12px rgba(215, 81, 202, 0.12);
border-color: var(--border-hover);
}

&:open {
border: 2px dashed grey;
}
}

& p {
Expand Down Expand Up @@ -88,4 +91,4 @@
font-size: 0.9375rem;
}
}
}
}
Loading