Push notifications for Xûr's inventory
Xûr is the mysterious traveling salesman in Bungie's game Destiny. Each weekend he visits, he brings with him exotic items which he puts up for sale for Guardians.
xur-notify
is a little utility, intended to be run on schedule, to instantly notify Guardian's of Xûr's arrival and the particular gifts he bears.
Currently, the following notification methods are supported:
- Push notifications, with the excellent Pushover
Note: plans for other notification methods are emerging
Right now, the notification simply sends a list of the exotic armour/weapons on sale.
In future versions, more detailed information will be provided, such as stat-roll and quality.
Lockscreen | Pushover |
---|---|
Subscribe via Pushover to receive notifications from xur-notify
at 10:00AM UTC every Friday!
Warning: This is an experimental implementation - due to potential influx in users, please bear with me in this initial release. I'm personally hosting the infrastructure triggering the notifications, so there may be some unforeseen problems in early usage
I have Open Source software and the brilliant community behind it to thank for so much in my life, I'd like to stay true to my roots.
So, if you'd rather just run your own xur-notify
, feel free!
In this current implementation, xur-notify
requires the following environment variables:
BNET_API_KEY
- can be obtained from bungie.netPUSHOVER_TOKEN
- use your own application token, from pushover.netPUSHOVER_RECIPIENT_KEY
- use your user/group token, from pushover.netTIMEZONE
- specify your timezone, defaults toEurope/London
if unset (use tz database zone format)
A Docker image (cmacrae/xur-notify
) is available, and should be run like so:
docker run --name xur-notify -d -e PUSHOVER_TOKEN=$PUSHOVER_TOKEN -e PUSHOVER_RECIPIENT_KEY=$PUSHOVER_RECIPIENT_KEY -e BNET_API_KEY=$BNET_API_KEY cmacrae/xur-notify:1.0.0-alpha
Note: the relevant environment variables would need to be set in order for this to work
This Docker image simply uses cron
to execute xur-notify
at 10:00 AM UTC (Xûr's arrival time).
If you'd like to alter this to suit your schedule, you can build your own Docker image changing the following line to your own time in cron
format:
RUN echo -e "0\t10\t*\t*\t5\t/bin/xur-notify &> /dev/stdout" > /etc/crontabs/root
Or, simply head over to the releases page and grab the latest binary for your platform, set your environment variables, and run it!
You'll probably want to have this execute on a schedule, so you get seemless notifications when Xûr arrives.
See the LICENSE file
- @gregdel: for making Pushover integration so slick
- @jmoiron: for easing handling of json structures
- The awesome people at superblock for Pushover!
- Allyn H for his series of blog posts that inspired me to write
xur-notify