Access your Linkding's API with Deno.
chore: Update to new format
feat: Add auto mirror to GitHub



You can also use your local clone with git send-email.

Latest version sourcehut GitHub mirror


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 "https://deno.land/x/linkding/mod.ts";

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

#Example for single bookmark

import { getBookmark } from "https://deno.land/x/linkding/mod.ts";

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



deno install --allow-env --allow-read --allow-net \
  -n linkding https://deno.land/x/linkding/src/cli.ts


# 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