Exporting
Command
link-garden export --format markdown|json|html --out ./exports [--scope public|unlisted|all] [--dangerous-all]
Visibility scopes
public: includes only bookmarks markedpublic.unlisted: includespublic+unlisted.all: includespublic+unlisted+private.
--scope all is guarded. You must pass --dangerous-all, otherwise export fails.
link-garden export --format json --out ./exports --scope all --dangerous-all
Output files and included data
HTML
- Primary output:
index.html. - Compatibility copy:
bookmarks.html(same content). - Includes title, URL, visibility, saved time, tags, folder, and notes/body text.
- Shows a warning banner when scope is broader than public.
Markdown
- Output:
bookmarks.md. - One bullet per bookmark with link, visibility, saved time, tags, folder, and source file path.
- Adds indented
notesandbodylines when present.
JSON
- Output:
bookmarks.json. - Array of full bookmark objects from the internal model (including visibility and metadata fields).
Examples
link-garden export --format html --out ./exports --scope public
link-garden export --format markdown --out ./exports --scope unlisted
link-garden export --format json --out ./exports --scope public