Access your Linkding instance with Deno. This module has both a mod.ts and a CLI.


Requires environment variables for both LINKDING_URL and LINKDING_API.

Example for getting all bookmarks

import { listBookmarks } from "";

const allBookmarks = await listBookmarks({ all: true });
// do what you need to do with the bookmarks.

Example for single bookmark

import { getBookmark } from "";

const bookmark = await getBookmark(10);
// do what you need to do with the bookmark.



deno install --allow-env --allow-read --allow-net \
  -n linkding


# Returns all bookmarks
linkding list
# Returns single bookmark with id `10`
linkding list 10
# Returns all tags
linkding tag
# Returns single tag with id `10`
linkding tag 10
# Returns all bookmarks as json
linkding list --json

# All available commands and flags
linkding -h