Nick Ninov 2ab7056699 bot: minor bug fix
- `Account` would break when the Python script finishes and does not have anything to logout or close
- Wrong address was used as `wallet_address`
2026-03-23 09:10:04 +02:00
2026-03-23 09:10:04 +02:00
2026-03-23 07:36:49 +02:00
2026-03-05 09:35:04 +00:00
2026-03-23 07:36:49 +02:00
2026-03-23 07:36:49 +02:00
2026-03-23 07:36:49 +02:00
2026-03-23 07:36:49 +02:00
2026-03-23 07:36:49 +02:00
2026-03-19 22:47:35 +02:00
2026-03-19 22:47:35 +02:00
2026-03-19 22:47:35 +02:00

Status App Monitoring

Monitoring tool for Status App communities.

Setup

Environment Variables

  • POSTGRES_USERNAME - Postgres username.
  • POSTGRES_PASSWORD - Postgres password.
  • 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_DISPLAY_NAME - The Status display name that will be used to create an account.
  • STATUS_PASSWORD - The Status password that will be used to create an account.
  • STATUS_MNEMONIC - The mnemonic used to recover the account. If passed a .bkp file will be loaded as well. Use this when you want to login to a bot account via Status App, join a community / leave community and export the .bkp file.

Docker deployement

You can use the docker-compose.yaml to run the project.

Example of .env file to use

# Status Backend connection
STATUS_DISPLAY_NAME = "bot-status"
STATUS_PASSWORD = "ChangeThisPassword"
STATUS_MNEMONIC= "test test test test test test test test test test test test"

# Database config
POSTGRES_HOST=database
POSTGRES_PORT=5432
POSTGRES_DATABASE=status-bot
POSTGRES_USERNAME=status
POSTGRES_PASSWORD=ChangeThisOneAlso

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.

Backups

If you have already created a Status account and want to use it with it's current data, please make sure you export the .bkp file and put it in folder backups and have the following .env variables:

  • STATUS_DISPLAY_NAME
  • STATUS_PASSWORD
  • STATUS_MNEMONIC

Files

  • monitor.py - Status community message monitoring. It will download and upload messages in parallel.
S
Description
Status App Python SDK
https://status.app
Readme
9.4 MiB
Languages
Python 100%