Skip to content

SycamoreEducation/ZulipRemindBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZulipRemindBot

Ruby on Rails engine for Zulip reminders

Installation

Add this line to your application's Gemfile:

gem 'zulip_remind_bot', git: 'https://github.com/SycamoreEducation/ZulipRemindBot'

And then execute:

$ bundle

Mount in your routes config:

Rails.application.routes.draw do
  mount ZulipRemindBot::Engine => '/reminders'

Set up an Outgoing Webhook bot in Zulip pointing to this new route.

Create config/initializers/zulip_remind_bot.rb to populate the bot's credentials and other configuration values:

ZulipRemindBot.user = 'user@example.com'
ZulipRemindBot.pass = ''
ZulipRemindBot.token = ''
ZulipRemindBot.url = 'https://zulip.example.com'
ZulipRemindBot.tz = 'US/Central'

Usage

Send a private message to your Zulip bot with the syntax <msg> | <time> to set a reminder.

go home | at 5pm
take a break | in 20 minutes

Times are parsed by the Chronic gem. See the README for examples.

License

The gem is available as open source under the terms of the MIT License.

About

Ruby on Rails engine for Zulip reminders

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •