Project

eventify

0.0
Low commit activity in last 3 years
A long-lived project that still receives updates
Get notifications about upcoming events from different providers/organizers.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
>= 0
>= 0

Runtime

 Project Readme

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: ['foo@bar.com']).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.