{"id":15917474,"url":"https://github.com/takuya/gmainotification","last_synced_at":"2025-03-24T07:32:04.933Z","repository":{"id":1773049,"uuid":"2694452","full_name":"takuya/GmaiNotification","owner":"takuya","description":"Gmail Notification via google talk XMPP","archived":false,"fork":false,"pushed_at":"2011-11-02T11:35:45.000Z","size":99,"stargazers_count":9,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-13T18:53:20.085Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/takuya.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-11-02T11:17:00.000Z","updated_at":"2023-12-03T09:45:10.000Z","dependencies_parsed_at":"2022-09-06T18:12:00.157Z","dependency_job_id":null,"html_url":"https://github.com/takuya/GmaiNotification","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takuya%2FGmaiNotification","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takuya%2FGmaiNotification/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takuya%2FGmaiNotification/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takuya%2FGmaiNotification/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/takuya","download_url":"https://codeload.github.com/takuya/GmaiNotification/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221944612,"owners_count":16905661,"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","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":[],"created_at":"2024-10-06T18:10:54.185Z","updated_at":"2024-10-28T22:23:03.709Z","avatar_url":"https://github.com/takuya.png","language":"Ruby","readme":"GmailNotify\n\nGmailにメールが届いたら、Growlで通知する\n\n\nMac版のGoogleTalkが存在しないので、Rubyで通知機能を作った。\n\n\n使い方\n----------------\nrequire 'gmailnotify.rb'\n\nxmpp_client = GmailNotify.new(\"takuya.XXX@gmail.com\", \"++password++\")\nxmpp_client.start\n\n必要なもの\n---------------------\n1: xmpp4rライブラリ。  (gem install xmpp4r)\n2: growl + growlnotify (http://growl.info/extras.php#growlnotify)\n\n\n\n説明\n----------------------\n\niChatでチャットはできるが、メール通知ができない。\nGoogle Talk　＝　\u003cgmail notify\u003e + \u003cjabber Client\u003e\n\nMachではiChat ＝　＜Jabber Client\u003e である。\nGmail通知がないと、Mac環境ではGoogleTalk同等にならない。\n\nそこで rubyで実装した。\n\nGoogle Talkにはメール受信をXMPP経由での通知機能がある。\n\nメール着信時に通知を受けるので、とてもレスポンスがリアルタイム。\nもともとXMPPというチャット用のプロトコルなので、通知が速い。\n\nxmpp4rの問題点、Thread#abort_on_exception=true を使い倒す\nなので、エラーのキャッチが面倒。専用のエラーハンドラが機能不足で、ハンドラがCallされる前にthreadがAbortする\n\n-------------------------\nGmail側のXMPP独自拡張の仕様\n-------------------------\nGmail Notifications : http://code.google.com/apis/talk/jep_extensions/gmail.html\n\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftakuya%2Fgmainotification","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftakuya%2Fgmainotification","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftakuya%2Fgmainotification/lists"}