Nick Ninov bb471e049e docs: Account
Related to status-im/data-docs#158

- Move `Signal` class to a separate file
- Create properties and method documentation
- Write `Account` methods documentation

**Note**: Account initialization documentation will be added once the setup process is simplified
2026-03-11 08:31:45 +00:00
2026-03-11 08:30:59 +00:00
2026-03-05 09:35:04 +00:00
2026-03-05 15:18:55 +00:00
2026-03-05 18:06:39 +00:00
2026-03-09 12:35:09 +00:00
2026-03-05 18:06:39 +00:00
2026-03-05 07:50:02 +00:00
2026-03-05 18:06:39 +00:00
2026-03-06 07:23:49 +00:00
2026-03-03 20:01:11 +00:00
2026-03-09 10:11:08 +01:00
2026-03-03 20:01:11 +00:00
2026-03-05 15:18:55 +00:00

Status App Monitoring

Monitoring tool for Status App communities

Setup

Environment Variables

  • POSTGRES_USERNAME - Postgres username.
  • POSTGRES_DATABASE - The database name in the Postgres connection.
  • POSTGRES_HOST - The Postgres host name that will be remotely connected to.
  • POSTGRES_PORT - The Postgres port that will be remotely connected to.
  • STATUS_BACKEND_BASE_URL (OPTIONAL) - The Status Backend URL. If you are running locally you do not need this variable (localhost will be automatically set). If you are running it in a Docker container, please set it to status-backend (as the container_name of the docker-compose.yaml).
  • STATUS_USERNAME - The Status username that will be used to create an account. This is required if you are running Dockerfile for create_account.py.
  • STATUS_PASSWORD - The Status password that will be used to create an account. This is required if you are running Dockerfile for create_account.py.

Account Creation

To create an account, please make sure you have set the following environment variables:

  • STATUS_BACKEND_BASE_URL
  • STATUS_USERNAME
  • STATUS_PASSWORD
docker compose --profile account-creation up

Monitoring

To download and upload messages, please make sure you have set the following environment variables:

  • POSTGRES_USERNAME
  • POSTGRES_DATABASE
  • POSTGRES_HOST
  • POSTGRES_PORT
  • STATUS_BACKEND_BASE_URL
  • STATUS_USERNAME - required if bot_name is not provided in the config.
docker compose --profile monitoring up

Status Backend

Run Backend independently so you can develop and test locally.

docker compose --profile backend up

Python

  1. Setup environment. Conda example:
conda create -n status-monitoring python=3.12

Note: Code has been tested with Python 3.12.

  1. Install requirements
pip install -r requirements.txt

Note: If you are on Windows, you will have to install psycopg2 instead of psycopg2-binary.

Files

Short explanation of what each runnable file does:

  • create_account.py - create a Status App account for the given username and password. Example runs:
    • python create_account.py -u snt-maxxer -p StatusApp#123
    • python create_account.py --username snt-maxxer --password StatusApp#123
    • python create_account.py works if you have added STATUS_USERNAME and STATUS_PASSWORD in your .env file.
  • download.py - download all messages and overall community info from the specified Status App channels in config.yaml.
  • upload.py - upload data from download.py to Postgres.
S
Description
A Python Bot for the Status Application
https://status.app
Readme
3.2 MiB
Languages
Python 99.5%
Dockerfile 0.5%