├── .gitignore ├── .vscode └── settings.json ├── LICENSE ├── README.md ├── bin └── v1 │ └── nomie-plugin.js ├── build-tools └── publish-2bin.js ├── package-lock.json ├── package.json ├── postcss.config.js ├── src ├── assets │ └── meta.png ├── index.html ├── lib │ └── dayjs.ts ├── nui │ ├── background.css │ ├── button-group.css │ ├── button.css │ ├── forms.css │ ├── modal.css │ ├── nui.css │ ├── text.css │ ├── title.css │ └── toolbar.css ├── styles │ ├── index.css │ ├── markdown.css │ └── nui@v1.css └── v1 │ ├── index.html │ ├── index.ts │ ├── plugin-connect.ts │ ├── plugins │ ├── meditate │ │ ├── index.html │ │ └── meditate.js │ ├── memories │ │ ├── index.html │ │ └── memories.js │ ├── my-people │ │ ├── index.html │ │ ├── my-people.js │ │ └── person.class.js │ ├── tester │ │ ├── index.html │ │ ├── template-test.json │ │ └── tester.js │ └── weather │ │ ├── index.html │ │ └── weather.js │ └── wip │ ├── lets-eat │ ├── index.html │ ├── lets-eat.css │ └── lets-eat.js │ └── nui │ └── nui.html ├── tailwind.config.js ├── tsconfig.json ├── webpack-prod.config.js └── webpack.config.js /.gitignore: -------------------------------------------------------------------------------- 1 | # Created by https://www.toptal.com/developers/gitignore/api/macos,windows,linux 2 | # Edit at https://www.toptal.com/developers/gitignore?templates=macos,windows,linux 3 | 4 | ### Linux ### 5 | *~ 6 | 7 | 8 | dist 9 | node_modules 10 | 11 | # temporary files which can be created if a process still has a handle open of a deleted file 12 | .fuse_hidden* 13 | 14 | # KDE directory preferences 15 | .directory 16 | 17 | # Linux trash folder which might appear on any partition or disk 18 | .Trash-* 19 | 20 | # .nfs files are created when an open file is removed but is still being accessed 21 | .nfs* 22 | 23 | ### macOS ### 24 | # General 25 | .DS_Store 26 | .AppleDouble 27 | .LSOverride 28 | 29 | # Icon must end with two \r 30 | Icon 31 | 32 | 33 | # Thumbnails 34 | ._* 35 | 36 | # Files that might appear in the root of a volume 37 | .DocumentRevisions-V100 38 | .fseventsd 39 | .Spotlight-V100 40 | .TemporaryItems 41 | .Trashes 42 | .VolumeIcon.icns 43 | .com.apple.timemachine.donotpresent 44 | 45 | # Directories potentially created on remote AFP share 46 | .AppleDB 47 | .AppleDesktop 48 | Network Trash Folder 49 | Temporary Items 50 | .apdisk 51 | 52 | ### macOS Patch ### 53 | # iCloud generated files 54 | *.icloud 55 | 56 | ### Windows ### 57 | # Windows thumbnail cache files 58 | Thumbs.db 59 | Thumbs.db:encryptable 60 | ehthumbs.db 61 | ehthumbs_vista.db 62 | 63 | # Dump file 64 | *.stackdump 65 | 66 | # Folder config file 67 | [Dd]esktop.ini 68 | 69 | # Recycle Bin used on file shares 70 | $RECYCLE.BIN/ 71 | 72 | # Windows Installer files 73 | *.cab 74 | *.msi 75 | *.msix 76 | *.msm 77 | *.msp 78 | 79 | # Windows shortcuts 80 | *.lnk 81 | 82 | # End of https://www.toptal.com/developers/gitignore/api/macos,windows,linux 83 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "docwriter.style": "Auto-detect", 3 | "liveServer.settings.port": "30001" 4 | } 5 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2021 CodeWithAhsan 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Nomie6-oss Plugins [WIP] 2 | 3 | Nomie Plugins allows people who are familiar with HTML and Javascript to create entirely new methods of tracking and monitoring data within Nomie6-oss. 4 | 5 | ## Introduction 6 | 7 | Nomie Plugins use iframes to load and communicate with “plugins”. So this really just means, a plugin is a hosted HTML page, that has some extra javascript to request data to and from Nomie. We do this by using postMessage and window.onMessage to securely pass data between Nomie and your Plugin. 8 | 9 | ### Resources 10 | 11 | **Repo** [https://github.com/open-nomie/plugins](https://github.com/open-nomie/plugins/) 12 | 13 | **Nomie6-oss on GitHub Pages**: [https://open-nomie.github.io](https://open-nomie.github.io/) 14 | 15 | # nomie-plugin.js 16 | 17 | This library abstracts the responsibility of posting messages and listening for messages into simple async calls. This document outlines the specific functions of `nomie-plugin.js`. 18 | 19 | ### Including the nomie-plugin.js library 20 | 21 | ```jsx 22 | 11 | 12 |
13 | Continue 14 | 15 |