sharl / boxcar-growl

Push notification to Boxcar for iPhone/iPad/Mac

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

boxcar-growl - Push notification to Boxcar 2

Copyright(C) Sharl Morlaroll <sharl@hauN.org>

* License - Perl/Artistic

* Settings

1. Install Boxcar 2 to your device

   http://boxcar.io/client

2. get "ACCESS TOKEN"

   https://boxcar.uservoice.com/knowledgebase/articles/314474-how-to-get-my-boxcar-access-token

3. Write "ACCESS TOKEN" to ~/.boxcar-growl

token = xxxxxxxxxxxxxxxxxx

4. Let's try!

	$ boxcar-growl test "push to boxcar 2 by boxcar-growl" --sound light
	$ echo foo bar | boxcar-growl qux
	$ boxcar-growl "from stdin"
	foo
	bar
	qux
	^D

sound name list:

   https://boxcar.uservoice.com/knowledgebase/articles/306788-how-to-send-your-boxcar-account-a-notification

* Troubleshooting

If you get the following error when running the script:

        "can't verify ssl peers without knowing which certificate authorities to trust"

Then you need to install and/or update your LWP::UserAgent and Mozilla::CA perl libraries[1]. You can do this as follows:

     $ sudo cpan
     install LWP::UserAgent Mozilla::CA

[1] See the following post for details: http://www.perlmonks.org/?node_id=892166

About

Push notification to Boxcar for iPhone/iPad/Mac


Languages

Language:Perl 100.0%