Thanks to visit codestin.com
Credit goes to github.com

Skip to content
/ eventify Public

Eventify will notify you about upcoming events from different providers/organizers.

License

Notifications You must be signed in to change notification settings

jarmo/eventify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

153 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Eventify

Gem Version Coverage Code Climate

Are you tired of missing some cool concerts/events because you just didn't know them happening? Are you tired of not getting good sitting places because you heard of some event too late?

If the answer was yes to either of these questions then Eventify can help you!

Eventify will notify you about upcoming events from different providers/organizers in an aggregated way.

Installation

$ gem install eventify

Usage

  • Create configuration file with your e-mail address:

    $ ruby -reventify -e "Eventify::Configuration.new(subscribers: ['[email protected]']).save"

  • Run it from command line and add it into cron:

    $ ruby -reventify -e "Eventify.new.process_new_events"

  • Check your e-mail for information about upcoming events.

  • Edit configuration settings if defaults won't work for you:

    $ vi ~/.eventify/config.yaml

Supported Providers

The following providers are currently supported:

Adding New Providers

Adding new providers is easy. You just need to create a class with one method satisfying the contract:

require "eventify"

class MyCustomProvider < Eventify::Provider::Base
  def self.fetch
    # fetch some atom feed
    rss = SimpleRSS.parse open("http://example.org/rss.xml")
    rss.entries.map { |entry| new id: entry.guid, title: entry.title, link: entry.link, date: entry.pubDate }
  end
end

# use that provider with Eventify
eventify = Eventify.new
eventify.providers = [MyCustomProvider]
eventify.process_new_events

License

See LICENSE.

About

Eventify will notify you about upcoming events from different providers/organizers.

Resources

License

Stars

Watchers

Forks

Packages

No packages published