自主托管的书签管理器,旨在保持简洁、快速,并通过 Docker 进行轻松设置。
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:
Feature Overview:
Demo: https://demo.linkding.link/
Screenshot:
The following links help you to get started with linkding:
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.
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.
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. Other than that the code should be self-explanatory / standard Django stuff .
Initialize the development environment with:
make initThis sets up a virtual environment using uv, installs NPM dependencies and runs migrations to create the initial database.
Create a user for the frontend:
uv run manage.py createsuperuser --username=joe [email protected]Run the frontend build for bundling frontend components with:
make frontendThen start the Django development server with:
make serveThe frontend is now available under http://localhost:8000
Run all tests with pytest:
make testRun linting with ruff:
make lintFormat Python code with ruff, Django templates with djlint, and JavaScript code with prettier:
make formatThis repository also supports DevContainers:
Once checked out, only the following commands are required to get started:
Create a user for the frontend:
uv run manage.py createsuperuser --username=joe [email protected]Start the Node.js development server (used for compiling JavaScript components like tag auto-completion) with:
make frontendStart the Django development server with:
make serveThe frontend is now available under http://localhost:8000
标签搜索的问题:无法使用新的搜索模式搜索英语(中文),但使用旧的搜索方法没有问题
无法通过 PATCH 或 PUT 调用修改 preview_image_url
功能请求: 在 /api/tags/ 端点中包含书签数量
[功能请求] 翻译成当地语言 (法语,德语等)
整合可用性
当搜索结果仅有一个时自动重定向
如果可用,则从文件中打开,而不是打开链接
特性: 添加可选环境变量,以设置超级用户电子邮件
功能请求:默认将链接设置为在阅读器视图中打开
根据 PGID 和 PUID 保持数据目录的所有权