mirror of
https://github.com/MasterAcnolo/Freedom-Loader.git
synced 2026-07-29 18:25:47 +02:00
Feat: Update README with detailed project structure and architecture overview
This commit is contained in:
99
README.md
99
README.md
@@ -222,27 +222,88 @@ C:\Users\[USERNAME]\AppData\Roaming\FreedomLoader\config.json
|
|||||||
|
|
||||||
```
|
```
|
||||||
Freedom-Loader/
|
Freedom-Loader/
|
||||||
├── build/ # Build resources and assets
|
├── app/ # Electron main process modules
|
||||||
├── config/ # Configuration files
|
│ ├── autoUpdater.js
|
||||||
├── public/ # Frontend assets (HTML, CSS, JavaScript)
|
│ ├── dependencyCheck.js
|
||||||
├── ressources/ # Internal resources (icons, binaries)
|
│ ├── discordRPC.js
|
||||||
├── app/ # Electron main process modules
|
|
||||||
│ ├── windowManager.js
|
|
||||||
│ ├── ipcHandlers.js
|
│ ├── ipcHandlers.js
|
||||||
│ ├── pathValidator.js
|
│ ├── pathValidator.js
|
||||||
│ ├── ytDlpUpdater.js
|
│ ├── splashManager.js
|
||||||
│ ├── autoUpdater.js
|
│ ├── themeManager.js
|
||||||
│ ├── discordRPC.js
|
│ ├── windowManager.js
|
||||||
│ └── dependencyCheck.js
|
│ └── ytDlpUpdater.js
|
||||||
├── server/ # Express server code
|
├── build/ # Build resources and assets
|
||||||
│ ├── routes/ # API route handlers
|
├── config/ # Configuration files
|
||||||
│ ├── services/ # Business logic
|
│ ├── config.default.json
|
||||||
│ └── helpers/ # Server helpers
|
│ └── config.dev.json
|
||||||
├── .github/ # GitHub configuration and workflows
|
├── public/ # Frontend assets and UI
|
||||||
├── main.js # Electron main process
|
│ ├── index.html
|
||||||
├── preload.js # Electron preload script
|
│ ├── splash.html
|
||||||
├── config.js # Global application configuration
|
│ ├── assets/
|
||||||
└── package.json # Dependencies and npm scripts
|
│ │ ├── icon/ # Application icons
|
||||||
|
│ │ └── logo/ # Logo assets
|
||||||
|
│ ├── script/ # Frontend JavaScript modules
|
||||||
|
│ │ ├── appVersion.js
|
||||||
|
│ │ ├── clipboardPaste.js
|
||||||
|
│ │ ├── custompath.js
|
||||||
|
│ │ ├── customthemes.js
|
||||||
|
│ │ ├── downloadstatus.js
|
||||||
|
│ │ ├── fetchinfo.js
|
||||||
|
│ │ ├── progressBar.js
|
||||||
|
│ │ ├── settingsPanel.js
|
||||||
|
│ │ ├── toast.js
|
||||||
|
│ │ └── topbar.js
|
||||||
|
│ └── styles/ # CSS stylesheets
|
||||||
|
│ ├── styles.css
|
||||||
|
│ ├── variables.css
|
||||||
|
│ ├── components/ # Component-specific styles
|
||||||
|
│ │ ├── checkbox.css
|
||||||
|
│ │ ├── editpathbutton.css
|
||||||
|
│ │ ├── loader.css
|
||||||
|
│ │ ├── progressBar.css
|
||||||
|
│ │ └── toast.css
|
||||||
|
│ └── layout/ # Layout styles
|
||||||
|
│ ├── container.css
|
||||||
|
│ ├── form.css
|
||||||
|
│ ├── header.css
|
||||||
|
│ ├── settingsPanel.css
|
||||||
|
│ ├── topbar.css
|
||||||
|
│ └── videoinfo.css
|
||||||
|
├── ressources/ # Internal resources (binaries)
|
||||||
|
├── server/ # Express backend server
|
||||||
|
│ ├── logger.js
|
||||||
|
│ ├── server.js
|
||||||
|
│ ├── controller/ # Request handlers
|
||||||
|
│ │ ├── download.controller.js
|
||||||
|
│ │ └── info.controller.js
|
||||||
|
│ ├── helpers/ # Utility functions
|
||||||
|
│ │ ├── buildArgs.helpers.js
|
||||||
|
│ │ ├── getBrowser.helpers.js
|
||||||
|
│ │ ├── notify.helpers.js
|
||||||
|
│ │ ├── parseInfo.helpers.js
|
||||||
|
│ │ ├── path.helpers.js
|
||||||
|
│ │ ├── rateLimit.helpers.js
|
||||||
|
│ │ └── validation.helpers.js
|
||||||
|
│ ├── routes/ # API route definitions
|
||||||
|
│ │ ├── download.route.js
|
||||||
|
│ │ └── info.route.js
|
||||||
|
│ └── services/ # Business logic layer
|
||||||
|
│ ├── download.services.js
|
||||||
|
│ └── info.services.js
|
||||||
|
├── theme/ # Theme system
|
||||||
|
│ ├── template.theme.json # Theme template
|
||||||
|
│ ├── Dark/ # Default dark theme
|
||||||
|
│ │ └── dark.theme.json
|
||||||
|
│ └── Light/ # Default light theme
|
||||||
|
│ └── light.theme.json
|
||||||
|
├── main.js # Electron main process entry point
|
||||||
|
├── preload.js # Electron preload script (IPC bridge)
|
||||||
|
├── config.js # Global configuration loader
|
||||||
|
├── package.json # Project metadata and dependencies
|
||||||
|
├── CODE_OF_CONDUCT.md # Community guidelines
|
||||||
|
├── CONTRIBUTING.md # Contribution guidelines
|
||||||
|
├── LICENSE # GPLv3 license
|
||||||
|
└── README.md # This file
|
||||||
```
|
```
|
||||||
|
|
||||||
### Architecture Overview
|
### Architecture Overview
|
||||||
|
|||||||
Reference in New Issue
Block a user