Skip to content

hov172/Win-Bookmarks-Backup-Tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

18 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

App Icon

Bookmark Backup Tool Professional

License: MIT .NET 8 Windows 10/11 Release CLI Parity Self-Contained

This app if for Windows use. I also built both PowerShell and macOS applications based on a script. These apps\scripts allow users to manage their own bookmarks, and both versions include command-line options for administrators.

Other Options


🎯 Editions

🟦 Full Edition (Professional)

  • βœ“ Complete bookmark management
  • βœ“ Intelligent import (auto-detect browser from file extension + naming)
  • βœ“ Smart file filtering
  • βœ“ Automated scheduling (Daily/Weekly/Monthly)
  • βœ“ 100% CLI parity
  • βœ“ Enterprise logging + task management
  • βœ“ PATH integration
  • Size: ~101MB (~32.8MB installer)

🟩 Lite Edition

  • βœ“ Same powerful import/export engine
  • βœ“ CLI parity (minus scheduler)
  • βœ“ Intelligent import / smart file filtering
  • ❌ Scheduler not included
  • Size: ~101MB (~32.7MB installer)

🚨 CLI Naming (Unified)

Regardless of edition installed, the CLI entry point is ALWAYS:

BookmarkBackupTool.exe

Edition differences are enforced internally.


πŸš€ Professional Installers

Installer Type Full Edition Lite Edition Use Case
EXE (Inno Setup) BookmarkBackupTool-Full-Setup.exe BookmarkBackupTool-Lite-Setup.exe Standard users
MSI (Enterprise) BookmarkBackupTool-Full-v2.3.0.msi BookmarkBackupTool-Lite-v2.3.0.msi Group Policy, SCCM

Installer Features

  • Self-contained runtime (no .NET required)
  • Adds BookmarkBackupTool.exe to PATH
  • Start Menu entries
  • Uninstall cleans PATH
  • Professional branding

πŸ†• What’s New in v2.3.0 (Dec 2025)

⭐ Dual-Format Export System

Exports both native format AND HTML by default

  • Chrome/Edge β†’ JSON + HTML
  • Firefox β†’ SQLite + HTML

Optional HTML-only mode:

  • GUI: checkbox
  • CLI: --html

⭐ Smart Browser Detection & Auto-Close

  • Detects running Chrome, Edge, Firefox
  • Warns user (GUI) or prompts (CLI)
  • Offers to close browsers automatically
  • Graceful shutdown:
    1. CloseMainWindow()
    2. Wait 3s
    3. Force kill if needed
  • Then retries import automatically

⭐ UI & Workflow Improvements

  • Larger window (height 850px)
  • Activity log (fixed height + scrollable)
  • Export options in a vertical layout
  • HTML-only toggle visible & intuitive

⭐ Critical Fixes

  • Installer now packages the correct latest EXE
  • Browser detection interpolation fix
  • Cleaned unused variables
  • Improved async usage and file IO safety
  • Wrapped all file writes in reliable error handling

⚑ Quick Start

GUI

  1. Install using EXE/MSI
  2. Open Bookmark Backup Tool
  3. Select browsers
  4. Click Export or Import

CLI (same for Full & Lite)

BookmarkBackupTool.exe --help

Common Commands

BookmarkBackupTool.exe --export --all-browsers
BookmarkBackupTool.exe --export --all-browsers --zip
BookmarkBackupTool.exe --export --all-browsers --html

Import

BookmarkBackupTool.exe --import --path "Bookmarks.json"
BookmarkBackupTool.exe --import --chrome --path "ChromeBackup.json"
BookmarkBackupTool.exe --import --path "Backup.zip"

(Full Edition) Create daily 2AM backup task

BookmarkBackupTool.exe --create-task --frequency Daily --time 02:00 --all-browsers

🌟 Core Features

  • Multi-browser backup: Chrome, Edge, Firefox
  • Auto-detect browser from file extension/filename
  • Smart file filtering in dialogs
  • Automatic backups before import
  • HTML, JSON, SQLite, ZIP support
  • Multi-profile support
  • Enterprise logging
  • Smart network path detection
  • Roaming profile support
  • Zero-dependency, self-contained executable

πŸ“₯ Installation

Option 1 β€” EXE Installer

Recommended for most users.

Option 2 β€” MSI Installer

Recommended for IT departments.

Silent Install (Enterprise)

BookmarkBackupTool-Full-Setup.exe /SILENT

or

msiexec /i BookmarkBackupTool-Full-v2.3.0.msi /quiet /norestart

πŸ’» Command Line Interface

The CLI is identical between GUI and command-line versions.

Information Commands

BookmarkBackupTool.exe --help
BookmarkBackupTool.exe --version
BookmarkBackupTool.exe --status
BookmarkBackupTool.exe --list-profiles

Export Examples

BookmarkBackupTool.exe --export --chrome
BookmarkBackupTool.exe --export --all-browsers --zip
BookmarkBackupTool.exe --export --all-browsers --html
BookmarkBackupTool.exe --export --all-browsers --path "D:\Backups"

Import Examples

BookmarkBackupTool.exe --import --path "Bookmarks.html"
BookmarkBackupTool.exe --import --path "BookmarkBackup.zip"

Validation & Repair

BookmarkBackupTool.exe --validate "Bookmarks.json"
BookmarkBackupTool.exe --repair "Bookmarks.json"
BookmarkBackupTool.exe --cleanup-logs

πŸ“… Scheduled Tasks (Full Edition Only)

Create tasks

BookmarkBackupTool.exe --create-task --frequency Daily --time 02:00 --all-browsers
BookmarkBackupTool.exe --create-task --frequency Weekly --time 22:00
BookmarkBackupTool.exe --create-task --frequency Monthly --time 01:00

Manage tasks

BookmarkBackupTool.exe --view-task
BookmarkBackupTool.exe --modify-task --frequency Daily --time 03:00
BookmarkBackupTool.exe --delete-task

🏒 Enterprise Deployment Examples

Network backup

BookmarkBackupTool.exe --export --all-browsers --zip --path "\\Server\Backups\$env:USERNAME"

Migration

BookmarkBackupTool.exe --export --all-browsers --zip --path "\\Share\User"
BookmarkBackupTool.exe --import --path "\\Share\User\Backup.zip"

PowerShell CI scripts

BookmarkBackupTool.exe --export --all-browsers
if ($LASTEXITCODE -ne 0) { throw "Backup failed." }

πŸ”§ Configuration File

Stored at:

%APPDATA%\BookmarkBackupTool\config.json

Example:

{
  "DefaultPath": "C:\\Backups",
  "PreferNetworkPath": true,
  "DefaultBrowsers": ["Chrome", "Edge", "Firefox"],
  "AutoBackupBeforeImport": true,
  "CompressBackups": false,
  "LogRetentionDays": 30
}

MSIX

powershell -File scripts\package-msix.ps1 -CertPath ... -CertPassword ...

πŸ“ˆ Exit Codes

Code Description
0 Success
1 Invalid arguments
2 Import/export failure
3 Task creation/modification failure
4 File not found
5 Permission denied
6 Configuration error
7 Browser running (import blocked)
8 Validation failed
9 Repair failed

πŸ” Security

  • Validates all input files
  • Automatic backups before modifying anything
  • Local-only operations

Report vulnerabilities:
file an issue*



πŸ“„ License

MIT License

🌐 Connect With Me


⭐ If you find my tools useful, consider giving them a star to support future development!

About

Professional-grade Windows application for comprehensive browser bookmark management, backup, and automation. Built with Avalonia UI for native Windows 10/11 performance. Features complete CLI support with 100% GUI parity, automated scheduling, and enterprise deployment options.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors