Permalink
Browse files

Work in progress

  • Loading branch information...
niftylettuce committed Jan 6, 2016
0 parents commit cdf8beb24b3adece8805ad3c70dafcb7b0d2604d
@@ -0,0 +1,4 @@
{
"presets": ["es2015", "stage-0"],
"plugins": []
}
251 .eslintrc

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -0,0 +1,11 @@
# osx
.DS_Store
# node.js
node_modules/
npm-debug.log
# project
dist/
.cache/
build/
1 .nvmrc
@@ -0,0 +1 @@
v5.3.0
@@ -0,0 +1,9 @@
The MIT License
Copyright (c) 2016- Nick Baugh <niftylettuce@gmail.com> (http://niftylettuce.com/)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,81 @@
![Frappe][frappe-logo]
# Frappé
[![NPM version][npm-image]][npm-url]
[![NPM downloads][npm-downloads]][npm-url]
[![MIT License][license-image]][license-url]
> Remotely shake your Android devices (including emulators) using a menubar applet and the hotkey `cmd+shift+r`.
![Demo][demo]
## Download
The latest release can be found on the [release page][release-page].
You can also install using [Node][node]/[NPM][npm] with `npm install -g frappe` and then run `frappe` command.
## Support
If you have questions or find a bug, please report it under [Issues][issues].
Donations are appreciated and will support free and open source projects.
Instead of requiring you to pay to unlock some annoying "license" jargon pop-ups, or making this only available through the Mac App Store, I made it free; so please donate!
**[Donate Now][donate-now]**
## Background
`frappe` binds the OS X shortcut `cmd+shift+r` to shake all of your connected Android devices over `adb`.
It's a replacement for something like `adb shell input keyevent 82`.
Due bugs in OS X, you cannot create a custom AppleScript command to do this and bind it with Keyboard Shortcuts.
More importantly, `frappe` will shake all your devices for you accurately using `adb` directly (e.g. no more typing `-s device-id`)!
## Endpoints
* `/api/crash-reporter` - sends me a crash report in case you run into issues (uses Electron's crashReporter)
* `/api/updates?version=x.x.x` - checks for updates released here on GitHub (uses Electron's Squirrel implementation)
## Contributors
* Nick Baugh <niftylettuce@gmail.com>
## Credits
* [Coffee drink][coffee-drink] by eivven from the Noun Project
* [Earthquake][earthquake] by Mauro Lucchesi from the Noun Project
* [Café Frappé][cafe-frappe] colour palette from Colour Lovers
## License
[MIT][license-url]
[donate-now]: https://goo.gl/I1JFTX
[issues]: https://github.com/niftylettuce/issues
[release-page]: https://github.com/niftylettuce/frappe/releases
[node]: https://nodejs.org
[npm]: https://www.npmjs.com
[cafe-frappe]: http://www.colourlovers.com/palette/157431/Caf%C3%A9_Frapp%C3%A9
[coffee-drink]: https://thenounproject.com/term/coffee-drink/291679
[earthquake]: https://thenounproject.com/term/earthquake/21862
[license-image]: http://img.shields.io/badge/license-MIT-blue.svg?style=flat
[license-url]: LICENSE
[frappe-logo]: https://cdn.rawgit.com/niftylettuce/frappe/master/media/logo.svg
[demo]: https://cdn.rawgit.com/niftylettuce/frappe/master/media/demo.gif
[npm-image]: http://img.shields.io/npm/v/frappe.svg?style=flat
[npm-url]: https://npmjs.org/package/frappe
[npm-downloads]: http://img.shields.io/npm/dm/frappe.svg?style=flat
@@ -0,0 +1,12 @@
{
"osx" : {
"title": "Frappé",
"background": "media/install.png",
"icon": "media/Icon.icns",
"icon-size": 80,
"contents": [
{ "x": 420, "y": 193, "type": "link", "path": "/Applications" },
{ "x": 182, "y": 193, "type": "file" }
]
}
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 100 97.96625" enable-background="new 0 0 100 78.373" xml:space="preserve"><path d="M78.154,74.677V0h-1.85H21.847v74.676H8.494v3.697h83.013v-3.696H78.154z M40.525,63.396v11.279H25.543V3.696h48.914v70.979 H59.476l0.001-11.279H40.525z"/><rect x="54.422" y="43.303" width="12.402" height="8.825"/><rect x="54.422" y="27.945" width="12.402" height="8.826"/><rect x="54.422" y="12.589" width="12.401" height="8.826"/><rect x="33.176" y="27.945" width="12.402" height="8.826"/><rect x="33.177" y="43.302" width="12.402" height="8.825"/><rect x="33.176" y="12.589" width="12.402" height="8.826"/><polygon points="4.024,29.285 8.607,22.067 4.024,14.625 8.264,7.948 5.383,6.119 0,14.597 4.583,22.04 0,29.258 4.582,36.701 0,43.919 4.583,51.362 0,58.579 0.14,58.807 5.366,67.295 8.271,65.506 4.024,58.607 8.607,51.39 4.024,43.947 8.607,36.729 "/><polygon points="11.947,29.285 16.529,22.067 11.947,14.625 16.187,7.948 13.306,6.119 7.922,14.597 12.504,22.04 7.922,29.258 12.505,36.701 7.922,43.919 12.506,51.362 7.922,58.579 8.063,58.807 13.288,67.294 16.194,65.506 11.947,58.607 16.529,51.39 11.947,43.947 16.529,36.729 "/><polygon points="95.418,22.04 100,14.597 94.617,6.118 91.737,7.948 95.977,14.625 91.393,22.067 95.977,29.286 91.393,36.729 95.976,43.947 91.393,51.39 95.976,58.607 91.729,65.505 92.093,65.729 94.635,67.296 100,58.58 95.418,51.361 100,43.919 95.418,36.7 100,29.259 "/><polygon points="87.495,22.04 92.078,14.597 86.695,6.118 83.814,7.947 88.053,14.625 83.471,22.067 88.054,29.286 83.471,36.729 88.054,43.947 83.471,51.39 88.053,58.607 83.807,65.505 84.17,65.729 86.713,67.296 92.078,58.58 87.495,51.361 92.078,43.919 87.495,36.7 92.078,29.259 "/><text x="0" y="93.373" fill="#000000" font-size="5px" font-weight="bold" font-family="'Helvetica Neue', Helvetica, Arial-Unicode, Arial, Sans-serif">Created by Mauro Lucchesi</text><text x="0" y="98.373" fill="#000000" font-size="5px" font-weight="bold" font-family="'Helvetica Neue', Helvetica, Arial-Unicode, Arial, Sans-serif">from the Noun Project</text></svg>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg width="92px" height="92px" viewBox="0 0 92 92" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
<!-- Generator: Sketch 3.4.4 (17249) - http://www.bohemiancoding.com/sketch -->
<title>logo-shaken</title>
<desc>Created with Sketch.</desc>
<defs></defs>
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">
<g id="logo-shaken" sketch:type="MSLayerGroup" transform="translate(-19.000000, -17.000000)">
<g id="Page-1" sketch:type="MSShapeGroup">
<g id="logo">
<path d="M88.6645163,46.7278045 C88.8388142,45.3542184 88.8407948,43.0893364 87.4454215,41.2443538 C86.2312784,39.6380405 84.2605241,38.7249573 81.5777233,38.5219399 C82.1739012,36.3957039 81.8847252,34.248671 80.7379244,32.6799902 C79.4544583,30.9241372 77.2381024,30.0655221 74.4315105,30.227936 C74.1700637,29.1593712 73.6640057,28.318582 72.9192784,27.7194331 C72.279526,27.2044621 71.4763693,26.9004312 70.5939863,26.8291275 C70.87623,25.4902029 72.8232165,24.382025 72.8440134,24.3711314 C73.1807252,24.1879205 73.381762,23.8284312 73.3599747,23.4451739 C73.3391778,23.062907 73.0985279,22.7271855 72.7439902,22.5825975 C72.5409728,22.5004002 67.7358974,20.5900559 63.6686169,22.8707832 C61.3007407,24.1988142 59.7201759,26.6310617 58.9625743,30.1100869 C56.2312475,29.5921449 54.0911469,29.9615376 52.5957504,31.2123229 C52.1075182,31.6203383 51.7064351,32.1273867 51.3726943,32.7106904 L45.6020482,18.6826826 C45.4000211,18.1934602 45.0207252,17.8121836 44.5324931,17.6091662 C44.044261,17.4041681 43.5045318,17.4031778 43.0162997,17.6052049 L41.9556575,18.0419399 C41.4664351,18.2429766 41.0851585,18.6222726 40.8811507,19.111495 C40.677143,19.6007174 40.6761527,20.138466 40.8771894,20.6276884 L48.1600676,38.3288258 C46.2536846,38.868555 45.1365937,39.9400908 44.4938703,40.9017 C43.3946053,42.5476265 43.1183035,44.7738857 43.67982,46.8496149 C42.9737155,47.1526556 42.4775608,47.8538084 42.4775608,48.6698393 L42.4775608,49.8176304 C42.4775608,50.8663886 43.2985434,51.7180714 44.330466,51.7854138 L44.9078277,60.3676033 C44.9533829,61.0509302 45.3406014,61.6530501 45.9427213,61.977878 L46.9043306,62.4908683 C47.1529032,66.1590463 48.4373596,85.1179012 49.2563616,98.1337929 C49.2949844,98.7527484 49.6158509,99.3063422 50.1367639,99.651967 L50.6566865,100.006505 C50.8200908,102.821019 50.929027,104.460013 50.9656691,105.005685 L50.9775531,105.180973 C51.0755956,106.749654 52.3650037,107.769692 53.5226981,108.052926 L53.696996,108.100462 C54.6170115,108.36389 56.7709767,108.979874 66.1097774,108.979874 C75.6892281,108.979874 77.4569651,108.503526 78.8780869,108.120269 L79.146466,108.047975 C81.1578239,107.525081 81.5282068,106.258451 81.6252591,105.214644 C81.6321914,105.14334 81.6500173,104.953197 81.9441449,100.138218 L82.7175917,99.6697929 C83.2711856,99.3340714 83.6257233,98.7507677 83.6673171,98.107054 C84.5041449,84.8495221 85.6836266,65.8857155 85.8945666,62.4849263 L86.8145821,61.971936 C87.4038277,61.6441372 87.7831237,61.0469689 87.8266981,60.3745356 L88.4040598,51.7834331 C89.4359825,51.7160908 90.2569651,50.864408 90.2569651,49.8156497 L90.2569651,48.668849 C90.2559747,47.7102107 89.5716575,46.9090347 88.6645163,46.7278045 L88.6645163,46.7278045 L88.6645163,46.7278045 L88.6645163,46.7278045 Z M44.4582184,49.8166401 L44.4582184,48.668849 L45.0425124,48.668849 L45.0444931,48.668849 L87.4731507,48.668849 L87.4761217,48.668849 L87.4790927,48.668849 L88.2753171,48.668849 L88.2763074,49.8166401 L44.4582184,49.8166401 L44.4582184,49.8166401 L44.4582184,49.8166401 L44.4582184,49.8166401 Z M42.7092977,19.8730579 L43.7709302,19.4363229 L50.4299012,35.6202764 C50.323936,36.3461875 50.2744196,37.1334989 50.2912552,37.9911236 C50.2476807,37.9931043 50.2120289,38.0010269 50.1694447,38.0039979 L42.7092977,19.8730579 L42.7092977,19.8730579 L42.7092977,19.8730579 L42.7092977,19.8730579 Z M46.1407871,42.000965 C47.0885318,40.5818238 48.8711237,39.880671 51.2914873,39.964849 C51.57076,39.9767329 51.8450811,39.8648258 52.0401759,39.6618084 C52.2352707,39.4597813 52.3352939,39.1834795 52.3154873,38.9022262 C52.0936536,35.8549844 52.6165473,33.7792552 53.8673326,32.7324776 C55.0279979,31.760965 56.9234873,31.6005318 59.5003229,32.2591004 C59.7696923,32.3274331 60.0558974,32.2798973 60.2876343,32.128377 C60.5203616,31.9758664 60.6788142,31.7332358 60.7223887,31.4589147 C61.2779631,28.0591159 62.5921295,25.7526401 64.6282455,24.604849 C66.5019476,23.5501488 68.6707678,23.6511623 70.1671546,23.9244931 C69.1639515,24.8930347 68.1964003,26.3507987 68.7202842,28.1145743 C68.8569496,28.5760675 69.2976459,28.8731662 69.7838974,28.8157271 C70.3157039,28.7543267 71.0792475,28.7810656 71.6774061,29.2623654 C72.2062417,29.6872165 72.5241372,30.4061952 72.6241604,31.3975144 C72.6508993,31.6639128 72.7845937,31.908524 72.9945434,32.0748993 C73.2044931,32.2412745 73.4718819,32.3135685 73.7382803,32.2808877 C76.2774834,31.9471468 78.1452436,32.489847 79.1385434,33.8485782 C80.0912397,35.1508606 80.1437271,37.1919283 79.2742184,39.0487948 C79.1296304,39.3577774 79.1533983,39.7192474 79.3385898,40.0054525 C79.5237813,40.2926478 79.8169186,40.4451585 80.1833403,40.4590231 C82.9582417,40.4273325 84.8388761,41.0868915 85.8589148,42.4287871 C86.9175763,43.8201991 86.823495,45.6839979 86.6699941,46.687201 L45.6891972,46.687201 C45.221762,45.2720211 45.1960134,43.4161449 46.1407871,42.000965 L46.1407871,42.000965 Z" id="Shape" fill="#000000"></path>
<rect id="Rectangle-1" x="0" y="0" width="128" height="128"></rect>
<path d="M25.2118414,57.7163715 L31.4065455,48.7973269 L25.2118414,39.6014928 L30.9441734,31.3509441 L27.0491619,29.0909091 L19.7701818,39.5668942 L25.9648859,48.7639639 L19.7701818,57.6830085 L25.9662379,66.8800782 L19.7701818,75.7991228 L25.9675898,84.9961925 L19.7701818,93.9140014 L19.9608089,94.1957335 L27.0248266,104.68284 L30.9536371,102.473467 L25.2118414,93.9486001 L31.4065455,85.0307912 L25.2118414,75.8337215 L31.4065455,66.9146769 L25.2118414,57.7163715 Z" id="Shape" fill="#000000"></path>
<path d="M104.35075,57.7163715 L110.545455,48.7973269 L104.35075,39.6014928 L110.083082,31.3509441 L106.188071,29.0909091 L98.9090909,39.5668942 L105.103795,48.7639639 L98.9090909,57.6830085 L105.105147,66.8800782 L98.9090909,75.7991228 L105.106499,84.9961925 L98.9090909,93.9140014 L99.099718,94.1957335 L106.163736,104.68284 L110.092546,102.473467 L104.35075,93.9486001 L110.545455,85.0307912 L104.35075,75.8337215 L110.545455,66.9146769 L104.35075,57.7163715 Z" id="Shape" fill="#000000" transform="translate(104.727273, 66.886874) scale(-1, 1) translate(-104.727273, -66.886874) "></path>
</g>
</g>
</g>
</g>
</svg>
Binary file not shown.
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg width="51px" height="92px" viewBox="0 0 51 92" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
<!-- Generator: Sketch 3.4.4 (17249) - http://www.bohemiancoding.com/sketch -->
<title>logo</title>
<desc>Created with Sketch.</desc>
<defs></defs>
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">
<g id="logo" sketch:type="MSLayerGroup" transform="translate(-40.000000, -17.000000)">
<path d="M88.6645163,46.7278045 C88.8388142,45.3542184 88.8407948,43.0893364 87.4454215,41.2443538 C86.2312784,39.6380405 84.2605241,38.7249573 81.5777233,38.5219399 C82.1739012,36.3957039 81.8847252,34.248671 80.7379244,32.6799902 C79.4544583,30.9241372 77.2381024,30.0655221 74.4315105,30.227936 C74.1700637,29.1593712 73.6640057,28.318582 72.9192784,27.7194331 C72.279526,27.2044621 71.4763693,26.9004312 70.5939863,26.8291275 C70.87623,25.4902029 72.8232165,24.382025 72.8440134,24.3711314 C73.1807252,24.1879205 73.381762,23.8284312 73.3599747,23.4451739 C73.3391778,23.062907 73.0985279,22.7271855 72.7439902,22.5825975 C72.5409728,22.5004002 67.7358974,20.5900559 63.6686169,22.8707832 C61.3007407,24.1988142 59.7201759,26.6310617 58.9625743,30.1100869 C56.2312475,29.5921449 54.0911469,29.9615376 52.5957504,31.2123229 C52.1075182,31.6203383 51.7064351,32.1273867 51.3726943,32.7106904 L45.6020482,18.6826826 C45.4000211,18.1934602 45.0207252,17.8121836 44.5324931,17.6091662 C44.044261,17.4041681 43.5045318,17.4031778 43.0162997,17.6052049 L41.9556575,18.0419399 C41.4664351,18.2429766 41.0851585,18.6222726 40.8811507,19.111495 C40.677143,19.6007174 40.6761527,20.138466 40.8771894,20.6276884 L48.1600676,38.3288258 C46.2536846,38.868555 45.1365937,39.9400908 44.4938703,40.9017 C43.3946053,42.5476265 43.1183035,44.7738857 43.67982,46.8496149 C42.9737155,47.1526556 42.4775608,47.8538084 42.4775608,48.6698393 L42.4775608,49.8176304 C42.4775608,50.8663886 43.2985434,51.7180714 44.330466,51.7854138 L44.9078277,60.3676033 C44.9533829,61.0509302 45.3406014,61.6530501 45.9427213,61.977878 L46.9043306,62.4908683 C47.1529032,66.1590463 48.4373596,85.1179012 49.2563616,98.1337929 C49.2949844,98.7527484 49.6158509,99.3063422 50.1367639,99.651967 L50.6566865,100.006505 C50.8200908,102.821019 50.929027,104.460013 50.9656691,105.005685 L50.9775531,105.180973 C51.0755956,106.749654 52.3650037,107.769692 53.5226981,108.052926 L53.696996,108.100462 C54.6170115,108.36389 56.7709767,108.979874 66.1097774,108.979874 C75.6892281,108.979874 77.4569651,108.503526 78.8780869,108.120269 L79.146466,108.047975 C81.1578239,107.525081 81.5282068,106.258451 81.6252591,105.214644 C81.6321914,105.14334 81.6500173,104.953197 81.9441449,100.138218 L82.7175917,99.6697929 C83.2711856,99.3340714 83.6257233,98.7507677 83.6673171,98.107054 C84.5041449,84.8495221 85.6836266,65.8857155 85.8945666,62.4849263 L86.8145821,61.971936 C87.4038277,61.6441372 87.7831237,61.0469689 87.8266981,60.3745356 L88.4040598,51.7834331 C89.4359825,51.7160908 90.2569651,50.864408 90.2569651,49.8156497 L90.2569651,48.668849 C90.2559747,47.7102107 89.5716575,46.9090347 88.6645163,46.7278045 L88.6645163,46.7278045 L88.6645163,46.7278045 Z M44.4582184,49.8166401 L44.4582184,48.668849 L45.0425124,48.668849 L45.0444931,48.668849 L87.4731507,48.668849 L87.4761217,48.668849 L87.4790927,48.668849 L88.2753171,48.668849 L88.2763074,49.8166401 L44.4582184,49.8166401 L44.4582184,49.8166401 L44.4582184,49.8166401 Z M42.7092977,19.8730579 L43.7709302,19.4363229 L50.4299012,35.6202764 C50.323936,36.3461875 50.2744196,37.1334989 50.2912552,37.9911236 C50.2476807,37.9931043 50.2120289,38.0010269 50.1694447,38.0039979 L42.7092977,19.8730579 L42.7092977,19.8730579 L42.7092977,19.8730579 Z M46.1407871,42.000965 C47.0885318,40.5818238 48.8711237,39.880671 51.2914873,39.964849 C51.57076,39.9767329 51.8450811,39.8648258 52.0401759,39.6618084 C52.2352707,39.4597813 52.3352939,39.1834795 52.3154873,38.9022262 C52.0936536,35.8549844 52.6165473,33.7792552 53.8673326,32.7324776 C55.0279979,31.760965 56.9234873,31.6005318 59.5003229,32.2591004 C59.7696923,32.3274331 60.0558974,32.2798973 60.2876343,32.128377 C60.5203616,31.9758664 60.6788142,31.7332358 60.7223887,31.4589147 C61.2779631,28.0591159 62.5921295,25.7526401 64.6282455,24.604849 C66.5019476,23.5501488 68.6707678,23.6511623 70.1671546,23.9244931 C69.1639515,24.8930347 68.1964003,26.3507987 68.7202842,28.1145743 C68.8569496,28.5760675 69.2976459,28.8731662 69.7838974,28.8157271 C70.3157039,28.7543267 71.0792475,28.7810656 71.6774061,29.2623654 C72.2062417,29.6872165 72.5241372,30.4061952 72.6241604,31.3975144 C72.6508993,31.6639128 72.7845937,31.908524 72.9945434,32.0748993 C73.2044931,32.2412745 73.4718819,32.3135685 73.7382803,32.2808877 C76.2774834,31.9471468 78.1452436,32.489847 79.1385434,33.8485782 C80.0912397,35.1508606 80.1437271,37.1919283 79.2742184,39.0487948 C79.1296304,39.3577774 79.1533983,39.7192474 79.3385898,40.0054525 C79.5237813,40.2926478 79.8169186,40.4451585 80.1833403,40.4590231 C82.9582417,40.4273325 84.8388761,41.0868915 85.8589148,42.4287871 C86.9175763,43.8201991 86.823495,45.6839979 86.6699941,46.687201 L45.6891972,46.687201 C45.221762,45.2720211 45.1960134,43.4161449 46.1407871,42.000965 Z" id="Shape" fill="#000000" sketch:type="MSShapeGroup"></path>
<rect id="Rectangle-1" sketch:type="MSShapeGroup" x="0" y="0" width="128" height="128"></rect>
</g>
</g>
</svg>
Binary file not shown.
Binary file not shown.
Oops, something went wrong.

0 comments on commit cdf8beb

Please sign in to comment.