Merged
Conversation
- Add new CLI option --set-theme to download and set themes from remote URLs - Support GitHub, GitLab, and Codeberg repositories - Automatically download and extract theme zip files - Validate theme.json existence before setting theme - Update or create marmite.yaml with new theme configuration - Display theme metadata on successful installation 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
- Add new documentation page for remote theme download - Update existing themes documentation with --set-theme info - Update CLI documentation with new --set-theme option 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
- Use case-insensitive file extension comparison for .zip files - Use Path API for more robust filename handling - Format code according to rustfmt standards 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
c0a6a43 to
1c4450b
Compare
- Update zip crate from 2.2.2 to 4.3.0 (latest version) - All tests pass with the new version - Theme download functionality confirmed working 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
--set-themeCLI option for theme installation from GitHub, GitLab, Codeberg, or direct zip URLsImplementation Details
New CLI Option
--set-theme <THEME_SOURCE>option to download and set themeshttps://github.com/username/themenamehttps://gitlab.com/username/themenamehttps://codeberg.org/username/themenamehttps://example.com/themes/mytheme.zipmytheme(validates existence)Features
Dependencies
zip = "2.2.2"for zip file extractionureqfor HTTP downloadsTest Plan
Testing
🤖 Generated with Claude Code