Giter VIP home page Giter VIP logo

gcalert's Introduction

Lightweight Google Calendar notifications

Copyright Andras Horvath, 2009

This program periodically checks all of your Google Calendars and displays a desktop notification via libnotify whenever a reminder is set for an event. Libnotify windows receive no focus and don't take keyboard input away from other applications, yet are clearly visible even on a cluttered desktop.

Also; getting 'thrown out' from Google Services is apparently normal, and gcalert will reconnect automatically.

Installation

Arch Linux

You can simply download the gcalert package from the AUR.

Requirements

Debian/Ubuntu Packages

apt-get install python-notify python-dateutil python-googleapi notification-daemon

TODO

  • Warn for insecure permissions of the OAuth file.
  • Use some sort of proper logging with log levels, etc.
  • Options for selecting which calendars to check
  • Snooze buttons; this requires a gtk.main() thread and that's not trivial.
  • Unit Tests, after having a main().
  • Multi-language support.
  • GUI and status bar icon.
  • Add systemd scripts to Arch package
  • Parameter for changing notification text formatting

License

Copyright 2009 Andras Horvath (andras.horvath nospamat gmailcom) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

gcalert's People

Contributors

codehearts avatar raas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

svenschwermer

gcalert's Issues

Add LICENSE.txt and CONTRIBUTING

This project should have a copy of the GNU GPLv3 included with it. Also update the copyright information in the readme, and add a file for contributing.

The code

The code throws an exception for my calendar
Logged in to Google Calendar
gcalert 3.2 running
Traceback (most recent call last):
File "gcalert", line 647, in
GCalert()
File "gcalert", line 209, in init
self.update_events_thread()
File "gcalert", line 398, in update_events_thread
new_events = self.date_range_query(range_start.isoformat(), range_end.isoformat())
File "gcalert", line 257, in date_range_query
if not 'overrides' in event['reminders']:
KeyError: 'reminders'

The OAuth client was deleted

When starting GCAlert, the web browser show up for the OAuth danse. But it seems that the client ID/secret is no longer valid. The page displays:

Error 401 : deleted_client
The OAuth client was deleted.

Then GCAlert stops.

Missing dependency on arch

After I installed from AUR and ran it, it gave me a Dependency was not found! No module named 'oauth2client'. Installing python-oauth2client on pacman fixed the problem. I assume there must be a missing dependency in the build file

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.