Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
tmcinerney committed Mar 10, 2017
0 parents commit 41f342c
Show file tree
Hide file tree
Showing 9 changed files with 64 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Keep-*/
node_modules/
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v7.6.0
Binary file added IconTemplate.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added [email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Keep.icns
Binary file not shown.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Keep


## Todo
- [ ] Better icons
- [ ] Add session save support
- [ ] Add option menu to exit
- [ ] Allow configuration of size etc
11 changes: 11 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<html>
<head>
<style>
body { margin: 0; padding: 0; }
webview { height: 100%; width: 100%; }
</style>
</head>
<body>
<webview autosize partition="persist:google" src="https://keep.google.com"></webview>
</body>
</html>
15 changes: 15 additions & 0 deletions main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
const Menubar = require('menubar')

const menubar = Menubar({
alwaysOnTop: true,
height: 600,
preloadWindow: true,
showDockIcon: false,
showOnAllWorkspaces: true,
tooltip: 'Keep',
width: 380
})

menubar.on('focus-lost', () => {
menubar.hideWindow()
})
27 changes: 27 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"name": "keep",
"productName": "Keep",
"version": "0.1.0",
"description": "Google Keep menu bar app for macOS",
"main": "main.js",
"scripts": {
"build": "electron-packager ./ --icon=Keep.icns --overwrite --platform=darwin --quiet",
"start": "electron .",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": "https://github.com/tmcinerney/keep",
"keywords": [
"google",
"keep",
"tray"
],
"author": "Travers McInerney",
"license": "MIT",
"dependencies": {
"menubar": "^5.2.3"
},
"devDependencies": {
"electron": "^1.6.2",
"electron-packager": "^8.5.2"
}
}

0 comments on commit 41f342c

Please sign in to comment.