A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search
{
"$schema": "https://json.schemastore.org/package.json",
"name": "@karakeep/sdk",
"version": "0.34.0",
"description": "Typescript SDK for Karakeep",
"license": "GNU Affero General Public License version 3",
"keywords": [
"hoarder",
"karakeep",
"sdk"
],
"main": "./src/index.ts",
"type": "module",
"publishConfig": {
"main": "./dist/index.js",
"exports": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts"
},
"devDependencies": {
"@karakeep/tsconfig": "workspace:^0.1.0",
"@tsconfig/node22": "^22.0.0",
"tsx": "^4.23.13",
"vite": "^8.3.0",
"vite-tsconfig-paths": "^6.1.1"
},
"//": "`generate` runs openapi-typescript through pnpm dlx on TypeScript 6 because openapi-typescript doesn't support TypeScript 7 yet (https://github.com/openapi-ts/openapi-typescript/issues/2841). Once a release does, make it a devDependency again and run it directly.",
"scripts": {
"build": "vite build && tsc -p tsconfig.build.json && node -e \"require('node:fs').copyFileSync('src/karakeep-api.d.ts', 'dist/karakeep-api.d.ts')\"",
"generate": "pnpm dlx [email protected] [email protected] openapi-typescript ../open-api/karakeep-openapi-spec.json -o src/karakeep-api.d.ts && oxfmt src/karakeep-api.d.ts",
"run": "node --import tsx src/index.ts",
"lint": "oxlint --ignore-path=../../.gitignore .",
"lint:fix": "oxlint --ignore-path=../../.gitignore . --fix",
"format": "oxfmt --ignore-path=../../.gitignore --ignore-path=./.gitignore --check .",
"format:fix": "oxfmt --ignore-path=../../.gitignore --ignore-path=./.gitignore .",
"typecheck": "tsc --noEmit"
},
"repository": {
"type": "git",
"url": "git+https://github.com/karakeep-app/karakeep.git",
"directory": "packages/sdk"
},
"dependencies": {
"openapi-fetch": "^0.13.3"
}
}