How zeov1/vk-message-manager works
VK Message Manager is an interactive CLI for browsing VK conversations, reading and deleting the token owner’s messages, exporting conversation history to HTML, and making custom API calls. The principal flow is user input through the CLI, into message-management operations, then through a rate-delimited VK API client to VK. Bulk deletion and export are additional workflows. The manager and CLI are monolithic modules; the graph separates their meaningful responsibilities without implying separate implementation files. Some detailed workflows are inferred from partial excerpts, so only documented or visible calls are linked.
Main entry points: vk_manager.py VK message manager · vk_client.py VK API client · main.py Menu workflows · config.py Runtime configuration
Components 15
Interactive CLI
- Menu workflows
src/main.py - Conversation selection
src/main.py - Message viewing
src/main.py - Bulk deletion flow
src/main.py - Export workflow
src/main.py - Custom API flow
src/main.py
Message Operations
- VK message manager
src/vk_manager.py - Identity and conversations
src/vk_manager.py - History retrieval
src/vk_manager.py - Owned-message deletion
src/vk_manager.py - HTML export
src/vk_manager.py
API Transport
- Runtime configuration
src/config.py - VK API client
src/vk_client.py
Other components
- CLI user
- VK API
Connections 20
- CLI user → Menu workflows: selects actions
src/main.py - Menu workflows → Conversation selection: chooses conversations
src/main.py - Menu workflows → Bulk deletion flow: starts bulk deletion
src/main.py - Menu workflows → Export workflow: starts export
src/main.py - Menu workflows → Custom API flow: starts custom call
src/main.py - Conversation selection → VK message manager: fetches conversations
src/main.py - Message viewing → VK message manager: reads messages
src/main.py - Bulk deletion flow → VK message manager: deletes messages
src/main.py - Export workflow → VK message manager: exports history
src/main.py - Custom API flow → VK message manager: calls raw method
src/main.py - VK message manager → Identity and conversations: handles identity
src/vk_manager.py - VK message manager → History retrieval: loads history
src/vk_manager.py - VK message manager → Owned-message deletion: deletes own messages
src/vk_manager.py - VK message manager → HTML export: renders export
src/vk_manager.py - Identity and conversations → VK API client: calls API
src/vk_manager.py - History retrieval → VK API client: requests history
src/vk_manager.py - Owned-message deletion → VK API client: sends delete calls
src/vk_manager.py - HTML export → VK API client: fetches pages
src/vk_manager.py - Runtime configuration → VK API client: supplies settings
src/vk_client.py - VK API client → VK API: posts API requests
src/vk_client.py