https://github.com/amirhmoradi/starred
Automatically categorize your GitHub starred repositories using AI (Claude, GPT, or Gemini), export to Markdown, and optionally sync with GitHub star lists.
https://github.com/amirhmoradi/starred
ai-categorize-github-stars awesome-list-generator categorize-github-stars-ai claude-github-stars developer-tools gemini-github github-automation github-bookmarks-organizer github-lists-automation github-profile-readme-stars github-star-tracker github-starred-repos-manager github-stars-export github-stars-manager-tool github-stars-organizer gpt-github-organizer organize-github-bookmarks organize-github-starred-repositories starred-repos-to-markdown starred-repositories-markdown
Last synced: 22 days ago
JSON representation
Automatically categorize your GitHub starred repositories using AI (Claude, GPT, or Gemini), export to Markdown, and optionally sync with GitHub star lists.
- Host: GitHub
- URL: https://github.com/amirhmoradi/starred
- Owner: amirhmoradi
- License: mit
- Created: 2026-01-25T07:25:40.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2026-03-15T20:31:18.000Z (2 months ago)
- Last Synced: 2026-03-16T08:14:15.137Z (2 months ago)
- Topics: ai-categorize-github-stars, awesome-list-generator, categorize-github-stars-ai, claude-github-stars, developer-tools, gemini-github, github-automation, github-bookmarks-organizer, github-lists-automation, github-profile-readme-stars, github-star-tracker, github-starred-repos-manager, github-stars-export, github-stars-manager-tool, github-stars-organizer, gpt-github-organizer, organize-github-bookmarks, organize-github-starred-repositories, starred-repos-to-markdown, starred-repositories-markdown
- Language: Python
- Homepage:
- Size: 532 KB
- Stars: 40
- Watchers: 0
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# β Starred β AI-Powered GitHub Stars Organizer
> **Automatically categorize, organize, and showcase your GitHub starred repositories using AI (Claude, GPT-4, Gemini)**
[](https://github.com/amirhmoradi/starred/stargazers)
[](https://github.com/amirhmoradi/starred/actions)
[](LICENSE)
[](https://www.python.org/downloads/)
[](CONTRIBUTING.md)
**Starred** transforms your messy GitHub stars into a beautifully organized, AI-categorized collection. Perfect for developers who star repos and forget about them!
[π Quick Start](#-quick-start) β’ [πΈ Examples](#-example-output) β’ [π€ AI Providers](#-supported-ai-providers) β’ [π Documentation](#-cli-reference)
---
## π― Why Starred?
**The Problem:** You've starred hundreds of GitHub repositories. Finding that Docker tool or that React library you starred months ago? Nearly impossible.
**The Solution:** Let AI organize your stars automatically.
| Before Starred | After Starred |
|----------------|---------------|
| 500+ unorganized stars | Neatly categorized by topic |
| "Where's that CLI tool?" | Searchable markdown docs |
| Empty profile README | Auto-updated showcase |
| Manual GitHub Lists | AI-synced categories |
---
## β¨ Key Features
### π€ Multi-AI Support
Use **Claude**, **GPT-4**, or **Gemini** to intelligently categorize repositories based on description, language, topics, and README content.
### π Markdown Export
Generates a beautiful `STARRED_REPOS.md` with table of contents, categories, star counts, and descriptions.
### π€ Profile README Integration
Automatically updates your GitHub profile README with a curated showcase of your starred repos.
### π GitHub Actions Automation
Set it and forget it β runs daily to keep your collection organized as you star new repos.
### π GitHub Lists Sync
Optionally sync your AI-generated categories to native GitHub Star Lists.
### π¨ Fully Customizable
Define your own categories, preferences, and display options.
---
## π Quick Start
### Option 1: GitHub Actions (Recommended β 5 minutes)
1. **Fork or use this template**
[](https://github.com/amirhmoradi/starred/fork)
[](https://github.com/new?template_name=starred&template_owner=amirhmoradi)
2. **Add secrets** in Settings β Secrets β Actions:
| Secret | Required | Get it from |
|--------|----------|-------------|
| `GH_PAT` | β
| [Create PAT](https://github.com/settings/personal-access-tokens/new) with `starring:read` |
| `ANTHROPIC_API_KEY` | Pick one | [Anthropic Console](https://console.anthropic.com/) |
| `OPENAI_API_KEY` | Pick one | [OpenAI Platform](https://platform.openai.com/api-keys) |
| `GEMINI_API_KEY` | Pick one | [Google AI Studio](https://aistudio.google.com/apikey) (**Free!**) |
3. **Run the workflow**: Actions β Update Starred Repos β Run workflow
4. **Check results** in `STARRED_REPOS.md` β¨
### Option 2: Local / CLI Installation
```bash
# Install from source
git clone https://github.com/amirhmoradi/starred.git
cd starred
pip install -e ".[all]"
# Set environment variables
export GH_TOKEN="ghp_your_token"
export ANTHROPIC_API_KEY="sk-ant-xxx" # or OPENAI_API_KEY or GEMINI_API_KEY
# Fetch your stars
starred fetch --username YOUR_USERNAME
# Categorize with AI
starred categorize --preferences "Focus on DevOps, AI tools, and web development"
# See your organized stars!
cat STARRED_REPOS.md
```
---
## πΈ Example Output
### STARRED_REPOS.md Preview
```markdown
# β My Starred Repositories
**847** repositories organized into **18** categories
## π Table of Contents
- [π€ AI & Machine Learning](#-ai--machine-learning) (142)
- [π Web Development](#-web-development) (98)
- [βοΈ DevOps & Infrastructure](#-devops--infrastructure) (87)
- [π§ CLI Tools](#-cli-tools) (64)
...
## π€ AI & Machine Learning
*Machine learning frameworks, LLMs, AI tools and utilities*
- [langchain-ai/langchain](https://github.com/langchain-ai/langchain) `Python` β 95,000 - Build LLM applications
- [openai/whisper](https://github.com/openai/whisper) `Python` β 72,000 - Speech recognition
- [ggerganov/llama.cpp](https://github.com/ggerganov/llama.cpp) `C++` β 68,000 - Run LLMs locally
...
```
### Profile README Integration
Your GitHub profile automatically displays:
```markdown
### π€ AI & Machine Learning
- [langchain-ai/langchain](https://github.com/langchain-ai/langchain) `Python` β 95,000
- [openai/whisper](https://github.com/openai/whisper) `Python` β 72,000
### βοΈ DevOps & Infrastructure
- [docker/compose](https://github.com/docker/compose) `Go` β 34,000
- [kubernetes/kubernetes](https://github.com/kubernetes/kubernetes) `Go` β 112,000
*[View all 847 repositories β](STARRED_REPOS.md)*
```
---
## π€ Supported AI Providers
| Provider | Model | Cost | Speed | Quality |
|----------|-------|------|-------|---------|
| **Anthropic** | Claude Sonnet 4 | ~$0.02/run | Fast | βββββ |
| **OpenAI** | GPT-4o | ~$0.03/run | Fast | βββββ |
| **Google** | Gemini 2.0 Flash | **Free tier!** | Very Fast | ββββ |
The tool **auto-detects** which provider to use based on available API keys.
```bash
# Force a specific provider
starred categorize --provider gemini --model gemini-2.0-flash
starred categorize --provider openai --model gpt-4o-mini
starred categorize --provider anthropic --model claude-sonnet-4-20250514
```
---
## π€ Profile README Setup
1. **Add placeholder tags** to your profile repo (`username/username/README.md`):
```markdown
## β My Starred Repositories
```
2. **Enable the workflow** β the "Update Profile README" action will automatically:
- Update the section between the tags
- Copy the full `STARRED_REPOS.md` to your profile repo
- Add a link to view all stars
---
## π GitHub Lists Sync (Advanced)
Sync AI categories to **native GitHub Star Lists**:
> β οΈ Requires browser cookie (GitHub has no official API for lists)
```bash
# Preview changes
starred sync --cookie "$GH_COOKIE" --dry-run
# Apply changes
starred sync --cookie "$GH_COOKIE"
# Reset and recreate all lists
starred sync --cookie "$GH_COOKIE" --reset
```
How to get the cookie
1. Go to `https://github.com/yourusername?tab=stars`
2. Open DevTools (F12) β Network tab
3. Refresh the page
4. Click the first request β Headers
5. Copy the `Cookie` value
Note: Cookies expire every ~2 weeks.
---
## βοΈ Configuration Options
### Custom Categories
Create `categories.json`:
```json
[
{"name": "π€ AI & ML", "description": "Machine learning and AI tools"},
{"name": "π Self-Hosted", "description": "Self-hosted alternatives to SaaS"},
{"name": "π Starter Kits", "description": "Boilerplates and templates"}
]
```
```bash
starred categorize --categories categories.json
```
### AI Preferences
Guide the AI with natural language:
```bash
starred categorize --preferences "
I'm a DevOps engineer focused on Kubernetes.
Create categories for:
- Container orchestration
- CI/CD pipelines
- Monitoring & observability
- Infrastructure as Code
Skip frontend and mobile categories.
"
```
### Environment Variables
```bash
# Required
GH_TOKEN=ghp_xxxx # GitHub Personal Access Token
# LLM Provider (at least one)
ANTHROPIC_API_KEY=sk-ant-xxxx # Anthropic Claude
OPENAI_API_KEY=sk-xxxx # OpenAI GPT
GEMINI_API_KEY=xxxx # Google Gemini (free tier available!)
# Optional
GH_USERNAME=yourusername # Auto-detected if not set
GH_COOKIE=... # For GitHub Lists sync
```
---
## π CLI Reference
```
starred --help
Commands:
fetch Fetch starred repos from GitHub API
categorize Categorize repos using AI
update-readme Update README with starred repos section
sync Sync with GitHub Star Lists
providers List available LLM providers
Options:
--help Show help message
--verbose Enable debug logging
Examples:
starred fetch --username myuser --with-readme
starred categorize --provider gemini --preferences "Focus on Python tools"
starred update-readme --readme ./README.md --include-toc --max-repos 100
starred sync --cookie "$COOKIE" --dry-run
```
---
## π Comparison with Alternatives
| Feature | **Starred** | StarListify | Astral | Manual |
|---------|------------|-------------|--------|--------|
| AI Categorization | β
Multi-provider | β οΈ Gemini only | β | β |
| GitHub Actions | β
Full automation | β οΈ Basic | β | β |
| Profile README | β
Auto-update | β | β | β
|
| GitHub Lists | β
Sync | β
| β | β
|
| Open Source | β
MIT | β
MIT | β | β |
| Custom Categories | β
| β οΈ | β | β
|
| Multi-LLM | β
Claude/GPT/Gemini | β | β | β |
---
## π How It Works
```
βββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββββ
β GitHub Stars ββββββΆβ AI Analysis ββββββΆβ Markdown β
β (API fetch) β β Claude/GPT/ β β Generation β
β β β Gemini β β β
βββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββββ
β
βββββββββββββββββββββββββββββββββΌββββββββββββββββ
βΌ βΌ βΌ
βββββββββββββββββββ βββββββββββββββββββ βββββββββββ
β STARRED_REPOS.mdβ β Profile README β β GitHub β
β (full list) β β (summary) β β Lists β
βββββββββββββββββββ βββββββββββββββββββ βββββββββββ
```
1. **Fetch** β Downloads starred repos via GitHub API
2. **Analyze** β AI categorizes based on metadata & README
3. **Generate** β Creates organized Markdown documentation
4. **Deploy** β Updates profile README automatically
5. **Sync** β Creates GitHub Lists (optional)
---
## β FAQ
How much does it cost?
Very affordable:
- **Google Gemini**: Free tier available!
- **Claude/GPT**: ~$0.02-0.05 per run for ~500 stars
How often does it update?
The GitHub Action runs daily at 2 AM UTC. Customize the cron schedule or run manually anytime.
Can I use my own categories?
Yes! Create a `categories.json` file or use `--preferences` to guide the AI with natural language.
Is my data safe?
Only public repository metadata (name, description, language) is sent to the AI. No private data is shared.
Why do GitHub Lists need a cookie?
GitHub doesn't provide an official API for star lists. The tool uses your browser session (cookie) to manage lists via the web interface.
Does it work with organizations?
Yes! Set `profile_repo` to `org-name/.github` in the workflow to update an organization's profile.
---
## π€ Contributing
We welcome contributions! See [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.
**Ideas for contributions:**
- [ ] Additional LLM providers (Ollama, local models)
- [ ] Export to Notion, Obsidian, Raindrop.io
- [ ] Web UI for category management
- [ ] Browser extension for cookie refresh
- [ ] Semantic search over starred repos
---
## π License
MIT License β see [LICENSE](LICENSE) for details.
---
## π Acknowledgments
Inspired by [StarListify](https://github.com/nhtlongcs/StarListify) and the GitHub community.
---
Found this useful? Give it a β to help others discover it!
β Star β’
π΄ Fork β’
π Issues β’
π¬ Discuss
---
Keywords: github stars organizer, organize github starred repositories, ai categorize github stars,
github starred repos manager, github profile readme stars, starred repositories markdown, github lists automation,
claude github stars, gpt github organizer, gemini github, awesome list generator, github star tracker,
github bookmarks organizer, developer tools, github automation, starred repos to markdown, github stars export,
categorize github stars ai, github stars manager tool, organize github bookmarks