Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
625871b
Initial commit
thijsfranck Aug 6, 2025
f15c870
chore: initial workspace setup (#1)
thijsfranck Aug 6, 2025
10a9e92
ci: update docs workflow permissions
thijsfranck Aug 6, 2025
24e20c2
docs: add contributor guide (#2)
thijsfranck Aug 6, 2025
523d6d3
chore: update license year
thijsfranck Aug 6, 2025
92fc700
added my portrait (#3)
leolhuile Aug 6, 2025
7de9692
Add user profile (#4)
Zike01 Aug 6, 2025
db738b9
docs: add profile (#5)
FloncDev Aug 6, 2025
6762dfa
ci: support signed commits in devcontainer (#6)
thijsfranck Aug 8, 2025
9575df4
chore(dev): add devenv support (#13)
FloncDev Aug 9, 2025
bb69650
chore: create skeleton app (#14)
FloncDev Aug 9, 2025
c325273
chore: update package-lock.json
thijsfranck Aug 9, 2025
d86e959
docs: add my profile (#17)
esmaycat Aug 9, 2025
af6c31e
feat: add basic components for the app (#18)
thijsfranck Aug 11, 2025
45a49a1
fix: configure pyright with venv path (#19)
esmaycat Aug 11, 2025
594b93e
feat: add camera capture (#20)
thijsfranck Aug 12, 2025
4cf3ec0
feat: prototype of the a description model (#21)
esmaycat Aug 14, 2025
6843602
feat: camera image analysis (#24)
thijsfranck Aug 16, 2025
4556e8c
feat: store pokemon in indexeddb (#25)
thijsfranck Aug 17, 2025
79f726d
feat: ui cleanup and bug fixes (#26)
thijsfranck Aug 18, 2025
645b58b
feat: users can mark pokemon as "favourites" (#27)
esmaycat Aug 18, 2025
b65184a
docs: add presentation (#28)
thijsfranck Aug 22, 2025
70bc0c4
Add 'calm-calatheas/' from commit 'b65184af2bb2e5b62cd66bc76edbf24957…
janine9vn Sep 13, 2025
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
93 changes: 93 additions & 0 deletions calm-calatheas/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
{
"customizations": {
"vscode": {
"extensions": [
"bierner.markdown-mermaid",
"charliermarsh.ruff",
"DavidAnson.vscode-markdownlint",
"esbenp.prettier-vscode",
"GitHub.vscode-pull-request-github",
"tamasfe.even-better-toml",
"-ms-python.autopep8"
],
"settings": {
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[markdown]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[python]": {
"editor.defaultFormatter": "charliermarsh.ruff"
},
"[toml]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[yaml]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"editor.formatOnSave": true,
"editor.formatOnSaveMode": "file",
"files.exclude": {
"**/.pytest_cache": true,
"**/.ruff_cache": true,
"**/__pycache__": true,
".venv": true,
"node_modules": true,
"site": true
},
"files.insertFinalNewline": true,
"files.watcherExclude": {
"**/.pytest_cache": true,
"**/.ruff_cache": true,
"**/__pycache__": true,
"**/dist": true,
".git/objects/**": true,
".git/subtree-cache/**": true,
".venv": true,
"node_modules": true,
"site": true
},
"python.analysis.typeCheckingMode": "standard",
"python.defaultInterpreterPath": "${containerWorkspaceFolder}/.venv/bin/python",
"python.testing.pytestEnabled": true,
"python.testing.unittestEnabled": false
}
}
},
"features": {
"ghcr.io/devcontainers-extra/features/apt-packages": {
"packages": ["gnupg2", "graphviz"]
},
"ghcr.io/devcontainers/features/docker-in-docker:2": {},
"ghcr.io/devcontainers/features/node:1": {
"version": "lts"
},
"ghcr.io/devcontainers/features/python:1": {
"toolsToInstall": ["uv"],
"version": "3.13"
}
},
"forwardPorts": [8000, 9000],
"image": "mcr.microsoft.com/devcontainers/base:noble",
"name": "Calm Calatheas 🪴",
"onCreateCommand": {
"npm": "bash .devcontainer/npm.sh",
"uv": "bash .devcontainer/uv.sh"
},
"portsAttributes": {
"8000": {
"label": "Development Server",
"onAutoForward": "notify"
},
"9000": {
"label": "Documentation Server",
"onAutoForward": "notify"
}
},
"postCreateCommand": {
"playwright": "bash .devcontainer/playwright.sh",
"pre-commit": "bash .devcontainer/pre-commit.sh"
},
"runArgs": ["--gpus", "all"]
}
4 changes: 4 additions & 0 deletions calm-calatheas/.devcontainer/npm.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash

# Install or update dependencies
npm install
4 changes: 4 additions & 0 deletions calm-calatheas/.devcontainer/playwright.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash

# Install playwright dependencies
uv run playwright install --with-deps
7 changes: 7 additions & 0 deletions calm-calatheas/.devcontainer/pre-commit.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash

# Mark the current directory as safe for Git operations
git config --global --add safe.directory $PWD

# Install pre-commit hooks using uv
uv run pre-commit install
5 changes: 5 additions & 0 deletions calm-calatheas/.devcontainer/uv.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash

# Install Python dependencies using uv
uv venv --allow-existing
uv sync
3 changes: 3 additions & 0 deletions calm-calatheas/.envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source_url "https://raw.githubusercontent.com/cachix/devenv/82c0147677e510b247d8b9165c54f73d32dfd899/direnvrc" "sha256-7u4iDd1nZpxL4tCzmPG0dQgC5V+/44Ba+tHkPob1v2k="

use devenv
1 change: 1 addition & 0 deletions calm-calatheas/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto eol=lf
57 changes: 57 additions & 0 deletions calm-calatheas/.github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: Lint

on:
push:
branches:
- main
pull_request:

concurrency: lint-${{ github.sha }}

jobs:
lint:
runs-on: ubuntu-latest

env:
PYTHON_VERSION: "3.13"

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}

- name: Install uv
run: python -m pip install uv

- name: Cache the virtualenv
uses: actions/cache@v4
with:
path: ./.venv
key: ${{ runner.os }}-venv-${{ hashFiles('**/uv.lock') }}

- name: Install Python dependencies
run: uv venv --allow-existing && uv sync

- name: Update GITHUB_PATH
run: echo "$(uv python find)" >> $GITHUB_PATH

- name: Setup Node.js and dependencies
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
registry-url: "https://npm.pkg.github.com"

- name: Install Node.js dependencies
run: npm install
shell: bash

- name: Run pre-commit hooks
uses: pre-commit/action@v3.0.1

- name: Build the documentation
run: uv run task build-docs
50 changes: 50 additions & 0 deletions calm-calatheas/.github/workflows/publish-docs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Publish Documentation

concurrency:
group: "docs"

on:
push:
branches:
- main

jobs:
publish:
runs-on: ubuntu-latest

permissions:
contents: write
pages: write

env:
PYTHON_VERSION: "3.13"

steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0

- run: git config --global user.email "calm-calatheas@github.com"
- run: git config --global user.name "Calm Calatheas"

- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}

- name: Install uv
run: python -m pip install uv

- name: Cache the virtualenv
uses: actions/cache@v4
with:
path: ./.venv
key: ${{ runner.os }}-venv-${{ hashFiles('**/uv.lock') }}

- name: Install Python dependencies
run: uv venv --allow-existing && uv sync

- name: Publish documentation
run: uv run mkdocs gh-deploy
shell: bash
Loading