Ban Appeal Processor is a web application designed to streamline the processing of ban appeals for the SS14 project. It provides an interface for viewing and managing outstanding ban appeals and discussions. The application can gather stats, provide an overview of outstanding ban appeals, and process them by collating required info for an admin vote and generating an AI summarized description.
- Appeal Management: View and process outstanding ban appeals.
- Automated Scraping: Uses Playwright to scrape data from the SS14 forums.
- Dynamic UI: Built with Blazor, providing a modern and interactive interface.
- CLI Console: Main project also includes a CLI console for various operations.
- .NET 8.0 SDK or later
- Node.js (for Playwright installation)
-
Clone the repository:
git clone https://github.com/Titian3/BanAppealManager.git cd your-repository
-
Configure the environment:
- Add login details to
.defaultenv
and rename it to.env
. - You will need to enter 2FA in the console on the first run, even on browser, watch for it in the console when processing an appeal.
- Add login details to
-
Install dependencies:
dotnet restore
-
Run the application using the HTTP profile:
"profiles": { "http": { "commandName": "Project", "dotnetRunMessages": true, "launchBrowser": true, "applicationUrl": "http://localhost:5150", "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" } } }
dotnet run --launch-profile http
- Navigate to the home page of the application.
- View statistics and overview of ban appeals.
- Click "Process" next to an appeal to view details and start processing.
- BanAppealManager.Main: Core logic for scraping and processing appeals.
- BanAppealManager.UI: Blazor components for the front-end interface.
- BanAppealManager.Main.Scrapers: Classes for web scraping using Playwright.
This project is licensed under the MIT License. See the LICENSE file for more details.