Skip to content
"tsani's pushbullet client"
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
scripts/bin add script for listing files uploaded to pushbullet Aug 23, 2018
src require servant>=0.13 and refactor pb-notify HTTP manager Aug 23, 2018
.gitignore gitignore stack work Aug 1, 2017
ChangeLog.md bump to version 0.5.0.0 Aug 3, 2018
LICENSE bring code out of servant-pushbullet-client repo Feb 8, 2017
README.md
Setup.hs bring code out of servant-pushbullet-client repo Feb 8, 2017
env.sh naming Feb 15, 2017
tpb.cabal require servant>=0.13 and refactor pb-notify HTTP manager Aug 23, 2018

README.md

tsani's Pushbullet tools

Hackage

This repository contains several (ahem two ahem) applications for interacting with the Pushbullet API: tpb and pb-notify.

The former provides a command-line interface to some of the Pushbullet API endpoints. The latter listens to the Pushbullet realtime event stream and dispatches notifications (libnotify).

Read more about these applications in my blog post.

Features

tpb

  • multiple output formats:
    • for standalone usage, nice human-readable formatting; and
    • for usage in scripts, tabular output as JSON separated values.
  • list devices.
  • list SMS threads on a device.
  • list contents of an SMS thread on a device, either:
    • by thread ID; or
    • by fuzzy-matching the recipient's name to find the thread ID.
  • send SMS, either :
    • by giving an explicit phone number; or
    • by fuzzy-matching the recipient's name to find their phone number.

tpb comes with a helper script sms that provides a more intuitive command syntax; just type sms to jacob "hello world" to send a text message!

pb-notify

Sends libnotify notifications when:

  • SMS are received by any of your connected devices
  • Pushes are received by any connected devices
You can’t perform that action at this time.