From 4a7d8336a512652f996dd639a9c7caad697cefbb Mon Sep 17 00:00:00 2001 From: MasterDraco Date: Tue, 4 Mar 2025 23:58:56 +0000 Subject: [PATCH] Update to version 2.0.0 with new git-based installation and update system MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Bump version from 1.2.0 to 2.0.0 - Update repository URL - Update README.md with new features and installation instructions - Add documentation for web-based update system - Update file structure documentation 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- README.md | 64 +++++++++++++++++++++++++++++++++++++--------------- package.json | 4 ++-- 2 files changed, 48 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index 1265945..7fe6746 100755 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# Transmission RSS Manager +# Transmission RSS Manager v2.0.0 -A comprehensive web-based tool to automate and manage your Transmission torrent downloads with RSS feed integration, intelligent media organization, and enhanced security features. +A comprehensive web-based tool to automate and manage your Transmission torrent downloads with RSS feed integration, intelligent media organization, and enhanced security features. Now with automatic updates and easy installation! ## Features @@ -12,15 +12,16 @@ A comprehensive web-based tool to automate and manage your Transmission torrent - 🔄 **Remote Support**: Connect to remote Transmission instances with local path mapping - 🔒 **Enhanced Security**: Authentication, HTTPS support, and secure password storage - 📱 **Mobile-Friendly UI**: Responsive design works on desktop and mobile devices +- 🔧 **One-Click Updates**: Built-in version checking and automated update system +- 🚀 **Automatic Transmission Installation**: Installs and configures Transmission if needed ## Installation ### Prerequisites - Ubuntu/Debian-based system (may work on other Linux distributions) -- Node.js 14+ and npm -- Transmission daemon installed and running -- Nginx (for reverse proxy, optional) +- Git (will be automatically installed by the bootstrap installer if needed) +- Internet connection (for downloading and updates) ### System Requirements @@ -31,20 +32,26 @@ A comprehensive web-based tool to automate and manage your Transmission torrent ### Automatic Installation -The easiest way to install Transmission RSS Manager is with the installation script: +The easiest way to install Transmission RSS Manager is with the bootstrap installer: ```bash -# Download the installation script -wget https://raw.githubusercontent.com/username/transmission-rss-manager/main/install.sh +# Download the bootstrap installer +wget https://git.powerdata.dk/masterdraco/transmission-rss-manager/raw/main/bootstrap-installer.sh # Make it executable -chmod +x install.sh +chmod +x bootstrap-installer.sh # Run it with sudo -sudo ./install.sh +sudo ./bootstrap-installer.sh ``` -The script will guide you through the configuration process and set up everything you need. +The bootstrap installer will: +1. Install git if needed +2. Clone the latest version from the repository +3. Run the main installer which guides you through configuration +4. Set up the service and web interface + +**New in v2.0.0:** The installer now detects if Transmission is installed and offers to install and configure it automatically if needed. ### Manual Installation @@ -52,7 +59,7 @@ If you prefer to install manually: 1. Clone the repository: ```bash - git clone https://github.com/username/transmission-rss-manager.git + git clone https://git.powerdata.dk/masterdraco/transmission-rss-manager.git cd transmission-rss-manager ``` @@ -223,11 +230,25 @@ Full support for remote Transmission instances: ## Updating -To update to the latest version: +### Using the Web Interface (New in v2.0.0) -### Using the Built-in Update Script +The easiest way to update is through the web interface: -If you've already installed Transmission RSS Manager, you can use the built-in update script: +1. Navigate to the Dashboard +2. Look for the "System Status" section +3. If an update is available, an "Update Now" button will appear +4. Click the button to automatically update to the latest version + +The system will: +- Back up your configuration +- Pull the latest code from the repository +- Install any new dependencies +- Restore your configuration +- Restart the service automatically + +### Using the Command Line + +If you prefer to update via command line: ```bash cd /opt/transmission-rss-manager @@ -245,7 +266,7 @@ sudo scripts/update.sh --force Alternatively, you can download and run the update script: ```bash -wget https://raw.githubusercontent.com/username/transmission-rss-manager/main/scripts/update.sh +wget https://git.powerdata.dk/masterdraco/transmission-rss-manager/raw/main/scripts/update.sh chmod +x update.sh sudo ./update.sh ``` @@ -259,10 +280,17 @@ transmission-rss-manager/ │ ├── post-processor.js # Media processing module │ ├── rss-feed-manager.js # RSS feed management module │ ├── transmission-client.js # Transmission API integration -│ └── config-module.sh # Installation configuration -├── install-script.sh # Initial installer that creates modules +│ ├── config-module.sh # Installation configuration +│ ├── dependencies-module.sh # Dependency installation +│ ├── file-creator-module.sh # File creation for installation +│ ├── service-setup-module.sh # Service setup +│ └── utils-module.sh # Utility functions +├── bootstrap-installer.sh # Minimal installer that clones the repository ├── main-installer.sh # Main installation script ├── config.json # Configuration file +├── scripts/ # Utility scripts +│ ├── update.sh # Update script +│ └── test-and-start.sh # Test and start script ├── public/ # Web interface files │ ├── index.html # Main web interface │ ├── js/ # JavaScript files diff --git a/package.json b/package.json index 6ea840d..2f0bd94 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "transmission-rss-manager", - "version": "1.2.0", + "version": "2.0.0", "description": "A comprehensive web-based tool to automate and manage your Transmission torrent downloads with RSS feed integration and intelligent media organization", "main": "server.js", "scripts": { @@ -11,7 +11,7 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/yourusername/transmission-rss-manager.git" + "url": "git+https://git.powerdata.dk/masterdraco/transmission-rss-manager.git" }, "keywords": [ "transmission",