discours.io as messenger
Go to file
Untone c96e8afc45
All checks were successful
deploy / deploy (push) Successful in 1m10s
logfix
2024-04-19 11:41:02 +03:00
.gitea/workflows feat: add in CI main->v2 , dev->staging 2024-04-11 15:36:17 -03:00
models unread-counter-fix 2023-12-18 03:15:59 +03:00
resolvers logfix 2024-04-19 11:41:02 +03:00
services async-fix 2024-04-19 11:22:57 +03:00
__init__.py pythonpath-patch 2024-02-18 08:28:20 +03:00
.editorconfig formatted 2023-10-14 15:59:43 +03:00
.gitignore load-chats-debug 2024-01-24 10:36:50 +03:00
.pre-commit-config.yaml update 2024-04-08 09:31:46 +03:00
app.json precommit2 2024-01-25 11:28:06 +03:00
CHANGELOG.txt async-fix 2024-04-19 11:22:57 +03:00
Dockerfile less-install 2024-02-17 14:00:46 +03:00
inbox.graphql cached-request-9 2023-12-19 20:19:16 +03:00
main.py auth-update 2024-04-18 14:28:10 +03:00
nginx.conf.sigil sigil-fix 2024-01-15 11:25:28 +03:00
pyproject.toml core-adapter-upgrade 2024-04-19 10:47:16 +03:00
README.md pyright-fix 2023-11-27 11:13:17 +03:00
server.py logger+fmt+isort 2024-04-18 13:47:01 +03:00
settings.py logger+fmt+isort 2024-04-18 13:47:01 +03:00

inbox: Сервер для внутренних переписок

ENV

  • REDIS_URL
  • AUTH_URL
  • API_BASE

Как это работает

Redis:

  • Для каждого пользователя создаётся запись в хранилищах chats_by_author/<chat_id> и chats/<chat_id> и канал redis chat:<chat_id>, в котором публикуюутся обновления всех переписок.

Локальная разработка

Запуск локального сервера

mkdir .venv
python3.12 -m venv .venv
poetry env use .venv/bin/python3.12
poetry update
poetry run python server.py