Automatically categorize, organize, and showcase your GitHub starred repositories using AI (Claude, GPT-4, Gemini)
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 β’ πΈ Examples β’ π€ AI Providers β’ π Documentation
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 |
Use Claude, GPT-4, or Gemini to intelligently categorize repositories based on description, language, topics, and README content.
Generates a beautiful STARRED_REPOS.md with table of contents, categories, star counts, and descriptions.
Automatically updates your GitHub profile README with a curated showcase of your starred repos.
Set it and forget it β runs daily to keep your collection organized as you star new repos.
Optionally sync your AI-generated categories to native GitHub Star Lists.
Define your own categories, preferences, and display options.
-
Fork or use this template
-
Add secrets in Settings β Secrets β Actions:
Secret Required Get it from GH_PATβ Create PAT with starring:readANTHROPIC_API_KEYPick one Anthropic Console OPENAI_API_KEYPick one OpenAI Platform GEMINI_API_KEYPick one Google AI Studio (Free!) -
Run the workflow: Actions β Update Starred Repos β Run workflow
-
Check results in
STARRED_REPOS.mdβ¨
# 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# β 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
...Your GitHub profile automatically displays:
### π€ 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)*| Provider | Model | Cost | Speed | Quality |
|---|---|---|---|---|
| Anthropic | Claude Sonnet 4 | ~$0.02/run | Fast | βββββ |
| OpenAI | GPT-4o | ~$0.03/run | Fast | βββββ |
| Gemini 2.0 Flash | Free tier! | Very Fast | ββββ |
The tool auto-detects which provider to use based on available API keys.
# 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- Add placeholder tags to your profile repo (
username/username/README.md):
## β My Starred Repositories
<!-- STARRED_REPOS_START -->
<!-- Auto-generated content will appear here -->
<!-- STARRED_REPOS_END -->- Enable the workflow β the "Update Profile README" action will automatically:
- Update the section between the tags
- Copy the full
STARRED_REPOS.mdto your profile repo - Add a link to view all stars
Sync AI categories to native GitHub Star Lists:
β οΈ Requires browser cookie (GitHub has no official API for lists)
# 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" --resetHow to get the cookie
- Go to
https://github.com/yourusername?tab=stars - Open DevTools (F12) β Network tab
- Refresh the page
- Click the first request β Headers
- Copy the
Cookievalue
Note: Cookies expire every ~2 weeks.
Create categories.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"}
]starred categorize --categories categories.jsonGuide the AI with natural language:
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.
"# 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 syncstarred --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
| Feature | Starred | StarListify | Astral | Manual |
|---|---|---|---|---|
| AI Categorization | β Multi-provider | β | β | |
| GitHub Actions | β Full automation | β | β | |
| Profile README | β Auto-update | β | β | β |
| GitHub Lists | β Sync | β | β | β |
| Open Source | β MIT | β MIT | β | β |
| Custom Categories | β | β | β | |
| Multi-LLM | β Claude/GPT/Gemini | β | β | β |
βββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββββ
β GitHub Stars ββββββΆβ AI Analysis ββββββΆβ Markdown β
β (API fetch) β β Claude/GPT/ β β Generation β
β β β Gemini β β β
βββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββββ
β
βββββββββββββββββββββββββββββββββΌββββββββββββββββ
βΌ βΌ βΌ
βββββββββββββββββββ βββββββββββββββββββ βββββββββββ
β STARRED_REPOS.mdβ β Profile README β β GitHub β
β (full list) β β (summary) β β Lists β
βββββββββββββββββββ βββββββββββββββββββ βββββββββββ
- Fetch β Downloads starred repos via GitHub API
- Analyze β AI categorizes based on metadata & README
- Generate β Creates organized Markdown documentation
- Deploy β Updates profile README automatically
- Sync β Creates GitHub Lists (optional)
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.
We welcome contributions! See 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
MIT License β see LICENSE for details.
Inspired by 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