{"id":13501621,"url":"https://github.com/s3rvac/weechat-notify-send","last_synced_at":"2025-08-20T16:32:30.851Z","repository":{"id":34037253,"uuid":"37799921","full_name":"s3rvac/weechat-notify-send","owner":"s3rvac","description":"A WeeChat script that sends highlight and message notifications through notify-send","archived":false,"fork":false,"pushed_at":"2025-05-09T08:14:49.000Z","size":231,"stargazers_count":176,"open_issues_count":7,"forks_count":19,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-05-09T09:25:28.702Z","etag":null,"topics":["notifications","weechat"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/s3rvac.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2015-06-21T06:56:02.000Z","updated_at":"2025-05-09T08:14:53.000Z","dependencies_parsed_at":"2024-01-16T10:37:14.830Z","dependency_job_id":"308d0280-a676-4e9e-9e8a-34dfb99ff514","html_url":"https://github.com/s3rvac/weechat-notify-send","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/s3rvac/weechat-notify-send","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s3rvac%2Fweechat-notify-send","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s3rvac%2Fweechat-notify-send/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s3rvac%2Fweechat-notify-send/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s3rvac%2Fweechat-notify-send/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/s3rvac","download_url":"https://codeload.github.com/s3rvac/weechat-notify-send/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s3rvac%2Fweechat-notify-send/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271349823,"owners_count":24744353,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-20T02:00:09.606Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["notifications","weechat"],"created_at":"2024-07-31T22:01:44.036Z","updated_at":"2025-08-20T16:32:30.843Z","avatar_url":"https://github.com/s3rvac.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"weechat-notify-send\n===================\n\n[![Build Status](https://github.com/s3rvac/weechat-notify-send/actions/workflows/tests.yml/badge.svg?branch=master)](https://github.com/s3rvac/weechat-notify-send/actions/workflows/tests.yml?query=branch%3Amaster)\n[![Coverage Status](https://coveralls.io/repos/github/s3rvac/weechat-notify-send/badge.svg?branch=master)](https://coveralls.io/github/s3rvac/weechat-notify-send?branch=master)\n\nA [WeeChat](https://weechat.org/) script that sends highlight and message\nnotifications through\n[notify-send](http://manpages.ubuntu.com/manpages/vivid/man1/notify-send.1.html).\nIt requires [libnotify](https://developer.gnome.org/libnotify/), which provides\nthe `notify-send` application.\n\n![Screenshot](screenshot.png \"A screenshot from my desktop.\")\n\nNote that the exact appearance depends on the configuration of your\nnotification system as well as on the used icon.\n\nRequirements\n------------\n\n* Python 2.7 or Python \u003e= 3.9 (either CPython or PyPy)\n    * Note: The script might work even in older Python 3 releases, but this is\n      not guaranteed.\n* `notify-send` provided by [libnotify](https://developer.gnome.org/libnotify/)\n    * Debian: [libnotify-bin](https://packages.debian.org/bullseye/libnotify-bin)\n    * Ubuntu: [libnotify-bin](https://packages.ubuntu.com/focal/libnotify-bin)\n    * Arch Linux: [extra/libnotify](https://www.archlinux.org/packages/extra/x86_64/libnotify/)\n\nInstallation\n------------\n\n* Put the\n  [`notify_send.py`](https://raw.githubusercontent.com/s3rvac/weechat-notify-send/master/notify_send.py)\n  script to `~/.weechat/python/`.\n* Add a symbolic link to it in the `~/.weechat/python/autoload/` directory\n  to make the script load automatically when WeeChat starts:\n\n    ```\n    $ cd ~/.weechat/python/autoload\n    $ ln -s ../notify_send.py\n    ```\n\nOptions\n-------\n\nThe script allows you to set the following options, either by running `/set\nplugins.var.python.notify_send.XXX YYY` or by using the\n[iset.pl](https://weechat.org/scripts/source/iset.pl.html/) script.\n\n* `notify_on_highlights`. Send notifications on highlights. Default: `on`.\n* `notify_on_privmsgs`. Send notifications on private messages. Default: `on`.\n* `notify_on_filtered_messages`. Send notifications also on filtered (hidden)\n  messages. Default: `off`.\n* `notify_when_away`: Send also notifications when away. Default: `on`.\n* `notify_for_current_buffer`: Send also notifications for the currently active\n  buffer. Default: `on`.\n* `notify_on_all_messages_in_current_buffer`: Send a notification on all\n  messages in the currently active buffer. Default: `off`.\n* `notify_on_all_messages_in_buffers`: A comma-separated list of buffers for\n  which you want to receive notifications on all messages that appear in them.\n  You can use either short names (`#buffer`) or full names (`network.#buffer`).\n  Default: `''`.\n* `notify_on_all_messages_in_buffers_that_match`: A comma-separated list of\n  regex patterns of buffers for which you want to receive notifications on all\n  messages that appear in them. The matching is done via\n  [`re.search()`](https://docs.python.org/3/library/re.html#re.search).\n  Default: `''`.\n* `notify_on_messages_that_match`: A comma-separated list of regex patterns for\n  which you want to receive notifications for any message that matches\n  the given regular expression. The matching is done via\n  [`re.search()`](https://docs.python.org/3/library/re.html#re.search).\n  Default: `''`.\n* `min_notification_delay`. A minimal delay in milliseconds between successive\n  notifications from the same buffer. It is used to protect from floods/spam.\n  Set it to `0` to disable this feature (i.e. all notifications will be shown).\n  Default: `500` milliseconds.\n* `ignore_messages_tagged_with`: A comma-separated list of message tags for\n  which no notifications should be shown. Default:\n  `'notify_none,irc_join,irc_quit,irc_part,irc_status,irc_nick_back,irc_401,irc_402'`.\n* `ignore_buffers`: A comma-separated list of buffers from which no\n  notifications should be shown. You can use either short names (`#buffer`) or\n  full names (`network.#buffer`). Default: `''`.\n* `ignore_buffers_starting_with`: A comma-separated list of buffer prefixes\n  from which no notifications should be shown. Default: `''`.\n* `ignore_nicks`: A comma-separated list of nicks from which no notifications\n  should be shown. Default: `'-,--,--\u003e'`.\n* `ignore_nicks_starting_with`: A comma-separated list of nick prefixes from\n  which no notifications should be shown. Default: `''`.\n* `hide_messages_in_buffers_that_match`: A comma-separated list of regex\n  patterns for names of buffers from which you want to receive notifications\n  without messages. Default: `''`.\n* `nick_separator`: A separator to be put between a nick and a message.\n  Default: `: `.\n* `escape_html`: Escapes the `\u003c`, `\u003e`, and `\u0026` HTML\n  characters in notification messages. Default: `on`.\n* `max_length`: The maximal length of a notification (0 means no limit).\n  Default: 72.\n* `ellipsis`: An ellipsis to be used for notifications that are too long.\n  Default: `[..]`.\n* `icon`: A path to an icon to be shown in notifications. Default:\n  `/usr/share/icons/hicolor/32x32/apps/weechat.png`.\n* `desktop_entry`: Name of the desktop entry for WeeChat. Default: `weechat`.\n* `timeout`: Time after which the notification disappears (in milliseconds).\n  Set it to 0 to disable the timeout. Default: 5000 (5 seconds).\n* `transient`: When a notification expires or is dismissed, remove it from the\n  notification bar. Set it to `off` to keep the notification. Default: `on`.\n* `urgency`: Notification urgency (`low`, `normal`, `critical`). Default:\n  `normal`.\n\nLicense\n-------\n\nCopyright (c) 2015 Petr Zemek (s3rvac@gmail.com) and contributors.\n\nDistributed under the MIT license. See the\n[`LICENSE`](https://github.com/s3rvac/weechat-notify-send/blob/master/LICENSE)\nfile for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fs3rvac%2Fweechat-notify-send","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fs3rvac%2Fweechat-notify-send","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fs3rvac%2Fweechat-notify-send/lists"}