stars export
All export commands load the full database and write to files. By default, output goes to $XDG_DATA_HOME/.stars/exports/ with a timestamp in the filename. Use --output (-o) to specify a custom path.
stars export csvstars export csv --output ~/stars.csvstars export csv --columns [name url language stars]| Flag | Short | Type | Description |
|---|---|---|---|
--output | -o | path | Custom output path |
--columns | -c | list<string> | Specific columns to include |
Exported columns default to: name, full_name, url, description, language, stars, forks, created_at, updated_at, owner, topics, license, archived, is_fork.
stars export jsonstars export json --prettystars export json --minimal --pretty --output ~/stars.json| Flag | Short | Description |
|---|---|---|
--output | -o | Custom output path |
--minimal | -m | Export only name, url, description, language, topics |
--pretty | -p | Pretty-print with indentation |
Exports to Nushell Object Notation — useful for re-importing into Nushell later.
stars export nuonstars export nuon --output ~/stars.nuon| Flag | Short | Description |
|---|---|---|
--output | -o | Custom output path |
Markdown
Section titled “Markdown”Generates a Markdown table. Great for pasting into GitHub issues, PRs, or documentation.
stars export mdstars export md --columns [name description language stars]stars export md --output ~/stars.md| Flag | Short | Type | Description |
|---|---|---|---|
--output | -o | path | Custom output path |
--columns | -c | list<string> | Columns to include (default: name, description, language, stars) |
Firefox bookmarks
Section titled “Firefox bookmarks”Exports as a Firefox-compatible HTML bookmarks file. Supports grouping by language, owner, topic, year, or no grouping.
stars export firefoxstars export firefox --group-by ownerstars export firefox --include-archived --include-forks| Flag | Short | Type | Default | Description |
|---|---|---|---|---|
--output | -o | path | auto | Custom output path |
--group-by | -g | string | "language" | Grouping: language, owner, topic, year, none |
--include-archived | false | Include archived repos | ||
--include-forks | false | Include forked repos |
Import the exported file into Firefox via Bookmarks > Manage Bookmarks > Import and Backup > Import Bookmarks from HTML.
Chrome bookmarks
Section titled “Chrome bookmarks”Same as Firefox but generates Chrome-compatible HTML.
stars export chromestars export chrome --group-by topicstars export chrome --output ~/chrome_bookmarks.htmlFlags are identical to the Firefox export. Import into Chrome via chrome://bookmarks > Import bookmarks.