/RedditBots

A .NET 7 console application that runs multiple Reddit bots and posts live logs to an web application

Primary LanguageC#MIT LicenseMIT

RedditBots.Web Deploy RedditBots.Console (via Azure Pipelines)


RedditBots

This repo contains two projects. RedditBots.Console and RedditBots.Web.

RedditBots.Console

RedditBots.Console is an .NET 7 Console application runs 3 Reddit bots and 1 Discord bot. It is build in Azure Pipeline into a docker image and then deployed to a Raspberry Pi. All logs are sent via http to RedditBots.Web via a custom logger.

RedditBots.Web

RedditBots.Web receives all logs from the console and streams them to the browser and stores them in CosmosDb. RedditBots.Web is an Angular 16 web application which is served by an .NET 7 application. All incoming logs from Reddit.Console are streamed to the clients via SignalR. It is deployed via Github Actions to Azure. The resources on Azure are created with Bicep templates.

You can view ReddiBots.Web (live stream of the logs) here: https://redditbots.azurewebsites.net/