Adds bookmarks to a Karakeep instance from a CSV exported from Linkace
- TypeScript 100%
| .env.example | ||
| .gitignore | ||
| bun.lock | ||
| import-to-karakeep.ts | ||
| package.json | ||
| README.md | ||
LinkAce to Karakeep Import Tool
This tool imports bookmarks from a LinkAce CSV export to Karakeep.
Setup
-
Install dependencies:
bun install -
Copy
.env.exampleto.envand configure your Karakeep instance:cp .env.example .env -
Edit
.envand add your Karakeep API URL and API key:KARAKEEP_API=https://your-karakeep-instance.app KARAKEEP_API_KEY=your_api_key_here -
Place your
LinkAce_export.csvfile in the project directory.
Usage
Run the import script:
bun run import
Or run directly:
bun run import-to-karakeep.ts
The script will:
- Read all bookmarks from
LinkAce_export.csv - Import each bookmark to Karakeep via the API
- Wait 1 second between each request to avoid overloading the server
- Display progress and summary statistics
Notes
- The script converts LinkAce fields to Karakeep fields:
url→urltitle→titledescription→notecreated_at→createdAttags→ parsed from comma-separated string
- Failed imports are logged with error details
- The script sets
source: "api"for all imported bookmarks