Skip to content

Commit d75ed70

Browse files
authored
Merge pull request #1 from payalrvs3/v2-upgrade
v2.0: rewrite as a modular, multi-feature wellbeing app
2 parents 97b34c9 + 1b080fb commit d75ed70

52 files changed

Lines changed: 2532 additions & 982 deletions

Some content is hidden

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

‎.devcontainer/devcontainer.json‎

Lines changed: 0 additions & 33 deletions
This file was deleted.

‎.dockerignore‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
.git
2+
.env
3+
data
4+
tests
5+
docs
6+
__pycache__
7+
.pytest_cache
8+
.ruff_cache

‎.env.example‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Copy to .env and fill in. Never commit .env.
2+
GROQ_API_KEY=your-groq-api-key
3+
4+
# Optional overrides
5+
# WELLSY_MODEL=openai/gpt-oss-120b
6+
# WELLSY_DB=data/wellsy.db

‎.github/workflows/ci.yml‎

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: CI
2+
on: [push, pull_request]
3+
jobs:
4+
test:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@v4
8+
- uses: actions/setup-python@v5
9+
with:
10+
python-version: "3.12"
11+
cache: pip
12+
- run: pip install -r requirements-dev.txt
13+
- run: ruff check .
14+
- run: ruff format --check .
15+
- run: pytest -q

‎.gitignore‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,3 +205,10 @@ cython_debug/
205205
marimo/_static/
206206
marimo/_lsp/
207207
__marimo__/
208+
209+
# Wellsy
210+
data/
211+
*.db
212+
*.db-wal
213+
*.db-shm
214+
.streamlit/secrets.toml

‎.streamlit/config.toml‎

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
[theme]
2+
primaryColor = "#2F8FD8"
3+
baseRadius = "large"
4+
5+
[theme.light]
6+
backgroundColor = "#F7FAFD"
7+
secondaryBackgroundColor = "#EAF2FA"
8+
textColor = "#13324B"
9+
10+
[theme.dark]
11+
primaryColor = "#5AB4F0"
12+
backgroundColor = "#0F1720"
13+
secondaryBackgroundColor = "#182431"
14+
textColor = "#E6EEF5"
15+
16+
[client]
17+
toolbarMode = "minimal"
18+
19+
[browser]
20+
gatherUsageStats = false

‎Dockerfile‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
FROM python:3.12-slim
2+
WORKDIR /app
3+
COPY requirements.txt .
4+
RUN pip install --no-cache-dir -r requirements.txt
5+
COPY . .
6+
ENV WELLSY_DB=/data/wellsy.db
7+
VOLUME /data
8+
EXPOSE 8501
9+
CMD ["streamlit", "run", "app.py", "--server.address=0.0.0.0", "--server.port=8501"]

0 commit comments

Comments
 (0)