You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Alternatively, use [Autoheal](https://github.com/willfarrell/docker-autoheal) to automatically restart unhealthy containers in docker-compose setups.
90
90
91
+
## 🔌 Chrome Extensions for Advanced Scraping
92
+
93
+
Mkfd supports loading Chrome extensions when using advanced scraping mode (Playwright).
94
+
95
+
### 📁 Setting Up Extensions
96
+
97
+
1.**Prepare your extensions**: Create a directory for unpacked Chrome extensions. Each extension should be in its own subdirectory.
98
+
99
+
```
100
+
extensions/
101
+
├── extension1/
102
+
│ ├── manifest.json
103
+
│ └── ... (other extension files)
104
+
└── extension2/
105
+
├── manifest.json
106
+
└── ... (other extension files)
107
+
```
108
+
109
+
2.**Configure the path**: Set the `CHROME_EXTENSIONS_PATH` environment variable to point to your extensions directory.
110
+
This is optional, the default path is "/app/extensions".
111
+
112
+
### 🐳 Docker Setup
113
+
114
+
When using Docker or Docker Compose, mount your extensions directory as a volume:
115
+
116
+
**Docker Run:**
117
+
```bash
118
+
docker run -p 5000:5000 \
119
+
-v /local/mount/path:/app/configs \
120
+
-v /path/to/extensions:/app/extensions \
121
+
-e PASSKEY=your_passkey \
122
+
-e COOKIE_SECRET=your_cookie_secret \
123
+
-e ENCRYPTION_KEY=your_encryption_key \
124
+
tbosk/mkfd:latest
125
+
```
126
+
127
+
**Docker Compose:**
128
+
129
+
The included `docker-compose.yml` already has extensions support configured:
130
+
- Extensions directory: `./extensions` (in the same directory as docker-compose.yml)
131
+
- Environment variable is set automatically
132
+
133
+
Simply place your unpacked extensions in `./extensions/` and they will be loaded when using advanced scraping mode.
134
+
135
+
### ⚙️ How It Works
136
+
137
+
- Extensions are automatically discovered and loaded when using advanced scraping mode
138
+
- Each subdirectory in the extensions path is treated as a separate extension
139
+
- Extensions only load when "Advanced Scraping" is enabled for a feed
140
+
- If no extensions are found or the path doesn't exist, advanced scraping works normally without extensions
141
+
91
142
## 📧 Email Feeds
92
143
93
144
Mkfd supports email feeds via IMAP. You can use any email provider that supports IMAP, such as Gmail, Yahoo, or Outlook. To set up an email feed, you need to provide the following information:
0 commit comments