No description
Find a file
Sascha Ißbrücker afa57aa10b
Show placeholder if there is no preview image (#842)
* Show placeholder if there is no preview image

* add test
2024-09-20 08:56:17 +02:00
.devcontainer Bump dependencies (#841) 2024-09-19 19:15:51 +02:00
.github/workflows bump python version in CI 2024-09-19 19:38:03 +02:00
assets Add documentation website (#833) 2024-09-17 15:33:53 +02:00
bookmarks Show placeholder if there is no preview image (#842) 2024-09-20 08:56:17 +02:00
docker Bump dependencies (#841) 2024-09-19 19:15:51 +02:00
docs Bump path-to-regexp and astro in /docs (#840) 2024-09-19 15:42:12 +02:00
scripts Bump dependencies (#841) 2024-09-19 19:15:51 +02:00
siteroot Speed up response times for certain actions (#829) 2024-09-16 12:48:19 +02:00
.coveragerc Exclude tests from coverage 2021-05-14 23:45:32 +02:00
.dockerignore Theme improvements (#822) 2024-09-13 23:19:47 +02:00
.env.sample Add database options (#406) 2023-05-18 09:31:13 +02:00
.gitattributes Added Dev Container support (#474) 2023-05-21 13:35:00 +02:00
.gitignore Theme improvements (#822) 2024-09-13 23:19:47 +02:00
bootstrap.sh Implement IPv6 capability (#826) 2024-09-16 13:18:18 +02:00
CHANGELOG.md Update CHANGELOG.md 2024-09-16 13:37:20 +02:00
docker-compose.yml removed version line from docker compose yaml (#800) 2024-08-28 22:28:47 +02:00
install-linkding.sh Provide automated setup script 2019-12-26 18:49:10 +01:00
LICENSE.txt Add license 2019-12-24 11:03:08 +01:00
Makefile Run tests in parallel 2024-08-29 22:45:43 +02:00
manage.py Implement basic bookmark page 2019-06-27 08:09:51 +02:00
package-lock.json Theme cleanup 2024-09-14 18:55:02 +02:00
package.json Bump version 2024-09-16 13:21:39 +02:00
postcss.config.js Theme improvements (#822) 2024-09-13 23:19:47 +02:00
pytest.ini Support Open Graph description (#602) 2024-01-27 10:28:46 +01:00
README.md Bump dependencies (#841) 2024-09-19 19:15:51 +02:00
requirements.dev.in Theme improvements (#822) 2024-09-13 23:19:47 +02:00
requirements.dev.txt Bump dependencies (#841) 2024-09-19 19:15:51 +02:00
requirements.in Theme improvements (#822) 2024-09-13 23:19:47 +02:00
requirements.txt Bump dependencies (#841) 2024-09-19 19:15:51 +02:00
rollup.config.mjs Build improvements (#649) 2024-03-16 15:57:23 +01:00
SECURITY.md Update SECURITY.md 2022-05-21 10:46:27 +02:00
supervisord.conf Fix directory name 2024-04-14 20:31:53 +02:00
uwsgi.ini Add support for bookmark thumbnails (#721) 2024-05-07 18:58:52 +02:00
version.txt Bump version 2024-09-16 13:21:39 +02:00
web-types.json Allow uploading custom files for bookmarks (#713) 2024-04-20 12:14:11 +02:00

Introduction

linkding is a bookmark manager that you can host yourself. It's designed be to be minimal, fast, and easy to set up using Docker.

The name comes from:

  • link which is often used as a synonym for URLs and bookmarks in common language
  • Ding which is German for thing
  • ...so basically something for managing your links

Feature Overview:

  • Clean UI optimized for readability
  • Organize bookmarks with tags
  • Bulk editing, Markdown notes, read it later functionality
  • Share bookmarks with other users or guests
  • Automatically provides titles, descriptions and icons of bookmarked websites
  • Automatically archive websites, either as local HTML file or on Internet Archive
  • Import and export bookmarks in Netscape HTML format
  • Installable as a Progressive Web App (PWA)
  • Extensions for Firefox and Chrome, as well as a bookmarklet
  • SSO support via OIDC or authentication proxies
  • REST API for developing 3rd party apps
  • Admin panel for user self-service and raw data access

Demo: https://demo.linkding.link/

Screenshot:

Screenshot

Getting Started

The following links help you to get started with linkding:

Documentation

The full documentation is now available at linkding.link.

If you want to contribute to the documentation, you can find the source files in the docs folder.

If you want to contribute a community project, feel free to submit a PR.

Contributing

Small improvements, bugfixes and documentation improvements are always welcome. If you want to contribute a larger feature, consider opening an issue first to discuss it. I may choose to ignore PRs for features that don't align with the project's goals or that I don't want to maintain.

Development

The application is built using the Django web framework. You can get started by checking out the excellent Django docs. The bookmarks folder contains the actual bookmark application, siteroot is the Django root application. Other than that the code should be self-explanatory / standard Django stuff 🙂.

Prerequisites

  • Python 3.12
  • Node.js

Setup

Create a virtual environment for the application (https://docs.python.org/3/tutorial/venv.html):

python3 -m venv ~/environments/linkding

Activate the environment for your shell:

source ~/environments/linkding/bin/activate[.csh|.fish]

Within the active environment install the application dependencies from the application folder:

pip3 install -r requirements.txt -r requirements.dev.txt

Install frontend dependencies:

npm install

Initialize database:

mkdir -p data
python3 manage.py migrate

Create a user for the frontend:

python3 manage.py createsuperuser --username=joe --email=joe@example.com

Start the Node.js development server (used for compiling JavaScript components like tag auto-completion) with:

npm run dev

Start the Django development server with:

python3 manage.py runserver

The frontend is now available under http://localhost:8000

Tests

Run all tests with pytest:

make test

Formatting

Format Python code with black, and JavaScript code with prettier:

make format

DevContainers

This repository also supports DevContainers: Open in Remote - Containers

Once checked out, only the following commands are required to get started:

Create a user for the frontend:

python3 manage.py createsuperuser --username=joe --email=joe@example.com

Start the Node.js development server (used for compiling JavaScript components like tag auto-completion) with:

npm run dev

Start the Django development server with:

python3 manage.py runserver

The frontend is now available under http://localhost:8000