Skip to content

FluffyCobra/ESixBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ESixBot

Dedicated worker repository for generating the daily word cloud and posting it to Twitter/X. The website and experimentation surface now live in the sibling repository at ../ESixWebFun.

Current Scope

  • ESixBot.Domain — bot job entities and contracts for orchestration, persistence, and Twitter posting
  • ESixBot.Application — orchestration and word cloud generation services used by the worker
  • ESixBot.Infrastructure — dependency wiring, persistence, and third-party integrations
  • ESixBot.Bot — Worker Service host with scheduled and manual execution modes

Bot Usage

# Scheduled mode (runs daily at 06:00 UTC)
dotnet run --project src/ESixBot.Bot

# Manual mode for a specific date
dotnet run --project src/ESixBot.Bot -- --date 2026-04-08

Configuration

Keep sensitive values out of appsettings.json and use .NET user secrets for local development.

Local Secret Checklist

  • E621:Username — required before any e621 API call.
  • E621:ApiKey — required before any e621 API call.
  • Twitter:BearerToken — required before any Twitter/X API call.
  • E621:UserAgent — required configuration for e621 requests, but not a secret; keep it in appsettings.json or environment-specific config.
dotnet user-secrets set "E621:Username" "your_e621_username" --project src/ESixBot.Bot
dotnet user-secrets set "E621:ApiKey" "your_e621_api_key" --project src/ESixBot.Bot
dotnet user-secrets set "Twitter:BearerToken" "your_twitter_bearer_token" --project src/ESixBot.Bot

Solution Layout

  • ESixBot.slnx is the worker-focused solution for this repository.
  • It includes the bot host plus the application and infrastructure test projects that validate the worker stack.

Build & Test

dotnet build ESixBot.slnx
dotnet test ESixBot.slnx

About

A Twitter/X bot that generates and posts daily word cloud images from E621 tag statistics. Built with .NET Clean Architecture, Hosted Services, SQLite persistence, and SkiaSharp rendering.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages