Sign inSign up

schwitzd/ark-live

By schwitzd

•Updated about 1 month ago

Live view of the last 7 days of ARK trades, streamed straight from RabbitMQ

Image
0

686

schwitzd/ark-live repository overview

⁠Ark Live

A simple static web viewer for ARK trades. It tails a RabbitMQ stream queue and serves them from an in-memory store.

⁠Configuration

Required environment variables:

  • RABBITMQ_URL
  • RABBITMQ_QUEUE
  • RABBITMQ_VHOST
  • RABBITMQ_USERNAME
  • RABBITMQ_PASSWORD
  • RABBITMQ_QUEUE_PASSIVE (default: true; the app never creates the queue)
  • RABBITMQ_PREFETCH (default: 100)
  • RABBITMQ_STREAM_OFFSET (default: first)
  • RABBITMQ_RECONNECT_DELAY (seconds; default: 5)

⁠Development

If you use any IDE that supports devcontainers⁠, open the repo in the provided devcontainer. It includes the right Python version and dependencies so you can start coding without extra setup.

For local work outside the container:

uv sync --group dev

Run the test suite with:

uv run pytest

Tag summary

Content type

Image

Digest

sha256:44e648237…

Size

50.5 MB

Last updated

about 1 month ago

docker pull schwitzd/ark-live