sissbruecker / linkding

Self-hosted bookmark manager that is designed be to be minimal, fast, and easy to set up using Docker.
MIT License
5.32k stars 261 forks source link

Automatically add tags to bookmarks based on URL pattern #736

Closed vslinko closed 1 month ago

vslinko commented 1 month ago

Allows to automatically add tags to bookmarks by defining rules that map URLs to one or more tags. For example:

youtube.com video
reddit.com/r/Music music reddit
sissbruecker commented 1 month ago

Works great, thanks again!

sissbruecker commented 1 month ago

Created this as a follow up: https://github.com/sissbruecker/linkding/pull/737

I was thinking that it would be nice if it would just pre-fill the tags input with the auto tags. But then the user would also be able to remove automatically added tags and would expect them to not get added again when saving. That would get somewhat complex when trying to make this work through the extension and the REST API. Maybe I'll give that a shot later.