Skip to content

Commit 56abc9a

Browse files
Merge pull request #2 from recursivezero/feature/core
Feature/core:biolerplate without streamlit
2 parents 0ee6760 + d3b0c01 commit 56abc9a

42 files changed

Lines changed: 989 additions & 2057 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ celerybeat.pid
137137
# Environments
138138
.env
139139
.envrc
140-
.venv
140+
.venv*
141141
env/
142142
venv/
143143
ENV/

.vscode/extensions.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"GitHub.github-vscode-theme",
1515
"yzhang.markdown-all-in-one",
1616
"tamasfe.even-better-toml",
17-
"ms-python.vscode-python-envs"
17+
"ms-python.vscode-python-envs",
18+
"arturock.gitstash"
1819
]
1920
}

CHANGELOG.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,14 @@
22

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

5-
## [1.0.0]
5+
## [1.0.0] Sat,10 jan 2026
66

77
- Initial release.
8-
- Include boilerplate with streamlit and fast api
8+
- Include boilerplate without streamlit and fast api
9+
10+
## [1.2.0] Sat,17 Jan 2026
11+
12+
- Updated UI, using common header and footer.
13+
- Add clean script.
14+
- Add exception handling on API.
15+
- handle 404 on UI

README.md

Lines changed: 26 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
1-
# Fabric Generator and Search Utility
1+
# Sample BoilerPlate
22

3-
A Streamlit template for Recursive Zero repository
3+
A boilerplate for python project with poetry and fastapi
44

55
## Installation Guide
66

77
## Prerequisites
88

99
- Python ≥ 3.11
1010
- Poetry ≥ 2.2.1
11-
- Streamlit ≥ 1.49.1
1211

1312
## Getting Started
1413

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

3534
- `.env.local`,
3635
- `.env`, and
37-
- `.streamlit/secrets.toml`
3836

3937
## Install Dependencies
4038

@@ -51,7 +49,7 @@ poetry install
5149

5250
## How to Run
5351

54-
## Run Streamlit App
52+
## Run Sample App
5553

5654
```bash
5755
poetry run sample dev
@@ -120,10 +118,12 @@ pip install sample
120118

121119
## CLI Shortcuts
122120

123-
`sample dev` → Launch Streamlit UI
121+
`sample dev` → Launch UI
124122

125123
`sample api` → Launch FastAPI
126124

125+
`sample --version` -> check current package version
126+
127127
current version will be printed on start of above commands.
128128

129129
## Install GIT hooks
@@ -151,6 +151,26 @@ poetry env info
151151
poetry env remove <environment-full-name>
152152
```
153153

154+
## Reset Environment
155+
156+
Use the reset script to clean artifacts and recreate the project virtual environment:
157+
158+
```bash
159+
./scripts/reset.sh
160+
```
161+
162+
Note:
163+
164+
On first clone, the script is already executable (permission is tracked in git).
165+
166+
If you see Permission denied, run once:
167+
168+
```bash
169+
chmod +x scripts/reset.sh
170+
```
171+
172+
This will completely reset the environment.
173+
154174
## License
155175

156176
[MIT](./LICENSE)

assets/css/404.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
.container_404 {
2+
height: fit-content;
3+
display: grid;
4+
place-content: center;
5+
}
Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
--bg: #ffffff;
55
--border: #e1e4e8;
66
--border-hover: #c1c8cd;
7-
--summary-color: #24292e;
7+
--summary-color: #0c5baa;
88
--text-color: #586069;
99
}
1010
}
@@ -15,14 +15,13 @@
1515
--bg: #2a2a2a;
1616
--border: #3a3a3a;
1717
--border-hover: #4a4a4a;
18-
--summary-color: #e1e4e8;
18+
--summary-color: #1254ab;
1919
--text-color: #764ba2;
2020
}
2121
}
2222

2323
.faq-container {
24-
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
25-
max-width: 900px;
24+
width: 100%;
2625
margin: 20px auto;
2726
padding: 20px;
2827
line-height: 1.6;
@@ -59,6 +58,10 @@
5958
box-shadow: 0 6px 12px rgba(215, 81, 202, 0.12);
6059
border-color: var(--border-hover);
6160
}
61+
62+
&:open {
63+
border: 2px dashed grey;
64+
}
6265
}
6366

6467
& p {
@@ -88,4 +91,4 @@
8891
font-size: 0.9375rem;
8992
}
9093
}
91-
}
94+
}

0 commit comments

Comments
 (0)