Skip to content
This repository was archived by the owner on Oct 12, 2026. It is now read-only.
zephyrPr1mePublic archive

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Smart Tech Hub Uzbekistan

Автономный сервис сбора, фильтрации и дайджеста IT/ИИ новостей Узбекистана.

Стек

Слой Инструмент
Язык & менеджер Python 3.14 / Poetry
Backend FastAPI + Uvicorn
Сбор (следующие этапы) Telethon, httpx, feedparser, selectolax
Планировщик (следующие этапы) APScheduler
AI (следующие этапы) OpenAI / Gemini + instructor
БД и векторы PostgreSQL + pgvector, SQLAlchemy 2.0 Async, Alembic

Структура

backend/
├── alembic.ini            # заглушка (alembic init — на следующем этапе)
├── alembic/
└── src/
    ├── main.py            # точка входа FastAPI
    ├── config.py
    ├── api/               # REST API (v1: endpoints, router, dependencies)
    ├── core/              # БД, безопасность
    ├── scrapers/          # telegram, rss, web
    ├── processor/         # дедупликация, планировщик
    ├── ai/                # LLM клиент, промпты, схемы
    ├── bot/               # Telegram-бот, паблишер
    ├── models/            # SQLAlchemy ORM
    └── schemas/           # Pydantic схемы API
test/

Запуск

cp .env.example .env          # заполнить переменные
poetry install                # зависимости + dev-группа

# локально
poetry run uvicorn --app-dir backend/src main:app --reload

# или в Docker (app + Postgres/pgvector)
docker compose up --build

Проверки

poetry run ruff check .
poetry run pytest

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages