Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically add tags to bookmarks based on URL pattern #736

Merged
merged 22 commits into from
May 17, 2024

Conversation

vslinko
Copy link
Contributor

@vslinko vslinko commented May 14, 2024

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

dsl.py Outdated Show resolved Hide resolved
@vslinko vslinko marked this pull request as ready for review May 16, 2024 12:24
@vslinko vslinko changed the title [WIP] Auto tagging Auto tagging May 16, 2024
@sissbruecker
Copy link
Owner

Works great, thanks again!

@sissbruecker sissbruecker changed the title Auto tagging Automatically add tags to bookmarks based on URL pattern May 17, 2024
@sissbruecker sissbruecker merged commit fa5f78c into sissbruecker:master May 17, 2024
2 checks passed
@sissbruecker
Copy link
Owner

Created this as a follow up: #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.

@vslinko vslinko deleted the auto-tagging branch May 18, 2024 08:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants