Reminder Plus is a simple self-hosted alternative to Slack's reminders with customizable snooze times.
- Place the
.php
files to a public directory.
- Create a MySQL database using ddl.sql file:
mysql -u yourusername -p yourpassword < ddl.sql
- Click
Create New App
at https://api.slack.com/apps.
- Write down the
App ID
and theVerification Token
fromBasic Information
tab'sApp Credentials
section.
- In
Interactive Components
tab, enter your URL with the path ofreq.php
for theRequest URL
inInteractivity
section.
- In
OAuth & Permissions
tab, navigate toScopes
section. Addchat:write
,commands
,im:history
andim:read
as OAuth Scopes.
- Click
Install App to Workspace
button in the top of the same tab. AndAllow
the app.
- Go back to
OAuth & Permissions
tab and write down theBot User OAuth Access Token
.
- Enable
Always Show My Bot as Online
option fromApp Home
tab.
- Go to
Event Subscriptions
tab and enableEnable Events
radio button. Enter the samereq.php
full path to theRequest URL
.
- In
Subscribe to bot events
section addmessage.im
as the Bot User Event.
- Edit constants.php file to set the values that you got while creating the Slack app:
define('AUTH_TOKEN', '<Bot User OAuth Access Token> from step 6');
define('APP_ID', '<App ID> from step 2');
define('VERIF_TOKEN', '<Verification Token> from step 2');
- Create a cron job to run cron.php every minute:
* * * * * php /var/www/reminder-plus/cron.php > /dev/null
After adding the bot to your workspace you can type help
to find out the available commands.
Add your reminder with the following syntax:
"[reminder content]" [date format]
, e.g. "My first reminder" dec 19 17:15
You can also add a reminder for a specific Slack message by clicking More actions
button of the message.
dec 19
- reminder at default hourdec 19 12:15
- reminder at specified hourdec 19 21
- reminder at the top of the specified hour (21:00)16:30
- reminder at the specified hour for today16
- reminder at the top of the specified hour for todaytomorrow
ortm
- reminder at default hour for tomorrowtomorrow 14
ortm 14
- reminder at the top of the specified hour for tomorrow (14:00)tomorrow 14:15
ortm 14:15
- reminder at the specified hour for tomorrowmon
tosun
- reminder at the default hour in the next occurrence of the specified daymon 14
- reminder at the top of the specified hour in the next occurrence of the specified day (14:00)mon 14:15
- reminder at the specified hour in the next occurrence of the specified dayin 3h
orin 30m
orin 1h 30m
- relative times to now
list
orl
- list incomplete reminderslist all
orla
- list all reminders
pref hour [time]
- set yout default hour. e.g.pref hour 09:30
This value will be used when you enter a date without a specified hour.
pref snooze [time]
- set your snooze times. e.g.pref snooze in 1h, 14:30, 17:30, tomorrow
This values will be used as preset values in snooze menu.
pref list
- list your current preferences