Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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 .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Build Docker image
run: docker build ./backend -t prodl-backend
run: docker build ./apps/backend -t prodl-backend
File renamed without changes.
File renamed without changes.
File renamed without changes.
Empty file added apps/bot/prodl_bot/__init__.py
Empty file.
12 changes: 12 additions & 0 deletions apps/bot/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[project]
name = "prodl-bot"
version = "0.1.0"
requires-python = ">=3.12"
dependencies = [
"prodl-core",
"python-telegram-bot>=21.0",
]

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
Empty file added apps/cli/prodl_cli/__init__.py
Empty file.
16 changes: 16 additions & 0 deletions apps/cli/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[project]
name = "prodl-cli"
version = "0.1.0"
requires-python = ">=3.12"
dependencies = [
"prodl-core",
"typer>=0.12.0",
"rich>=13.0",
]

[project.scripts]
prodl = "prodl_cli:app"

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
File renamed without changes.
Empty file added apps/tui/prodl_tui/__init__.py
Empty file.
15 changes: 15 additions & 0 deletions apps/tui/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[project]
name = "prodl-tui"
version = "0.1.0"
requires-python = ">=3.12"
dependencies = [
"prodl-core",
"textual>=0.70.0",
]

[project.scripts]
prodl-tui = "prodl_tui:main"

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '3.9'

services:
backend:
build: ./backend
build: ./apps/backend
ports:
- "8000:8000"
volumes:
Expand All @@ -14,7 +14,7 @@ services:
ports:
- "3000:80"
volumes:
- ./frontend:/usr/share/nginx/html:ro
- ./apps/frontend:/usr/share/nginx/html:ro
depends_on:
- backend
restart: unless-stopped
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
14 changes: 14 additions & 0 deletions packages/prodl-core/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[project]
name = "prodl-core"
version = "0.1.0"
requires-python = ">=3.12"
dependencies = [
"yt-dlp>=2024.1.1",
"httpx>=0.27.0",
"pydantic>=2.0",
"aiofiles>=23.0",
]

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
Loading