mirror of
https://github.com/embersparks/obsidian-github-stars-manager.git
synced 2026-07-22 06:44:31 +00:00
No description
Revert Line 24 to proper sentence case format: - '+ Add Account' → '+ Add account' In sentence case, only the first word should be capitalized unless it's a proper noun. "Account" is not a proper noun. 🤖 Generated with [Claude Code](https://claude.com/claude-code) |
||
|---|---|---|
| .github | ||
| bin | ||
| src | ||
| .editorconfig | ||
| .env.example | ||
| .eslintignore | ||
| .eslintrc | ||
| .gitignore | ||
| .npmrc | ||
| CLAUDE.md | ||
| deploy-fixed.bat | ||
| deploy-wsl.sh | ||
| deploy.bat | ||
| DEPLOYMENT.md | ||
| EMOJI_SUPPORT.md | ||
| esbuild.config.mjs | ||
| eslint.config.mjs | ||
| LICENSE | ||
| manifest.json | ||
| OBSIDIAN_PLUGIN_STANDARDS.md | ||
| package-lock.json | ||
| package.json | ||
| PixPin_2025-09-23_18-28-08.png | ||
| QUICK_REFERENCE.md | ||
| README.md | ||
| README_en.md | ||
| setup-env.bat | ||
| setup-env.ps1 | ||
| styles.css | ||
| themes.css | ||
| THEMES.md | ||
| THEMES_EN.md | ||
| tsconfig.json | ||
| USAGE_GUIDE.md | ||
| USAGE_GUIDE_EN.md | ||
| version-bump.mjs | ||
| versions.json | ||
GitHub Stars Manager
This plugin allows you to manage and view your starred GitHub repositories directly within Obsidian, with multi-account support and custom themes.
Features
- 📋 View all your starred GitHub repositories within Obsidian
- 👥 Multi-account support: Add multiple GitHub accounts and sync stars from all accounts simultaneously
- 🏷️ Add custom tags and notes to repositories
- 🔗 Link repositories to Obsidian notes
- 🔄 Automatic or manual synchronization of starred repositories
- 🔍 Search and filter by name, language, tags
- 📊 Sort by starred time, name, language, and more
- 🎨 Multiple theme support: Default theme and Liquid Glass theme
- 🔄 Account management: Enable/disable sync for specific accounts individually
- 🌊 Liquid Glass Theme: iOS-style frosted glass effect with dynamic backgrounds and shimmer animations
- 📱 Waterfall layout: Instagram-style card display
- ✨ Responsive design that integrates seamlessly with Obsidian themes
Configuration
To use this plugin, you need to provide a GitHub Personal Access Token (PAT) with the necessary permissions to read your starred repositories.
How to get a GitHub Personal Access Token (PAT):
- Login to GitHub: Visit github.com and log in to your account.
- Access Settings: Click your profile picture in the top-right corner, then select "Settings".
- Developer Settings: In the left sidebar, scroll down and click "Developer settings".
- Personal Access Tokens: In the left sidebar, select "Personal access tokens", then choose "Tokens (classic)". (Note: Please select Classic Token, as Fine-grained tokens might require more complex permission setup).
- Generate New Token: Click the "Generate new token" button, then select "Generate new token (classic)".
- Token Description: In the "Note" field, give your token a descriptive name, e.g., "Obsidian Stars Manager".
- Set Expiration: Choose an appropriate expiration duration. For security, "No expiration" is not recommended.
- Select Scopes: This is crucial. You need to grant permission to access your repositories. Check the top-level
reposcope checkbox. This automatically selects all necessary sub-permissions for the plugin to read your starred repositories. - Generate Token: Click the "Generate token" button at the bottom of the page.
- Copy Token: Important! GitHub will only show the full token once. Click the copy icon immediately to copy it and store it securely. You won't be able to see the full token again after leaving this page.
- Use in Plugin: Paste the copied token into the "GitHub Personal Access Token (PAT)" field in the "GitHub Stars Manager" settings tab within Obsidian.
Usage
- After installing and enabling the plugin, a GitHub star icon will appear in the left panel
- Click the icon to open the starred repositories view
- Configure your GitHub PAT in the plugin settings on first use
- Click the "Sync" button to fetch your starred repositories
- You can add personal notes, tags, or link repositories to existing Obsidian notes
📖 View Detailed Usage Guide | 中文指南
Theme Switching
The plugin provides two visual themes:
- Default Theme: Clean card layout that maintains consistency with Obsidian's native themes
- iOS Glass Theme: iOS-style frosted glass effect with the following features:
- 🌈 Colorful gradient backgrounds for better visual contrast
- ✨ Dynamic floating animation background effects
- 🔍 Enhanced frosted glass blur effects
- 💫 Shimmer sweep animation on card hover
- 📱 Waterfall layout similar to Xiaohongshu's card display
- 🎯 Optimized font rendering to avoid blur issues on hover
You can quickly switch themes using the theme button at the top of the plugin interface.
Installation
From Obsidian Community Plugins (Recommended)
- Open Obsidian Settings
- Go to "Community plugins" tab
- Search for "GitHub Stars Manager"
- Click Install and enable the plugin
Manual Installation
- Download the latest
main.js,manifest.json, andstyles.css - Copy these files to your vault:
VaultFolder/.obsidian/plugins/obsidian-github-stars-manager/ - Restart Obsidian
- Enable the plugin in settings
Development
Requirements
- Node.js 16+
- npm or yarn
Development Commands
# Install dependencies
npm install
# Development mode (watch for changes)
npm run dev
# Production build
npm run build
# Version bump
npm run version
Tech Stack
- TypeScript: Type-safe JavaScript superset
- Obsidian API: Plugin development framework
- GitHub REST API: Access GitHub data via @octokit/rest
- CSS3: Modern styling and animation effects
- esbuild: Fast JavaScript bundler
Project Structure
├── src/
│ ├── main.ts # Main plugin class
│ ├── view.ts # Starred repositories view
│ ├── settings.ts # Plugin settings
│ ├── modal.ts # Edit modal dialogs
│ ├── githubService.ts # GitHub API service
│ └── types.ts # TypeScript type definitions
├── main.ts # Plugin entry point
├── manifest.json # Plugin manifest
├── styles.css # Stylesheet
└── README.md # Documentation
Changelog
v0.1.0 (Current Version)
- ✨ Initial release
- 🎯 Multi-account GitHub Stars management
- 🎨 Liquid Glass theme support
- 📱 Responsive waterfall layout
- 🔍 Advanced search and filtering
- 🏷️ Custom tags and notes functionality
License
MIT License - see LICENSE file for details
Contributing
Contributions are welcome! Please follow these steps:
- Fork the repository
- Create a feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Support
If you find this plugin helpful, consider:
- ⭐ Starring the project
- 🐛 Reporting bugs or suggesting improvements
- 💡 Sharing it with other Obsidian users
- 💖 Sponsor the developer