Skip to content

Sharing uranium market stock prices, analyses and relevant news on Twitter.

Notifications You must be signed in to change notification settings

victorabarros/ura-bot

Repository files navigation

UraBot

Twitter and Nostr page dedicated to sharing uranium market stock prices, analyses and relevant news.

How to run

You can find all commands on ./Makefile

write .env file similar to .env.example

# locally run with hot reload
make docker-run-dev

# api requests
make healthcheck
make tweet-ura-stocks
make tweet-ura-news

# automated tests
make docker-test

# build and run production version
make docker-build
make docker-run

Endpoint

verb endpoint description
GET /health healthcheck
POST /stocks/urabot post Uranium market stocks price in real time
POST /news/urabot post Uranium market news

Flow

    flowchart LR;

      %% components
      cron[cron];
      server[UraBot<br>Server];
      finhub[finhub];
      client[twitter];
      client2[nostr];

      %% flow
      cron--->
      server--->
      client;
      server--->
      client2;

      finhub----
      server;

      %% styles
      classDef box fill-opacity:.5, stroke:grey, stroke-width:.5px;
      class cron,server,finhub,db,client,client2 box
Loading

Monitoring

To monitor the bot's server, it's using the Uptime Kuma, a self-hosted monitoring tool. It has integration with Telegram, so if a heartbeat fails it sends a message on telegram.

Support

I'm more than happy to be honored with your support.


Made in Brazil