Git Product home page Git Product logo

ical2gcal's Introduction

ical2gcal

<img src=“https://travis-ci.org/wtnabe/ical2gcal.png” alt=“Build Status” />

sync ics(es) to google calendar

Benefits

  • Solve the PROBLEM that Android’s calendar program cannot reference webcal !

  • Complete sync calendar from .ics to google calendar ( also deleting events )

Requirements

How to use

  1. Install Ruby

  2. ‘gem install ical2gcal`

  3. open Your Google API Console and setup your App and Credential, and download JSON and put as ‘client_secrets.json’ ( defined in ruby-client )

  4. Prepare calendar that you like to import to, and note that id

  5. type ‘ical2gcal –help`

see developers.google.com/google-apps/calendar/firstapp

Incompatible Changes ( v0.5 )

* How to specify calendar is changed to ID from name
* How to save the authentication information is changed to Credential from Pit

Contributing to ical2gcal

  • Check out the latest master to make sure the feature hasn’t been implemented or the bug hasn’t been fixed yet

  • Check out the issue tracker to make sure someone already hasn’t requested it and/or contributed it

  • Fork the project

  • Start a feature/bugfix branch

  • Commit and push until you are happy with your contribution

  • Make sure to add tests for it. This is important so I don’t break it in a future version unintentionally.

  • Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.

Copyright © 2011 wtnabe. See LICENSE.txt for further details.

ical2gcal's People

Contributors

wtnabe avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

Forkers

sooo byplayer

ical2gcal's Issues

does not work with Ruby 1.9 ( 0.3 )

error message is:

lib/ical2gcal.rb:24:in `run': undefined method `each' for #<String:0x17cb68> (NoMethodError) from ./bin/ical2gcal:5:in `<main>'

gcalapi doesn't work

Perhaps google_calendar would be a better option.

$ ical2gcal
/Users/rsc/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/cgi/util.rb:7:in `escape': undefined method `encoding' for nil:NilClass (NoMethodError)
        from /Users/rsc/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/gcalapi-0.1.2/lib/googlecalendar/service.rb:30:in `block in auth'
        from /Users/rsc/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/net/http.rb:851:in `start'
        from /Users/rsc/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/gcalapi-0.1.2/lib/googlecalendar/service.rb:29:in `auth'
        from /Users/rsc/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/gcalapi-0.1.2/lib/googlecalendar/service_base.rb:72:in `calendar_list'
        from /Users/rsc/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/ical2gcal-0.3.2/lib/google.rb:36:in `calendars'
        from /Users/rsc/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/ical2gcal-0.3.2/lib/google.rb:44:in `calendar'
        from /Users/rsc/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/ical2gcal-0.3.2/lib/google.rb:76:in `remove_all_events'
        from /Users/rsc/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/ical2gcal-0.3.2/lib/ical2gcal.rb:23:in `run'
        from /Users/rsc/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/ical2gcal-0.3.2/bin/ical2gcal:5:in `<top (required)>'
        from /Users/rsc/.rbenv/gems/2.0.0/bin/ical2gcal:23:in `load'
        from /Users/rsc/.rbenv/gems/2.0.0/bin/ical2gcal:23:in `<main>'

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.