Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

linkding

install

1 2

git clone --depth=1 https://github.com/sissbruecker/linkding
cd linkding
nvm install 18.*
nvm use 18.*
npm install
npm run build
uv venv
.venv\Scripts\activate.bat
uv python -m pip install -r requirements.txt
uv python -m pip install -r requirements.prod.txt
uv pip install -r requirements.txt
python manage.py migrate
python manage.py createsuperuser --username=<user> --email=<email>

usage

cd linkding
npm run dev
# In a new terminal session
python manage.py runserver 8002

Visit http://localhost:8002 to try it.

Deploy with PM2

3

# Ubuntu 22 ARM
npm install -g concurrently
cp requirements.dev.txt requirements.dev.txt.bak
vim requirements.dev.txt
rcssmin
vim package.json
{
  "scripts": {
    "start": "concurrently \"rollup -c -w\" \"python manage.py runserver 0.0.0.0:8060\""
pm2 start npm --name "linkding" -- run start
pm2 save

config

On Windows 10, how to autorun at startup?

  1. Create start_linkding.bat:
    @echo off
    setlocal
    
    cd linkding
    set LD_SUPERUSER_NAME=<user>
    set LD_SUPERUSER_PASSWORD=<password>
    start npm run dev
    timeout 5
    start .venv\Scripts\python.exe manage.py runserver 8002
    
    endlocal
    pause
    
  2. Create start_linkding.vbs:
    Set WshShell = CreateObject("WScript.Shell")
      WshShell.Run chr(34) & "<path_to>\start_linkding.cmd" & Chr(34), 0
    Set WshShell = Nothing
    
  3. Create shortcut of start_linkding.vbs.
  4. Put the shortcut into C:\Users\User\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\.

command

linkding --url "http://<your_host>:8002" --token "<token>" bookmarks all -q $1 ^
  | jq ".results[]" ^
  | ramda -c -o csv ^
  | xsv select tag_names,url,website_title ^
  | tidy-viewer -u 45

linkding


  1. Development

  2. linkding - Setup

  3. ModuleNotFoundError: No module named 'ruamel'