Goal: An automated "Digital Editor" that hunts, curates, and archives anime illustrations. This system acts as an autonomous editor that:
- Collects: Scrapes Twitter/X for new art from tracked artists.
- Reviews: Uses AI (Vision) to judge if the art is "Uwoh" enough (Cute/Sexy) and flags NSFW content.
- Publishes: Pushes the best filtered content to a Telegram Channel.
- Archives: Saves everything to specific deduplicated storage.
Data Flow:
Twitter (Source) -> Go Backend (Collector) -> AI Vision (Processor) -> Database (Storage) -> Telegram Bot (Publisher)
github.com/gin-gonic/gin: Web framework.gorm.io/gorm: ORM for metadata.gorm.io/driver/postgres: Database driver.net/http& Context: For controlling high-concurrency scraping.
DailyUwoh/
├── cmd/
│ └── server/ # Application entry point (main.go)
├── internal/ # Private application logic
│ ├── config/ # Configuration management (.env loading)
│ ├── database/ # Database connection logic
│ ├── model/ # Data entities & DB Schema
│ ├── processor/ # AI Image Analysis (Gemini/OpenAI)
│ ├── publisher/ # Content Distribution (Telegram)
│ ├── repository/ # Data Access Interfaces
│ └── service/ # Core Business Logic (Scraping)
├── deployments/ # Docker & CI/CD configurations
│ └── Dockerfile # Docker build configuration
├── .gitignore # Git ignore rules
├── docker-compose.yml # Docker services setup
├── go.mod # Go module dependencies
└── README.md # Documentation