How ethcelon/willie works
Willie is a Python IRC utility bot: an operator starts it with configuration, it connects to an IRC server, interprets incoming messages, and dispatches registered core tasks and extensible modules that produce replies or perform scheduled work. The map preserves the major runtime layers and representative feature modules, including RSS, search, URL handling, and meetbot. Several module implementations were not sampled; their inclusion reflects the file tree, while uncertain call relationships are omitted. Optional external web lookups are shown separately.
Main entry points: bot.py Bot runtime · web.py HTTP helpers · willie.py Bot entry point · url.py URL titles
Components 21
Startup and configuration
- Bot entry point
willie.py - Configuration
willie/config.py
IRC runtime
- Bot runtime
willie/bot.py - IRC transport
willie/irc.py - Core IRC tasks
willie/coretasks.py - Module API
willie/module.py
State and scheduling
- Database interface
willie/db.py - Job scheduling
willie/bot.py - Shared utilities
willie/tools.py - HTTP helpers
willie/web.py
Bot capabilities
- Administration
willie/modules/adminchannel.py - Dice commands
willie/modules/dice.py - GitHub commands
willie/modules/github.py - Meeting tools
willie/modules/meetbot.py - RSS feeds
willie/modules/rss.py - Web search
willie/modules/search.py - URL titles
willie/modules/url.py - Other commands
willie/modules
Other components
- Operator
- IRC server
- External web services
Connections 24
- Operator → Bot entry point: starts
- Bot entry point → Configuration: loads
willie.py - Bot entry point → Bot runtime: starts
- Bot runtime → Configuration: uses
willie/bot.py - Bot runtime → IRC transport: uses
willie/bot.py - IRC transport → IRC server: connects
willie/irc.py - Bot runtime → Core IRC tasks: loads
willie/bot.py - Bot runtime → Module API: registers
willie/bot.py - Bot runtime → Administration: loads
- Bot runtime → Dice commands: loads
- Bot runtime → GitHub commands: loads
- Bot runtime → Meeting tools: loads
- Bot runtime → RSS feeds: loads
- Bot runtime → Web search: loads
- Bot runtime → URL titles: loads
- Bot runtime → Other commands: loads
- Bot runtime → Database interface: uses
willie/bot.py - Bot runtime → Job scheduling: schedules
willie/bot.py - RSS feeds → Database interface: reads and writes
willie/modules/rss.py - Web search → HTTP helpers: requests
willie/modules/search.py - URL titles → HTTP helpers: fetches pages
willie/modules/url.py - GitHub commands → HTTP helpers: requests
willie/modules/github.py - Meeting tools → URL titles: uses
willie/modules/meetbot.py - HTTP helpers → External web services: makes HTTP requests
willie/web.py