简体中文 | English
Favorites → Task Queue → Auto Download → Archive → Dedup → Done
Fav Vault is an automation tool that converts social media "bookmark" actions into executable download tasks, enabling automatic retrieval and local archiving of favorited content.
Your bookmarks are no longer just a static list — they become a continuously running content processing system.
This project may trigger social media risk-control rules and carries unpredictable risks. Use with caution.
The program will remove corresponding records after successful downloads.
This tool is for learning and technical exchange only. Please comply with platform rules and applicable laws.
Automatically reads social media bookmarks and converts them into download tasks with no manual intervention.
Executes downloads via a task queue with scheduled runs and manual triggers.
Organizes files by author / source for clear browsing. Customizable download path templates.
Shows overall and per-file download progress in real-time with SSE push updates.
Click file names to open inline preview for images and videos. Supports arrow key navigation.
| Platform | Status | Driver |
|---|---|---|
| Douyin | ✅ Supported | Favorites |
| Twitter / X | ✅ Supported | Bookmarks |
npm install
npm startCustom parameters:
CHROME_PATH=/path/to/chrome PORT=8080 npm startWindows:
$env:CHROME_PATH="C:\path\chrome.exe"
npm startVisit:
http://localhost:5000
Using pre-built image (recommended):
docker run -d \
-p 5000:5000 \
-v ~/fav-vault/downloads:/app/downloads \
-v ~/fav-vault/database:/app/database \
--name fav-vault \
ghcr.io/tanmusong/fav-vault:latestOr build yourself:
docker compose build
docker compose up -dVisit:
http://localhost:5000
Log into the target platform, then obtain login cookies via browser DevTools or the Cookie Editor extension.
Click + New Task in the web UI and fill in:
- Social media platform
- Execution interval (minutes)
- Cookie
- Download path template (optional, default
{type}/{user}/{author_id}_{author})
The system automatically verifies login status.
The system periodically:
- Scans bookmarks
- Creates download tasks
- Executes downloads (with concurrency)
- Shows real-time progress
- Archives files automatically
- Removes processed bookmarks
You can also click Run Now for manual execution.
View:
- Downloaded content and file previews
- Author info and user IDs
- Execution status and progress
- File list with sizes
- History
Customize the download path when creating a task. Available variables:
| Variable | Description |
|---|---|
{type} |
Platform name |
{user} |
Task name (username) |
{id} |
User ID |
{author} |
Author display name |
{author_id} |
Author account |
Default template: {type}/{user}/{author_id}_{author}
| Variable | Description | Default |
|---|---|---|
| PORT | Web server port | 5000 |
| DOWNLOAD_DIR | Download directory | ~/fav-vault/downloads |
| DB_PATH | Database storage path | ~/fav-vault/database |
| MAX_CONCURRENT | Max concurrent downloads | 2 |
| CHROME_PATH | Chrome/Chromium path | Required |
- Node.js 22+
- Chrome / Chromium
- Docker (optional)
- Cookies are used only for local session authentication
- No data is uploaded to third-party servers
- All data stored locally

