{ "info": { "author": "Bernard `Guyzmo` Pratz", "author_email": "notossh@m0g.net", "bugtrack_url": null, "classifiers": [ "Environment :: Console", "Environment :: MacOS X", "Environment :: X11 Applications", "Topic :: Communications :: Chat :: Internet Relay Chat", "Topic :: Text Editors :: Emacs" ], "description": "WHATEVER\n========\n\nthat code is a quick and dirty hack to get notifications over ssh from my server\nrunning irssi to my workstation. Aimed to be extended with other notification\nsystems.\n\n * http://m0g.net/notossh/\n * http://github.com/guyzmo/irssi-over-ssh-notifications\n * http://i.got.nothing.to/post/2010/06/21/On-screen-notifications-from-IRSSI-over-SSH\n\nfor original notify.pl code :\n\n * http://lewk.org/log/code/irssi-notify\n\nINSTALL\n=======\n\n * REMOTE SHELL running ERC\n\nTODO by someone who uses ERC!\n\n * REMOTE SHELL running IRSSI\n\n1/ copy 'notify.pl' to your ~/.irssi/scripts folder\n i.e. scp notify.pl REMOTE:.irssi/scripts\n2/ do '/load perl' and '/script load notify.pl' in irssi\n - TIP: Add it to your irssi conf to auto load\n3/ Ensure SSH allows remote tunnels - i.e. GatewayPorts yes\n4/ configure the 'highlights' in your client. (if you don't know how RTFM !)\n - /hilight -regex bla|bla\n\n * Local SSH Client\n\n1/ install the local service either by doing: \n 1.1/ pip install notossh\n 1.2/ python setup.py install\n4/ configure how you want to instance it\n 4.1/ configure your ssh client to run it (see below)\n 4.2/ make your own script (or launch it manually) : `notossh start`\n 4.3/ to end the service run : `notossh stop`\n6/ if you don't like it as is... HACK IT !\n\nOPTIONS\n=======\n\n usage: irssi-notify-listener.py [-h] [-f] [-S] [-V] [-H HOST] [-P PORT]\n [-G GROWL] [-N NOTIFY]\n {start,stop} ...\n\n IRSSI Notify Listener\n\n positional arguments:\n {start,stop}\n start Starts the service\n stop Stops the service\n\n optional arguments:\n -h, --help show this help message and exit\n -f, --foreground Make the notifications stick\n -S, --sticky Make the notifications stick\n -V, --verbose Make the listener verbose\n -H HOST, --host HOST Host to listen on\n -P PORT, --port PORT Port to listen on\n -G GROWL, --with-growl GROWL\n Path to growl executable\n -N NOTIFY, --with-notify NOTIFY\n Path to notify executable\n\nCONFIGURATION\n=============\n\nadd to your .ssh/config those lines, where HOST is the host and port the PORT you want\nto connect to :\n\n Host HOST\n PermitLocalCommand yes\n LocalCommand \"/path/to/bin/notossh start\"\n RemoteForward PORT localhost:PORT\n\nNOTIFICATIONS\n=============\n\nto change the way notifications behaves, like on Fedora systems, you can change the notification\nline to the following, making it transient :\n\n return [args.notify, '--hint', 'int:transient:1', '-i', 'dialog-information', '-t', '5000', ':'.join(args[1:]), args[0]]\n\nTODO\n====\n\n * enable passing through the arguments after -- to the notification service\n\nLICENCES\n========\n\nSince 2010, that code is aimed to be hacked.\nThanks to Charles `doublerebel` Philips, Rui Abreu Ferreira and Cooper Ry Lees for their hacks!\n\nnotify.pl is under GPL (because I copy/pasted it from Luke Macken and Paul W. Frields)\n\neverything else is WTFPL (because I don't care what you do with it, but if you don't \ntell me you've improved it it, you're just a moron)\n\nAnd if you like it, buy me a beer ! \n\nBy Bernard `Guyzmo` Pratz\nMail-me on guyzmo at m0g dot net.\n\n * WTFPL\n\n DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE \n Version 2, December 2004 \n\n Copyright (C) 2004 Sam Hocevar \n\n Everyone is permitted to copy and distribute verbatim or modified \n copies of this license document, and changing it is allowed as long \n as the name is changed. \n\n DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE \n TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION \n\n 0. You just DO WHAT THE FUCK YOU WANT TO.\n\n * GPLv2\n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program. If not, see .\n\nEOF", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://m0g.net/notossh/", "keywords": "ssh irc notifications growl libnotify irssi erc daemon", "license": "WTFPL", "maintainer": null, "maintainer_email": null, "name": "notossh", "package_url": "https://pypi.org/project/notossh/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/notossh/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://m0g.net/notossh/" }, "release_url": "https://pypi.org/project/notossh/1.0/", "requires_dist": null, "requires_python": null, "summary": "NOTifications Over SSH", "version": "1.0" }, "last_serial": 795559, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "84d1ad1f7cc79addc2310d2450f134c1", "sha256": "00dd1d8b90bbf25943b37888d99c1c0471ecac29e21f322b5446fed6eb0fca17" }, "downloads": -1, "filename": "notossh-1.0-py2.7.egg", "has_sig": false, "md5_digest": "84d1ad1f7cc79addc2310d2450f134c1", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 65583, "upload_time": "2013-01-15T23:38:25", "url": "https://files.pythonhosted.org/packages/5b/86/9b5506588b66884b20055ee59024372c4108a35b8c65ab9664bd17e0a358/notossh-1.0-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "a7cf6c8484a4a4f9c53e3adcf2370310", "sha256": "1957febba6eb6af1c2cf5fd787895d6b1e2abce7d39d22f1c94e39671991a751" }, "downloads": -1, "filename": "notossh-1.0.tar.gz", "has_sig": false, "md5_digest": "a7cf6c8484a4a4f9c53e3adcf2370310", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 34027, "upload_time": "2013-01-15T23:38:19", "url": "https://files.pythonhosted.org/packages/9c/1b/0c62c256aaf30f9b90d36369d9c0bf70ab0591602827f1e5e52182c18e2c/notossh-1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "84d1ad1f7cc79addc2310d2450f134c1", "sha256": "00dd1d8b90bbf25943b37888d99c1c0471ecac29e21f322b5446fed6eb0fca17" }, "downloads": -1, "filename": "notossh-1.0-py2.7.egg", "has_sig": false, "md5_digest": "84d1ad1f7cc79addc2310d2450f134c1", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 65583, "upload_time": "2013-01-15T23:38:25", "url": "https://files.pythonhosted.org/packages/5b/86/9b5506588b66884b20055ee59024372c4108a35b8c65ab9664bd17e0a358/notossh-1.0-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "a7cf6c8484a4a4f9c53e3adcf2370310", "sha256": "1957febba6eb6af1c2cf5fd787895d6b1e2abce7d39d22f1c94e39671991a751" }, "downloads": -1, "filename": "notossh-1.0.tar.gz", "has_sig": false, "md5_digest": "a7cf6c8484a4a4f9c53e3adcf2370310", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 34027, "upload_time": "2013-01-15T23:38:19", "url": "https://files.pythonhosted.org/packages/9c/1b/0c62c256aaf30f9b90d36369d9c0bf70ab0591602827f1e5e52182c18e2c/notossh-1.0.tar.gz" } ] }