Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
TwitterUsername string
TwitterPassword string
// Path to the feeds JSON file (default: data/rss_feeds.json)
FeedsFile string
// Category filter — empty means all categories
// e.g. "tech", "cybersecurity", "world" — matches category field in rss_feeds.json
Category string
// How often to poll all feeds
PollInterval time.Duration
// Ignore articles older than this
MaxArticleAge time.Duration
// Minimum gap between tweets to avoid rate limits
TweetDelay time.Duration
// Max tweets per run (0 = unlimited)
MaxTweetsPerRun int
// POST_MODE controls content type: "news", "meme", or "mixed"
PostMode string
// Groq API key for AI-generated meme/humor posts
GroqAPIKey string
// Imgflip credentials for meme image generation (free at imgflip.com)
ImgflipUsername string
ImgflipPassword string
}
Click to show internal directories.
Click to hide internal directories.