Commit Graph

422 Commits

Author SHA1 Message Date
Twirre
55f6d45228 Merge branch 'chore/project-structure' into 'dev'
Change project structure

See merge request ics/sp/2025/n25b/pepperplus-cb!2
2025-10-08 13:29:47 +00:00
80d03de3c8 fix: correct cross-origin handling 2025-10-08 15:27:06 +02:00
7a8bd4393e fix: typo 2025-10-08 15:15:52 +02:00
826907643c docs: update README
Add an instruction for running the development server.
2025-10-08 15:05:39 +02:00
1229df70b0 chore: filled in project structure
Added some example basic files containing a functioning /message
endpoint which logs the received message to INFO.

ref: N25B-144
2025-10-08 15:02:11 +02:00
Björn Otgaar
6ebdde3836 feat: automatically pings RI for disconnection,
handles disconnection events and sends
disconenction messages to UI.

ref: N25B-151
2025-10-08 14:33:23 +02:00
9e96d57b6c chore: add test/ directory
Directory for tests. Should mirror src/ structure eventually.

ref: N25B-144
2025-10-08 13:30:35 +02:00
7ba40b0bf8 chore: add basic project structure
Empty files everywhere, basic module structure created with __init__.py
files.

ref: N25B-144
2025-10-08 13:29:04 +02:00
0b3731314b chore: initialized UV repository
Also added the initial packages necessary for audio transcription.

ref: N25B-144
2025-10-08 13:23:52 +02:00
5518763ad5 chore: add .gitignore and README base
Very basic README, to be expanded in the future.

ref: N25B-144
2025-10-08 13:17:53 +02:00
Björn Otgaar
ed064b2477 fix: doesn't crash your entire WSL system when
running.
2025-10-07 18:30:39 +02:00
2584433
0e014c3dba Merge branch 'feat/git-automatic-hooks' into 'dev'
Added githooks

See merge request ics/sp/2025/n25b/pepperplus-cb!1
2025-10-07 14:49:11 +00:00
2584433
ae10d11141 Added githooks 2025-10-07 14:49:11 +00:00
Björn Otgaar
9c7e3cd0dc feat: initial setup of SUB/PUB ports with json
handling of sub messages and message queue to UI

ref: N25B-151.
2025-10-07 16:23:37 +02:00
6e7c78e888 docs: add comments 2025-09-27 10:36:59 +02:00
Kasper
116ca3dd10 chore: update dependencies
Removed the dependency on sse_starlette, as it was no longer needed.
2025-09-27 10:20:23 +02:00
Kasper
6b50ffba6a refactor: use StreamingResponse instead of EventSourceResponse
Use FastAPI's native `StreamingResponse` for less dependencies. This
initially didn't work because I didn't include the additional header
specifying the content type, which is an event stream.

ref: N25B-110
2025-09-27 10:18:39 +02:00
Kasper
fb9cbc5ab9 chore: add .gitignore
Uses a template for Python .gitignore files found
[here](https://github.com/github/gitignore/blob/main/Python.gitignore).
The only change from default is adding the .idea/ folder to the ignored
list (which might not be preferred, we will have to find out).
2025-09-27 10:06:12 +02:00
Kasper
349fcb5ac1 feat: add basic UI2CB and CB2UI communication
The Python application exposes an endpoint /message for the UI to send
messages to.

It also exposes an SSE endpoint /sse for the UI to listen to. Every
second, the CB sends the current time to UI.

ref: N25B-107
ref: N25B-110
2025-09-26 21:44:48 +02:00
Kasper
cc9bfbb777 chore: update dependencies 2025-09-26 21:42:35 +02:00
Kasper
028ec20043 chore: initialize UV repository 2025-09-26 20:36:06 +02:00
54b22d8023 Initial commit 2025-09-26 18:06:44 +00:00