# filecxx/filecentipede architecture

> Architecture diagram of the GitHub repository filecxx/filecentipede, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-22). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/filecxx/filecentipede
- Repository: https://github.com/filecxx/filecentipede

## Overview

File Centipede is a desktop transfer client combining HTTP/FTP/BitTorrent-style task management, remote file browsing, configuration, browser-assisted capture, and auxiliary tools. The principal workflow is: a user launches the application, submits or opens a transfer, the task manager dispatches commands to the transfer service, and task status/details are rendered back in the UI. The sampled code confirms command-line routing, task/detail service messages, and remote filesystem operation panels; several documented subsystems are represented from the tree but their internal wiring was not sampled.

Main entry points: [`source_code/fileu/main.cpp`](https://github.com/filecxx/filecentipede/blob/main/source_code/fileu/main.cpp) (Main Process), [`source_code/fileu/tasks/tasks_main.cpp`](https://github.com/filecxx/filecentipede/blob/main/source_code/fileu/tasks/tasks_main.cpp) (Task Manager), [`source_code/fileu/file_browser/file_browser_tasks.cpp`](https://github.com/filecxx/filecentipede/blob/main/source_code/fileu/file_browser/file_browser_tasks.cpp) (Filesystem Tasks), [`source_code/fileu/tasks/tasks_details.cpp`](https://github.com/filecxx/filecentipede/blob/main/source_code/fileu/tasks/tasks_details.cpp) (Task Details)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_shell["Application Shell"]
  node_main_process["Main Process<br/>[main.cpp]"]
  node_main_window["Main Window<br/>[main_window.cpp]"]
  node_plugin_manager["Plugin Manager"]
end

subgraph group_transfer["Transfer Workflow"]
  node_task_manager["Task Manager<br/>[tasks_main.cpp]"]
  node_task_details["Task Details<br/>[tasks_details.cpp]"]
  node_transfer_service["Transfer Service"]
  node_search_engine["Search Engine"]
end

subgraph group_remote["Remote Access"]
  node_file_browser["Remote File Browser"]
  node_host_sessions["Host Sessions"]
  node_filesystem_tasks["Filesystem Tasks"]
end

subgraph group_config["Configuration"]
  node_catalogs["Task Catalogs<br/>[catalogs_main.cpp]"]
  node_settings["Settings<br/>[settings_main.cpp]"]
  node_network_rules["Network Rules"]
  node_site_rules["Site Rules"]
end

subgraph group_tools["Utilities"]
  node_http_tool["HTTP Tool<br/>[tool_http.cpp]"]
  node_address_tools["Address Tools"]
  node_checksum_tool["Checksum Tool<br/>[tool_checksum.cpp]"]
  node_file_merge["File Merge"]
  node_torrent_tools["Torrent Tools"]
  node_translation_tool["Translation Tool"]
end

node_user(("User"))
node_browser_extension["Browser Extension"]

node_user -->|"launches"| node_main_process
node_browser_extension -.->|"submits links"| node_main_process
node_main_process -->|"creates"| node_main_window
node_main_process -->|"adds tasks"| node_task_manager
node_main_process -->|"launches"| node_http_tool
node_main_process -->|"launches"| node_address_tools
node_main_process -->|"launches"| node_checksum_tool
node_main_process -->|"launches"| node_file_merge
node_main_process -->|"launches"| node_translation_tool
node_main_process -->|"opens plugins"| node_plugin_manager
node_task_manager -->|"sends commands"| node_transfer_service
node_transfer_service -->|"reports status"| node_task_manager
node_task_manager -->|"opens details"| node_task_details
node_task_details -->|"queries details"| node_transfer_service
node_filesystem_tasks -->|"reads sessions"| node_host_sessions
node_filesystem_tasks -->|"renders operations"| node_file_browser

click node_main_process "https://github.com/filecxx/filecentipede/blob/main/source_code/fileu/main.cpp"
click node_main_window "https://github.com/filecxx/filecentipede/blob/main/source_code/fileu/main_window.cpp"
click node_plugin_manager "https://github.com/filecxx/filecentipede/blob/main/source_code/fileu/plugins/plugins_plugins.cpp"
click node_task_manager "https://github.com/filecxx/filecentipede/blob/main/source_code/fileu/tasks/tasks_main.cpp"
click node_task_details "https://github.com/filecxx/filecentipede/blob/main/source_code/fileu/tasks/tasks_details.cpp"
click node_search_engine "https://github.com/filecxx/filecentipede/blob/main/source_code/fileu/search_engine/search_engine_main.cpp"
click node_file_browser "https://github.com/filecxx/filecentipede/blob/main/source_code/fileu/file_browser/file_browser_main.cpp"
click node_host_sessions "https://github.com/filecxx/filecentipede/blob/main/source_code/fileu/file_browser/file_browser_hosts.cpp"
click node_filesystem_tasks "https://github.com/filecxx/filecentipede/blob/main/source_code/fileu/file_browser/file_browser_tasks.cpp"
click node_catalogs "https://github.com/filecxx/filecentipede/blob/main/source_code/fileu/catalogs/catalogs_main.cpp"
click node_settings "https://github.com/filecxx/filecentipede/blob/main/source_code/fileu/settings/settings_main.cpp"
click node_network_rules "https://github.com/filecxx/filecentipede/blob/main/source_code/fileu/settings/settings_proxies.cpp"
click node_site_rules "https://github.com/filecxx/filecentipede/blob/main/source_code/fileu/settings/settings_site_rules.cpp"
click node_http_tool "https://github.com/filecxx/filecentipede/blob/main/source_code/fileu/tools/tool_http.cpp"
click node_address_tools "https://github.com/filecxx/filecentipede/blob/main/source_code/fileu/tools/tool_create_address.cpp"
click node_checksum_tool "https://github.com/filecxx/filecentipede/blob/main/source_code/fileu/tools/tool_checksum.cpp"
click node_file_merge "https://github.com/filecxx/filecentipede/blob/main/source_code/fileu/tools/tool_file_merge.cpp"
click node_torrent_tools "https://github.com/filecxx/filecentipede/blob/main/source_code/fileu/tools/tool_create_torrent.cpp"
click node_translation_tool "https://github.com/filecxx/filecentipede/blob/main/source_code/fileu/help/help_translator.cpp"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_main_process,node_main_window,node_plugin_manager,node_user,node_browser_extension toneBlue
class node_task_manager,node_task_details,node_transfer_service,node_search_engine toneAmber
class node_file_browser,node_host_sessions,node_filesystem_tasks toneMint
class node_catalogs,node_settings,node_network_rules,node_site_rules toneRose
class node_http_tool,node_address_tools,node_checksum_tool,node_file_merge,node_torrent_tools,node_translation_tool toneIndigo
```

## Components

### Application Shell

- [Main Process](https://github.com/filecxx/filecentipede/blob/main/source_code/fileu/main.cpp): `source_code/fileu/main.cpp`
- [Main Window](https://github.com/filecxx/filecentipede/blob/main/source_code/fileu/main_window.cpp): `source_code/fileu/main_window.cpp`
- [Plugin Manager](https://github.com/filecxx/filecentipede/blob/main/source_code/fileu/plugins/plugins_plugins.cpp): `source_code/fileu/plugins/plugins_plugins.cpp`

### Transfer Workflow

- [Task Manager](https://github.com/filecxx/filecentipede/blob/main/source_code/fileu/tasks/tasks_main.cpp): `source_code/fileu/tasks/tasks_main.cpp`
- [Task Details](https://github.com/filecxx/filecentipede/blob/main/source_code/fileu/tasks/tasks_details.cpp): `source_code/fileu/tasks/tasks_details.cpp`
- **Transfer Service**
- [Search Engine](https://github.com/filecxx/filecentipede/blob/main/source_code/fileu/search_engine/search_engine_main.cpp): `source_code/fileu/search_engine/search_engine_main.cpp`

### Remote Access

- [Remote File Browser](https://github.com/filecxx/filecentipede/blob/main/source_code/fileu/file_browser/file_browser_main.cpp): `source_code/fileu/file_browser/file_browser_main.cpp`
- [Host Sessions](https://github.com/filecxx/filecentipede/blob/main/source_code/fileu/file_browser/file_browser_hosts.cpp): `source_code/fileu/file_browser/file_browser_hosts.cpp`
- [Filesystem Tasks](https://github.com/filecxx/filecentipede/blob/main/source_code/fileu/file_browser/file_browser_tasks.cpp): `source_code/fileu/file_browser/file_browser_tasks.cpp`

### Configuration

- [Task Catalogs](https://github.com/filecxx/filecentipede/blob/main/source_code/fileu/catalogs/catalogs_main.cpp): `source_code/fileu/catalogs/catalogs_main.cpp`
- [Settings](https://github.com/filecxx/filecentipede/blob/main/source_code/fileu/settings/settings_main.cpp): `source_code/fileu/settings/settings_main.cpp`
- [Network Rules](https://github.com/filecxx/filecentipede/blob/main/source_code/fileu/settings/settings_proxies.cpp): `source_code/fileu/settings/settings_proxies.cpp`
- [Site Rules](https://github.com/filecxx/filecentipede/blob/main/source_code/fileu/settings/settings_site_rules.cpp): `source_code/fileu/settings/settings_site_rules.cpp`

### Utilities

- [HTTP Tool](https://github.com/filecxx/filecentipede/blob/main/source_code/fileu/tools/tool_http.cpp): `source_code/fileu/tools/tool_http.cpp`
- [Address Tools](https://github.com/filecxx/filecentipede/blob/main/source_code/fileu/tools/tool_create_address.cpp): `source_code/fileu/tools/tool_create_address.cpp`
- [Checksum Tool](https://github.com/filecxx/filecentipede/blob/main/source_code/fileu/tools/tool_checksum.cpp): `source_code/fileu/tools/tool_checksum.cpp`
- [File Merge](https://github.com/filecxx/filecentipede/blob/main/source_code/fileu/tools/tool_file_merge.cpp): `source_code/fileu/tools/tool_file_merge.cpp`
- [Torrent Tools](https://github.com/filecxx/filecentipede/blob/main/source_code/fileu/tools/tool_create_torrent.cpp): `source_code/fileu/tools/tool_create_torrent.cpp`
- [Translation Tool](https://github.com/filecxx/filecentipede/blob/main/source_code/fileu/help/help_translator.cpp): `source_code/fileu/help/help_translator.cpp`

### Other components

- **User**
- **Browser Extension**

## Connections

- User → Main Process: launches
- Browser Extension → Main Process: submits links
- Main Process → Main Window: creates
- Main Process → Task Manager: adds tasks
- Main Process → HTTP Tool: launches
- Main Process → Address Tools: launches
- Main Process → Checksum Tool: launches
- Main Process → File Merge: launches
- Main Process → Translation Tool: launches
- Main Process → Plugin Manager: opens plugins
- Task Manager → Transfer Service: sends commands
- Transfer Service → Task Manager: reports status
- Task Manager → Task Details: opens details
- Task Details → Transfer Service: queries details
- Filesystem Tasks → Host Sessions: reads sessions
- Filesystem Tasks → Remote File Browser: renders operations
