| Documentation | Build Status |
|---|---|
- Set necessary configuration options in
.envfile. Template can be found in.env_template
REMINDER_BOT_HOST: host, by default "127.0.0.1"REMINDER_BOT_PORT: port, by default 9175
REMINDER_BOT_ZULIPCHAT: url of Zulip chat, e.g.https://my-organization.zulipchat.comREMINDER_BOT_EMAIL: email which was used to register in bot in Zulip chatREMINDER_BOT_API_KEY: api key of the bot, which can be found in bot settings of the corresponding Zulip chat.REMINDER_BOT_TOKEN: bot token, which you should receive from zulip server. To do it, runjulia extras/echo.jland send message from zulip. In the output you'll see token.
-
Logging and database options should be set in
configuration.jl. Example of configuration can be found inconf_template.jl. Currently only postgresql is supported. -
Initialize database with
julia --project=. migrations.jl- Run server with
julia --project=. reminderserver.jl- Enjoy
Currently following commands are supported
<where> <when> <what>: set a reminder.whereis optional, should be eithermeorhere. In latter case bot sends a message to the topic where reminder was set. Ifwhereis omitted reminder bot sends message privately to the person who set the reminder.whencan be either in relative formX days Y hours Z minutesor in an absolute form2020-10-01 23:15:00. In relative forms single or plural form ofmonth,week,day,hour,minute,secondare allowed as well as positive and negative values ofX,Y,Z. In absolute form date is mandatory, but hours, minute or second part can be omitted.whatis a message that should be shown by reminder bot.
list: show all current reminders of a user.remove <id>: remove your reminder with the id<id>. Multiple<id>can be given comma separated.timezone <value>: set timezone for current user. If<value>is omitted, then current setting is used. Value should be in a formEurope/Amsterdam,America/New_Yorkand the like.help: this message
Examples of usage:
me 2 days drink coffee(send private message in two hours)1 day -2 hour redo things(send message tomorrow, two hours earlier than today's current time)2021-12-31 12:00 Happy New Year(send private message on the midnight of 31 December 2021)here 1 hour Say something(send message to the stream in 1 hour) """