├── .gitignore ├── LICENSE.md ├── README.md ├── downloads ├── 2019-nCoV-Status.hereplugin ├── App-Center-Analytics.hereplugin ├── App-Store-Ranking.hereplugin ├── Apple-Coverage-Checker.hereplugin ├── Apple-Developer-Releases.hereplugin ├── BBC-News.hereplugin ├── BTC-Price.hereplugin ├── Battery.hereplugin ├── Bilibili-Ranking.hereplugin ├── Bilibili-Timeline.hereplugin ├── Bookmark.hereplugin ├── CNN-News.hereplugin ├── CPU.hereplugin ├── Currency-Exchange.hereplugin ├── Daily-Poetry.hereplugin ├── Daily-Sentence.hereplugin ├── Dark-Mode-Switch.hereplugin ├── Debug.hereplugin ├── Dock-Spacer.hereplugin ├── DouBan-Movie.hereplugin ├── Empty-Trash.hereplugin ├── Exchange-Rate.hereplugin ├── Game-2048.hereplugin ├── Game-Chrome-Dino.hereplugin ├── Github-Trending.hereplugin ├── Gold-Price.hereplugin ├── Google-Trends.hereplugin ├── Hacker-News.hereplugin ├── Hello-Github.hereplugin ├── Here-Resources.hereplugin ├── Here-Test.hereplugin ├── IP-Checker.hereplugin ├── JueJin.hereplugin ├── Memory.hereplugin ├── NPR-News.hereplugin ├── NYTimes-News.hereplugin ├── Netstat.hereplugin ├── New-File.hereplugin ├── NongLi.hereplugin ├── Nyan-Cat.hereplugin ├── People-News.hereplugin ├── Product-Hunt.hereplugin ├── Progress.hereplugin ├── RSSHub-Reader.hereplugin ├── Screensaver.hereplugin ├── Sleep-Display.hereplugin ├── Stocks.hereplugin ├── Subscriptions.hereplugin ├── Switch.hereplugin ├── Techmeme-News.hereplugin ├── TheTop.hereplugin ├── ToDoMVC.hereplugin ├── V2EX.hereplugin ├── Waerfa.hereplugin ├── WanQu.hereplugin ├── WeXin-Hot-Search.hereplugin ├── Weather.hereplugin ├── Weibo-Hot-Search.hereplugin ├── YuTang.hereplugin ├── ZhiHu.hereplugin └── cnBeta.hereplugin ├── icon.png ├── pack.rb └── source ├── 2019-nCoV-Status ├── README.md ├── config.json ├── icon.png ├── index.js └── menuBarIcon.png ├── App-Center-Analytics ├── README.md ├── config.json ├── icon.png └── index.js ├── App-Store-Ranking ├── README.md ├── config.json ├── icon.png ├── index.js ├── locales │ ├── en.json │ └── zh-Hans.json └── menuBarIcon.png ├── Apple-Coverage-Checker ├── README.md ├── config.json ├── icon.png ├── index.js └── locales │ ├── en.json │ └── zh-Hans.json ├── Apple-Developer-Releases ├── README.md ├── config.json ├── icon.png ├── index.js └── menuBarIcon.png ├── BBC-News ├── README.md ├── config.json ├── icon.png ├── index.js └── menuBarIcon.png ├── BTC-Price ├── README.md ├── config.json ├── icon.png ├── index.js └── menuBarIcon.png ├── Battery ├── README.md ├── config.json ├── icon.png ├── index.js ├── locales │ ├── en.json │ └── zh-Hans.json └── menuBarIcon.png ├── Bilibili-Ranking ├── README.md ├── config.json ├── icon.png ├── index.js └── menuBarIcon.png ├── Bilibili-Timeline ├── README.md ├── config.json ├── icon.png ├── index.js └── menuBarIcon.png ├── Bookmark ├── README.md ├── config.json ├── icon.png ├── index.js └── menuBarIcon.png ├── CNN-News ├── README.md ├── config.json ├── icon.png ├── index.js └── menuBarIcon.png ├── CPU ├── README.md ├── config.json ├── icon.png ├── index.js └── menuBarIcon.png ├── Currency-Exchange ├── README.md ├── config.json ├── icon.png ├── index.js └── menuBarIcon.png ├── Daily-Poetry ├── README.md ├── config.json ├── icon.png ├── index.js └── menuBarIcon.png ├── Daily-Sentence ├── README.md ├── config.json ├── icon.png ├── index.js └── menuBarIcon.png ├── Dark-Mode-Switch ├── README.md ├── config.json ├── dark.png ├── icon.png ├── index.js ├── light.png ├── locales │ ├── en.json │ └── zh-Hans.json └── menuBarIcon.png ├── Debug ├── README.md ├── config.json ├── icon.png ├── index.js ├── locales │ ├── en.json │ └── zh-Hans.json └── menuBarIcon.png ├── Dock-Spacer ├── README.md ├── config.json ├── icon.png ├── index.js └── locales │ ├── en.json │ └── zh-Hans.json ├── DouBan-Movie ├── README.md ├── config.json ├── icon.png └── index.js ├── Empty-Trash ├── config.json ├── icon.png ├── index.js ├── locales │ ├── en.json │ └── zh-Hans.json └── menuBarIcon.png ├── Exchange-Rate ├── README.md ├── config.json ├── icon.png ├── index.js └── menuBarIcon.png ├── Game-2048 ├── README.md ├── config.json ├── game │ ├── CONTRIBUTING.md │ ├── LICENSE.txt │ ├── README.md │ ├── Rakefile │ ├── favicon.ico │ ├── index.html │ ├── js │ │ ├── animframe_polyfill.js │ │ ├── application.js │ │ ├── bind_polyfill.js │ │ ├── classlist_polyfill.js │ │ ├── game_manager.js │ │ ├── grid.js │ │ ├── html_actuator.js │ │ ├── keyboard_input_manager.js │ │ ├── local_storage_manager.js │ │ └── tile.js │ └── style │ │ ├── fonts │ │ ├── ClearSans-Bold-webfont.eot │ │ ├── ClearSans-Bold-webfont.svg │ │ ├── ClearSans-Bold-webfont.woff │ │ ├── ClearSans-Light-webfont.eot │ │ ├── ClearSans-Light-webfont.svg │ │ ├── ClearSans-Light-webfont.woff │ │ ├── ClearSans-Regular-webfont.eot │ │ ├── ClearSans-Regular-webfont.svg │ │ ├── ClearSans-Regular-webfont.woff │ │ └── clear-sans.css │ │ ├── helpers.scss │ │ ├── main.css │ │ └── main.scss ├── icon.png ├── index.js ├── locales │ ├── en.json │ └── zh-Hans.json └── menuBarIcon.png ├── Game-Chrome-Dino ├── README.md ├── config.json ├── game │ ├── assets │ │ ├── default_100_percent │ │ │ ├── 100-disabled.png │ │ │ ├── 100-error-offline.png │ │ │ └── 100-offline-sprite.png │ │ ├── default_200_percent │ │ │ ├── 200-disabled.png │ │ │ ├── 200-error-offline.png │ │ │ └── 200-offline-sprite.png │ │ ├── offline-sprite-1x.png │ │ └── offline-sprite-2x.png │ ├── index.css │ ├── index.html │ └── index.js ├── icon.png ├── index.js ├── locales │ ├── en.json │ └── zh-Hans.json └── menuBarIcon.png ├── Github-Trending ├── README.md ├── config.json ├── icon.png ├── index.js └── menuBarIcon.png ├── Gold-Price ├── README.md ├── config.json ├── icon.png ├── index.js └── menuBarIcon.png ├── Google-Trends ├── README.md ├── config.json ├── icon.png ├── index.js └── menuBarIcon.png ├── Hacker-News ├── README.md ├── config.json ├── icon.png └── index.js ├── Hello-Github ├── README.md ├── config.json ├── icon.png └── index.js ├── Here-Resources ├── README.md ├── config.json ├── icon.png ├── index.js └── menuBarIcon.png ├── Here-Test ├── README.md ├── Test.js ├── config.json ├── icon.png ├── index.js ├── locales │ ├── en.json │ └── zh-Hans.json └── test.json ├── IP-Checker ├── README.md ├── config.json ├── icon.png ├── index.js └── menuBarIcon.png ├── JueJin ├── README.md ├── config.json ├── icon.png └── index.js ├── Memory ├── README.md ├── config.json ├── icon.png ├── index.js └── menuBarIcon.png ├── NPR-News ├── README.md ├── config.json ├── icon.png └── index.js ├── NYTimes-News ├── README.md ├── config.json ├── icon.png └── index.js ├── Netstat ├── README.md ├── config.json ├── icon.png ├── index.js ├── locales │ ├── en.json │ └── zh-Hans.json └── menuBarIcon.png ├── New-File ├── README.md ├── config.json ├── icon.png ├── index.js └── locales │ ├── en.json │ └── zh-Hans.json ├── NongLi ├── README.md ├── config.json ├── icon.png ├── index.js └── menuBarIcon.png ├── Nyan-Cat ├── README.md ├── config.json ├── gif │ ├── 1.png │ ├── 2.png │ ├── 3.png │ ├── 4.png │ ├── 5.png │ └── 6.png ├── icon.png ├── index.js └── menuBarIcon.png ├── People-News ├── README.md ├── config.json ├── icon.png ├── index.js └── menuBarIcon.png ├── Product-Hunt ├── README.md ├── config.json ├── icon.png └── index.js ├── Progress ├── README.md ├── config.json ├── icon.png ├── index.js └── locales │ ├── en.json │ └── zh-Hans.json ├── RSSHub-Reader ├── README.md ├── config.json ├── icon.png ├── index.js └── menuBarIcon.png ├── Screensaver ├── README.md ├── config.json ├── icon.png ├── index.js ├── locales │ ├── en.json │ └── zh-Hans.json └── menuBarIcon.png ├── Sleep-Display ├── README.md ├── config.json ├── icon.png ├── index.js ├── locales │ ├── en.json │ └── zh-Hans.json └── menuBarIcon.png ├── Stocks ├── README.md ├── config.json ├── icon.png ├── index.js ├── menuBarIcon-down.png └── menuBarIcon.png ├── Subscriptions ├── README.md ├── config.json ├── example.json ├── icon.png ├── index.js └── openexchangerates.json ├── Switch ├── README.md ├── config.json ├── icon.png ├── index.js ├── locales │ ├── en.json │ └── zh-Hans.json ├── menuBarIcon.png └── switches.js ├── Techmeme-News ├── README.md ├── config.json ├── icon.png └── index.js ├── TheTop ├── README.md ├── config.json ├── icon.png ├── index.js └── menuBarIcon.png ├── ToDoMVC ├── README.md ├── config.json ├── icon.png ├── index.js ├── menuBarIcon.png └── vue │ ├── index.html │ ├── js │ ├── app.js │ ├── routes.js │ └── store.js │ ├── node_modules │ ├── director │ │ └── build │ │ │ └── director.js │ ├── todomvc-app-css │ │ └── index.css │ ├── todomvc-common │ │ ├── base.css │ │ └── base.js │ └── vue │ │ └── dist │ │ └── vue.js │ └── readme.md ├── V2EX ├── README.md ├── config.json ├── icon.png ├── index.js └── menuBarIcon.png ├── Waerfa ├── README.md ├── config.json ├── icon.png ├── index.js └── menuBarIcon.png ├── WanQu ├── README.md ├── config.json ├── icon.png └── index.js ├── WeXin-Hot-Search ├── README.md ├── config.json ├── icon.png ├── index.js └── menuBarIcon.png ├── Weather ├── README.md ├── config.json ├── icon.png ├── images │ ├── README │ ├── clear-day.png │ ├── clear-night.png │ ├── cloudy.png │ ├── fog.png │ ├── hail.png │ ├── partly-cloudy-day.png │ ├── partly-cloudy-night.png │ ├── rain-snow-showers-day.png │ ├── rain-snow-showers-night.png │ ├── rain-snow.png │ ├── rain.png │ ├── showers-day.png │ ├── showers-night.png │ ├── sleet.png │ ├── snow-showers-day.png │ ├── snow-showers-night.png │ ├── snow.png │ ├── thunder-rain.png │ ├── thunder-showers-day.png │ ├── thunder-showers-night.png │ ├── thunder.png │ └── wind.png ├── index.js ├── locales │ ├── en.json │ └── zh-Hans.json ├── menuBarIcon.png └── moment.min.js ├── Weibo-Hot-Search ├── README.md ├── config.json ├── icon.png ├── index.js └── menuBarIcon.png ├── YuTang ├── README.md ├── config.json ├── icon.png ├── index.js └── menuBarIcon.png ├── ZhiHu ├── README.md ├── config.json ├── icon.png ├── index.js └── menuBarIcon.png └── cnBeta ├── README.md ├── config.json ├── icon.png ├── index.js └── menuBarIcon.png /LICENSE.md: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2020 Here 4 | 5 | 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: 6 | 7 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 8 | 9 | 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. 10 | 11 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | Here Official Plugins 2 | ---- 3 | This repository includes all [Source Code](https://github.com/hereappdev/Here-Official-Plugins/tree/master/source) of the official plugins made by Here Team. 4 | Everyone can make their own plugins and submit to [github.com/hereappdev/Here-Plugins](https://github.com/hereappdev/Here-Plugins) 5 | 6 | ## Resources 7 | 8 | * Homepage: https://here.app 9 | * Documentation: https://doc.here.app 10 | * Release Notes: https://here.app/release-notes/ 11 | * Telegram Group: [@HereApp] 12 | * WeChat Group: [@HereApp](https://res.here.app/img/wx.png) 13 | 14 | ## License 15 | All plugins are published under the [MIT License](./LICENSE.md) 16 | 17 | [Here]: https://here.app/ 18 | [Homepage]: https://here.app/ 19 | [App Homepage]: https://here.app/ 20 | [@HereApp]: https://t.me/HereApp 21 | [Plugin Developer Documentation]: https://doc.here.app/ 22 | [Create Your Own Custom Plugins for Here]: https://github.com/hereappdev/Here-Plugins/wiki/Create-You-Own-Custom-Plugins-for-Here -------------------------------------------------------------------------------- /downloads/2019-nCoV-Status.hereplugin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/downloads/2019-nCoV-Status.hereplugin -------------------------------------------------------------------------------- /downloads/App-Center-Analytics.hereplugin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/downloads/App-Center-Analytics.hereplugin -------------------------------------------------------------------------------- /downloads/App-Store-Ranking.hereplugin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/downloads/App-Store-Ranking.hereplugin -------------------------------------------------------------------------------- /downloads/Apple-Coverage-Checker.hereplugin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/downloads/Apple-Coverage-Checker.hereplugin -------------------------------------------------------------------------------- /downloads/Apple-Developer-Releases.hereplugin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/downloads/Apple-Developer-Releases.hereplugin -------------------------------------------------------------------------------- /downloads/BBC-News.hereplugin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/downloads/BBC-News.hereplugin -------------------------------------------------------------------------------- /downloads/BTC-Price.hereplugin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/downloads/BTC-Price.hereplugin -------------------------------------------------------------------------------- /downloads/Battery.hereplugin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/downloads/Battery.hereplugin -------------------------------------------------------------------------------- /downloads/Bilibili-Ranking.hereplugin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/downloads/Bilibili-Ranking.hereplugin -------------------------------------------------------------------------------- /downloads/Bilibili-Timeline.hereplugin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/downloads/Bilibili-Timeline.hereplugin -------------------------------------------------------------------------------- /downloads/Bookmark.hereplugin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/downloads/Bookmark.hereplugin -------------------------------------------------------------------------------- /downloads/CNN-News.hereplugin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/downloads/CNN-News.hereplugin -------------------------------------------------------------------------------- /downloads/CPU.hereplugin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/downloads/CPU.hereplugin -------------------------------------------------------------------------------- /downloads/Currency-Exchange.hereplugin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/downloads/Currency-Exchange.hereplugin -------------------------------------------------------------------------------- /downloads/Daily-Poetry.hereplugin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/downloads/Daily-Poetry.hereplugin -------------------------------------------------------------------------------- /downloads/Daily-Sentence.hereplugin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/downloads/Daily-Sentence.hereplugin -------------------------------------------------------------------------------- /downloads/Dark-Mode-Switch.hereplugin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/downloads/Dark-Mode-Switch.hereplugin -------------------------------------------------------------------------------- /downloads/Debug.hereplugin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/downloads/Debug.hereplugin -------------------------------------------------------------------------------- /downloads/Dock-Spacer.hereplugin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/downloads/Dock-Spacer.hereplugin -------------------------------------------------------------------------------- /downloads/DouBan-Movie.hereplugin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/downloads/DouBan-Movie.hereplugin -------------------------------------------------------------------------------- /downloads/Empty-Trash.hereplugin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/downloads/Empty-Trash.hereplugin -------------------------------------------------------------------------------- /downloads/Exchange-Rate.hereplugin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/downloads/Exchange-Rate.hereplugin -------------------------------------------------------------------------------- /downloads/Game-2048.hereplugin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/downloads/Game-2048.hereplugin -------------------------------------------------------------------------------- /downloads/Game-Chrome-Dino.hereplugin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/downloads/Game-Chrome-Dino.hereplugin -------------------------------------------------------------------------------- /downloads/Github-Trending.hereplugin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/downloads/Github-Trending.hereplugin -------------------------------------------------------------------------------- /downloads/Gold-Price.hereplugin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/downloads/Gold-Price.hereplugin -------------------------------------------------------------------------------- /downloads/Google-Trends.hereplugin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/downloads/Google-Trends.hereplugin -------------------------------------------------------------------------------- /downloads/Hacker-News.hereplugin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/downloads/Hacker-News.hereplugin -------------------------------------------------------------------------------- /downloads/Hello-Github.hereplugin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/downloads/Hello-Github.hereplugin -------------------------------------------------------------------------------- /downloads/Here-Resources.hereplugin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/downloads/Here-Resources.hereplugin -------------------------------------------------------------------------------- /downloads/Here-Test.hereplugin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/downloads/Here-Test.hereplugin -------------------------------------------------------------------------------- /downloads/IP-Checker.hereplugin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/downloads/IP-Checker.hereplugin -------------------------------------------------------------------------------- /downloads/JueJin.hereplugin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/downloads/JueJin.hereplugin -------------------------------------------------------------------------------- /downloads/Memory.hereplugin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/downloads/Memory.hereplugin -------------------------------------------------------------------------------- /downloads/NPR-News.hereplugin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/downloads/NPR-News.hereplugin -------------------------------------------------------------------------------- /downloads/NYTimes-News.hereplugin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/downloads/NYTimes-News.hereplugin -------------------------------------------------------------------------------- /downloads/Netstat.hereplugin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/downloads/Netstat.hereplugin -------------------------------------------------------------------------------- /downloads/New-File.hereplugin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/downloads/New-File.hereplugin -------------------------------------------------------------------------------- /downloads/NongLi.hereplugin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/downloads/NongLi.hereplugin -------------------------------------------------------------------------------- /downloads/Nyan-Cat.hereplugin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/downloads/Nyan-Cat.hereplugin -------------------------------------------------------------------------------- /downloads/People-News.hereplugin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/downloads/People-News.hereplugin -------------------------------------------------------------------------------- /downloads/Product-Hunt.hereplugin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/downloads/Product-Hunt.hereplugin -------------------------------------------------------------------------------- /downloads/Progress.hereplugin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/downloads/Progress.hereplugin -------------------------------------------------------------------------------- /downloads/RSSHub-Reader.hereplugin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/downloads/RSSHub-Reader.hereplugin -------------------------------------------------------------------------------- /downloads/Screensaver.hereplugin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/downloads/Screensaver.hereplugin -------------------------------------------------------------------------------- /downloads/Sleep-Display.hereplugin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/downloads/Sleep-Display.hereplugin -------------------------------------------------------------------------------- /downloads/Stocks.hereplugin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/downloads/Stocks.hereplugin -------------------------------------------------------------------------------- /downloads/Subscriptions.hereplugin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/downloads/Subscriptions.hereplugin -------------------------------------------------------------------------------- /downloads/Switch.hereplugin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/downloads/Switch.hereplugin -------------------------------------------------------------------------------- /downloads/Techmeme-News.hereplugin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/downloads/Techmeme-News.hereplugin -------------------------------------------------------------------------------- /downloads/TheTop.hereplugin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/downloads/TheTop.hereplugin -------------------------------------------------------------------------------- /downloads/ToDoMVC.hereplugin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/downloads/ToDoMVC.hereplugin -------------------------------------------------------------------------------- /downloads/V2EX.hereplugin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/downloads/V2EX.hereplugin -------------------------------------------------------------------------------- /downloads/Waerfa.hereplugin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/downloads/Waerfa.hereplugin -------------------------------------------------------------------------------- /downloads/WanQu.hereplugin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/downloads/WanQu.hereplugin -------------------------------------------------------------------------------- /downloads/WeXin-Hot-Search.hereplugin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/downloads/WeXin-Hot-Search.hereplugin -------------------------------------------------------------------------------- /downloads/Weather.hereplugin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/downloads/Weather.hereplugin -------------------------------------------------------------------------------- /downloads/Weibo-Hot-Search.hereplugin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/downloads/Weibo-Hot-Search.hereplugin -------------------------------------------------------------------------------- /downloads/YuTang.hereplugin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/downloads/YuTang.hereplugin -------------------------------------------------------------------------------- /downloads/ZhiHu.hereplugin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/downloads/ZhiHu.hereplugin -------------------------------------------------------------------------------- /downloads/cnBeta.hereplugin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/downloads/cnBeta.hereplugin -------------------------------------------------------------------------------- /icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/icon.png -------------------------------------------------------------------------------- /source/2019-nCoV-Status/README.md: -------------------------------------------------------------------------------- 1 | # 新型冠状病毒疫情追踪 2 | 3 | > 2019新型冠状病毒疫情追踪(腾讯新闻API) 4 | 5 | ## 使用说明 6 | 7 | * 数据来源于腾讯新闻 API:https://news.qq.com/zt2020/page/feiyan.htm 8 | * 更新频率:2小时/次 9 | 10 | ## License 11 | 12 | This is an open source plugin published under the MIT License -------------------------------------------------------------------------------- /source/2019-nCoV-Status/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "新型冠状病毒疫情追踪", 3 | "version": "1.0.2", 4 | "configURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/source/2019-nCoV-Status/config.json", 5 | "downloadURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/downloads/2019-nCoV-Status.hereplugin", 6 | "description": "2019新型冠状病毒疫情追踪(腾讯新闻API)", 7 | "icon": "icon.png", 8 | "identifier": "app.here.2019ncovstatus", 9 | "createdBy": "Here", 10 | "website": "https://here.app", 11 | "script": "index.js", 12 | "defaultCategory": "news", 13 | "displayOn": ["mini", "menuBar", "dock"] 14 | } 15 | -------------------------------------------------------------------------------- /source/2019-nCoV-Status/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/2019-nCoV-Status/icon.png -------------------------------------------------------------------------------- /source/2019-nCoV-Status/menuBarIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/2019-nCoV-Status/menuBarIcon.png -------------------------------------------------------------------------------- /source/App-Center-Analytics/README.md: -------------------------------------------------------------------------------- 1 | # App Center Analytics 2 | 3 | > Show analytics from Visual Studio [App Center](https://appcenter.ms/) 4 | 5 | ## Usage 6 | 7 | 1. [Get API token here](https://docs.microsoft.com/en-us/appcenter/api-docs/). 8 | 2. Request URL: Replace `**Your-ID**` `**Your-Project**` with your own. 9 | 10 | > Example: `https://api.appcenter.ms/v0.1/apps/**Your-ID**/**Your-Project**/analytics/events?start=` 11 | 12 | ## License 13 | 14 | This is an open source plugin published under the MIT License -------------------------------------------------------------------------------- /source/App-Center-Analytics/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "App Center Analytics", 3 | "version": "1.0.3", 4 | "configURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/source/App-Center-Analytics/config.json", 5 | "downloadURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/downloads/App-Center-Analytics.hereplugin", 6 | "description": "Show analytics from Visual Studio App Center", 7 | "icon": "icon.png", 8 | "identifier": "app.here.appcenteranalytics", 9 | "createdBy": "Here", 10 | "website": "https://here.app", 11 | "script": "index.js", 12 | "defaultCategory": "news", 13 | "displayOn": ["mini"], 14 | "preferences": [ 15 | { 16 | "title": "API Token", 17 | "type": "text", 18 | "key": "apiToken", 19 | "default": "xxx" 20 | }, 21 | { 22 | "title": "Request URL", 23 | "type": "text", 24 | "key": "apiUrl", 25 | "default": "https://api.appcenter.ms/v0.1/apps/xxx/xxx/analytics/versions?%24top=30&start=" 26 | } 27 | ] 28 | } 29 | -------------------------------------------------------------------------------- /source/App-Center-Analytics/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/App-Center-Analytics/icon.png -------------------------------------------------------------------------------- /source/App-Store-Ranking/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "App Store Ranking", 3 | "version": "1.0.6", 4 | "configURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/source/App-Store-Ranking/config.json", 5 | "downloadURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/downloads/App-Store-Ranking.hereplugin", 6 | "description": "Show Apps rank list on App Store", 7 | "icon": "icon.png", 8 | "identifier": "app.here.appstoreranking", 9 | "createdBy": "Here", 10 | "website": "https://here.app", 11 | "script": "index.js", 12 | "defaultCategory": "news", 13 | "displayOn": ["mini", "menuBar"], 14 | "preferences": [ 15 | { 16 | "title": "Country Code", 17 | "type": "text", 18 | "key": "countryCode", 19 | "default": "US" 20 | } 21 | ] 22 | } 23 | -------------------------------------------------------------------------------- /source/App-Store-Ranking/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/App-Store-Ranking/icon.png -------------------------------------------------------------------------------- /source/App-Store-Ranking/locales/en.json: -------------------------------------------------------------------------------- 1 | { 2 | "Free": "Free", 3 | "Grossing": "Grossing", 4 | "Paid": "Paid", 5 | "Updating…": "Updating…" 6 | } -------------------------------------------------------------------------------- /source/App-Store-Ranking/locales/zh-Hans.json: -------------------------------------------------------------------------------- 1 | { 2 | "Free": "免费榜", 3 | "Grossing": "畅销榜", 4 | "Paid": "付费榜", 5 | "Updating…": "加载中…" 6 | } -------------------------------------------------------------------------------- /source/App-Store-Ranking/menuBarIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/App-Store-Ranking/menuBarIcon.png -------------------------------------------------------------------------------- /source/Apple-Coverage-Checker/README.md: -------------------------------------------------------------------------------- 1 | # Apple Coverage Checker 2 | 3 | > Check the Status of AppleCare on your Apple Devices 4 | 5 | ## Development 6 | 7 | Website: [https://checkcoverage.apple.com/](https://checkcoverage.apple.com/) 8 | 9 | Use Here API [here.setPopover](https://doc.here.app/) `type: "webView"` 10 | 11 | ## License 12 | 13 | This is an open source plugin published under the MIT License -------------------------------------------------------------------------------- /source/Apple-Coverage-Checker/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Apple Coverage Checker", 3 | "version": "1.0.3", 4 | "configURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/source/Apple-Coverage-Checker/config.json", 5 | "downloadURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/downloads/Apple-Coverage-Checker.hereplugin", 6 | "description": "Check the Status of AppleCare on your Apple Devices", 7 | "icon": "icon.png", 8 | "identifier": "app.here.applecoveragechecker", 9 | "createdBy": "Here", 10 | "website": "https://here.app", 11 | "script": "index.js", 12 | "defaultCategory": "quick", 13 | "displayOn": ["mini"] 14 | } 15 | -------------------------------------------------------------------------------- /source/Apple-Coverage-Checker/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Apple-Coverage-Checker/icon.png -------------------------------------------------------------------------------- /source/Apple-Coverage-Checker/index.js: -------------------------------------------------------------------------------- 1 | const i18n = require('i18n') 2 | 3 | here.on("load", () => { 4 | here.miniWindow.data = { 5 | title: __("Apple Service Coverage"), 6 | detail: __("Check the Status of your Apple Devices"), 7 | }; 8 | here.miniWindow.reload(); 9 | 10 | here.popover = new here.WebViewPopover(); 11 | here.popover.data = { 12 | url: "https://checkcoverage.apple.com", 13 | width: 375, 14 | height: 580, 15 | backgroundColor: "#ffffff", 16 | foregroundColor: rgba(0, 0, 0, 0.5), 17 | hideStatusBar: false, 18 | }; 19 | here.popover.reload(); 20 | }); 21 | -------------------------------------------------------------------------------- /source/Apple-Coverage-Checker/locales/en.json: -------------------------------------------------------------------------------- 1 | { 2 | "Dark Mode Switch": "Dark Mode Switch", 3 | "Click to switch": "Click to switch", 4 | } -------------------------------------------------------------------------------- /source/Apple-Coverage-Checker/locales/zh-Hans.json: -------------------------------------------------------------------------------- 1 | { 2 | "Apple Service Coverage": "苹果保修查询", 3 | "Check the Status of your Apple Devices": "查询苹果设备的保修状态", 4 | } -------------------------------------------------------------------------------- /source/Apple-Developer-Releases/README.md: -------------------------------------------------------------------------------- 1 | # Apple Developer Releases 2 | 3 | > Show apple developer releases news and updates. 4 | 5 | ## Development 6 | 7 | * News: [https://developer.apple.com/news/](https://developer.apple.com/news/) 8 | * Releases: [https://developer.apple.com/news/releases/](https://developer.apple.com/news/releases/) 9 | * API: [https://developer.apple.com/news/releases/rss/releases.rss](https://developer.apple.com/news/releases/rss/releases.rss) 10 | 11 | ## License 12 | 13 | This is an open source plugin published under the MIT License -------------------------------------------------------------------------------- /source/Apple-Developer-Releases/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Apple Developer Releases", 3 | "version": "1.0.2", 4 | "configURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/source/Apple-Developer-Releases/config.json", 5 | "downloadURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/downloads/Apple-Developer-Releases.hereplugin", 6 | "description": "Show apple developer releases news and updates.", 7 | "icon": "icon.png", 8 | "identifier": "app.here.appledeveloperreleases", 9 | "createdBy": "Here", 10 | "website": "https://here.app", 11 | "script": "index.js", 12 | "defaultCategory": "news", 13 | "displayOn": ["mini", "menuBar"] 14 | } 15 | -------------------------------------------------------------------------------- /source/Apple-Developer-Releases/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Apple-Developer-Releases/icon.png -------------------------------------------------------------------------------- /source/Apple-Developer-Releases/menuBarIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Apple-Developer-Releases/menuBarIcon.png -------------------------------------------------------------------------------- /source/BBC-News/README.md: -------------------------------------------------------------------------------- 1 | # Apple Developer Releases 2 | 3 | > Show apple developer releases news and updates. 4 | 5 | ## Development 6 | 7 | * Site: [http://www.bbci.co.uk/](http://www.bbci.co.uk/) 8 | * API: [https://feeds.bbci.co.uk/news/world/rss.xml](https://feeds.bbci.co.uk/news/world/rss.xml) 9 | * APISpeedy: [https://bbc.apispeedy.com/](https://bbc.apispeedy.com/) 10 | 11 | ## License 12 | 13 | This is an open source plugin published under the MIT License -------------------------------------------------------------------------------- /source/BBC-News/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "BBC News", 3 | "version": "1.0.4", 4 | "configURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/source/BBC-News/config.json", 5 | "downloadURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/downloads/BBC-News.hereplugin", 6 | "description": "Show hot news", 7 | "icon": "icon.png", 8 | "identifier": "app.here.bbcnews", 9 | "createdBy": "Here", 10 | "website": "https://here.app", 11 | "script": "index.js", 12 | "defaultCategory": "news", 13 | "displayOn": ["mini", "menuBar"] 14 | } 15 | -------------------------------------------------------------------------------- /source/BBC-News/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/BBC-News/icon.png -------------------------------------------------------------------------------- /source/BBC-News/index.js: -------------------------------------------------------------------------------- 1 | const _ = require("underscore"); 2 | const net = require("net"); 3 | 4 | function updateData() { 5 | const LIMIT = 10; 6 | 7 | here.miniWindow.data.title = "Updating…"; 8 | here.miniWindow.reload(); 9 | 10 | // API: https://feeds.bbci.co.uk/news/world/rss.xml 11 | // API Speedy: https://bbc.apispeedy.com/ 12 | 13 | here.parseRSSFeed("https://bbc.apispeedy.com/") 14 | .then((feed) => { 15 | if (feed.items.length <= 0) { 16 | console.error("No item found."); 17 | return; 18 | } 19 | 20 | if (feed.items.length > LIMIT) { 21 | feed.items = feed.items.slice(0, LIMIT); 22 | } 23 | 24 | const topFeed = feed.items[0]; 25 | 26 | // Mini Window 27 | here.miniWindow.data = { 28 | title: topFeed.title, 29 | detail: "BBC News", 30 | onClick: () => { 31 | here.openURL(topFeed.link); 32 | }, 33 | }; 34 | here.miniWindow.reload(); 35 | 36 | // Popover 37 | here.popover.data = _.map(feed.items, (item) => { 38 | return { 39 | title: item.title, 40 | onClick: () => { 41 | here.openURL(item.link); 42 | }, 43 | }; 44 | }); 45 | here.popover.reload(); 46 | }) 47 | .catch((error) => { 48 | console.error(`Error: ${JSON.stringify(error)}`); 49 | }); 50 | } 51 | 52 | here.on("load", () => { 53 | updateData(); 54 | // Update every 2 hours 55 | setInterval(updateData, 2 * 3600 * 1000); 56 | }); 57 | 58 | net.onChange((type) => { 59 | console.verbose("Connection type changed:", type); 60 | if (net.isReachable()) { 61 | updateData(); 62 | } 63 | }); 64 | 65 | net.onChange((type) => { 66 | console.verbose("Connection type changed:", type); 67 | if (net.isReachable()) { 68 | updateData(); 69 | } 70 | }); 71 | -------------------------------------------------------------------------------- /source/BBC-News/menuBarIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/BBC-News/menuBarIcon.png -------------------------------------------------------------------------------- /source/BTC-Price/README.md: -------------------------------------------------------------------------------- 1 | # BTC Price 2 | 3 | > Show real-time price of BTC and other cryptocurrencies 4 | 5 | ## Usage 6 | 7 | Support coins like `BTC`, `LTC`, `XRP`, `ETH`, etc. 8 | Support Currency Unit like `USD`, `CNY`, etc. 9 | 10 | * Site: [http://coindesk.com/](http://coindesk.com/) 11 | * API: [https://production.api.coindesk.com/v2/exchange-rates](https://production.api.coindesk.com/v2/exchange-rates) 12 | 13 | ## License 14 | 15 | This is an open source plugin published under the MIT License -------------------------------------------------------------------------------- /source/BTC-Price/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "BTC Price", 3 | "version": "1.1.7", 4 | "configURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/source/BTC-Price/config.json", 5 | "downloadURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/downloads/BTC-Price.hereplugin", 6 | "description": "Show real-time price of BTC and other cryptocurrencies", 7 | "icon": "icon.png", 8 | "identifier": "app.here.btcprice", 9 | "createdBy": "Here", 10 | "website": "https://here.app", 11 | "script": "index.js", 12 | "defaultCategory": "fav", 13 | "displayOn": ["mini", "menuBar", "dock"], 14 | "preferences": [ 15 | { 16 | "title": "Coin Name", 17 | "type": "text", 18 | "key": "coinName", 19 | "default": "BTC Price" 20 | }, 21 | { 22 | "title": "Coin Code", 23 | "type": "text", 24 | "key": "coinCode", 25 | "default": "BTC" 26 | }, 27 | { 28 | "title": "Currency Unit", 29 | "type": "text", 30 | "key": "currencyUnit", 31 | "default": "USD" 32 | } 33 | ] 34 | } 35 | -------------------------------------------------------------------------------- /source/BTC-Price/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/BTC-Price/icon.png -------------------------------------------------------------------------------- /source/BTC-Price/menuBarIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/BTC-Price/menuBarIcon.png -------------------------------------------------------------------------------- /source/Battery/README.md: -------------------------------------------------------------------------------- 1 | # Battery 2 | 3 | > Show battery status includes Bluetooth devices(Mouse & AirPods) 4 | 5 | ## Development 6 | 7 | * Here API [`powerManagement`](https://doc.here.app/#/jsAPI/powerManagement) 8 | 9 | ## License 10 | 11 | This is an open source plugin published under the MIT License -------------------------------------------------------------------------------- /source/Battery/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Battery", 3 | "version": "1.0.5", 4 | "configURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/source/Battery/config.json", 5 | "downloadURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/downloads/Battery.hereplugin", 6 | "description": "Show battery status includes Bluetooth devices(Mouse & AirPods)", 7 | "icon": "icon.png", 8 | "identifier": "app.here.battery", 9 | "createdBy": "Here", 10 | "website": "https://here.app", 11 | "script": "index.js", 12 | "defaultCategory": "fav", 13 | "displayOn": ["menuBar", "mini", "dock"] 14 | } 15 | -------------------------------------------------------------------------------- /source/Battery/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Battery/icon.png -------------------------------------------------------------------------------- /source/Battery/locales/en.json: -------------------------------------------------------------------------------- 1 | { 2 | "Battery Status": "Battery Status", 3 | "Battery Health: ": "Battery Health: ", 4 | "Cycle Count: ": "Cycle Count: ", 5 | "Connected accessories": "Connected accessories", 6 | "[Not Charging]": "[Not Charging]", 7 | "[Is Charging]": "[Is Charging]", 8 | " device": " device", 9 | } -------------------------------------------------------------------------------- /source/Battery/locales/zh-Hans.json: -------------------------------------------------------------------------------- 1 | { 2 | "Battery Status": "电池状态", 3 | "Battery Health: ": "电池健康度:", 4 | "Cycle Count: ": "循环次数:", 5 | "Connected accessories": "已连接设备数", 6 | "[Not charging]": "[当前未充电]", 7 | "[Is Charging]": "[充电中]", 8 | " device": " 个设备", 9 | } -------------------------------------------------------------------------------- /source/Battery/menuBarIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Battery/menuBarIcon.png -------------------------------------------------------------------------------- /source/Bilibili-Ranking/README.md: -------------------------------------------------------------------------------- 1 | # Bilibili排行榜 2 | 3 | > 显示Bilibili排行榜 4 | 5 | ## Development 6 | 7 | * Site: [https://www.bilibili.com/](https://www.bilibili.com/) 8 | * API: [https://api.bilibili.com/x/web-interface/ranking](https://api.bilibili.com/x/web-interface/ranking) 9 | 10 | ## License 11 | 12 | This is an open source plugin published under the MIT License -------------------------------------------------------------------------------- /source/Bilibili-Ranking/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Bilibili排行榜", 3 | "version": "1.0.2", 4 | "configURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/source/Bilibili-Ranking/config.json", 5 | "downloadURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/downloads/Bilibili-Ranking.hereplugin", 6 | "description": "显示Bilibili排行榜", 7 | "icon": "icon.png", 8 | "identifier": "app.here.bilibiliranking", 9 | "createdBy": "HereCN", 10 | "website": "https://here.app", 11 | "appcast": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/mastr/source//appcast.xml", 12 | "script": "index.js", 13 | "defaultCategory": "news", 14 | "displayOn": ["mini", "menuBar"] 15 | } 16 | -------------------------------------------------------------------------------- /source/Bilibili-Ranking/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Bilibili-Ranking/icon.png -------------------------------------------------------------------------------- /source/Bilibili-Ranking/menuBarIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Bilibili-Ranking/menuBarIcon.png -------------------------------------------------------------------------------- /source/Bilibili-Timeline/README.md: -------------------------------------------------------------------------------- 1 | # bilibili新番时间表 2 | 3 | > 显示 bilibili 新番剧目播放时间 4 | 5 | ## Development 6 | 7 | * Site: [https://bilibili.com/](https://bilibili.com/) 8 | * API: [https://bangumi.bilibili.com/web_api/timeline_global](https://bangumi.bilibili.com/web_api/timeline_global) 9 | 10 | ## License 11 | 12 | This is an open source plugin published under the MIT License -------------------------------------------------------------------------------- /source/Bilibili-Timeline/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "bilibili新番时间表", 3 | "version": "1.0.3", 4 | "configURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/source/Bilibili-Timeline/config.json", 5 | "downloadURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/downloads/Bilibili-Timeline.hereplugin", 6 | "description": "显示 bilibili 新番剧目播放时间", 7 | "icon": "icon.png", 8 | "identifier": "app.here.bilibilitimeline", 9 | "createdBy": "Here", 10 | "website": "https://here.app", 11 | "script": "index.js", 12 | "defaultCategory": "news", 13 | "displayOn": ["mini", "menuBar"] 14 | } 15 | -------------------------------------------------------------------------------- /source/Bilibili-Timeline/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Bilibili-Timeline/icon.png -------------------------------------------------------------------------------- /source/Bilibili-Timeline/menuBarIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Bilibili-Timeline/menuBarIcon.png -------------------------------------------------------------------------------- /source/Bookmark/README.md: -------------------------------------------------------------------------------- 1 | # Bookmark 2 | 3 | > Bookmark your favorite website. 4 | 5 | ## Development 6 | 7 | Use Here API [here.setPopover](https://doc.here.app/) `type: "webView"` 8 | 9 | ## License 10 | 11 | This is an open source plugin published under the MIT License -------------------------------------------------------------------------------- /source/Bookmark/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Bookmark", 3 | "version": "1.0.3", 4 | "configURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/source/Bookmark/config.json", 5 | "downloadURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/downloads/Bookmark.hereplugin", 6 | "description": "Bookmark your favorite website.", 7 | "icon": "icon.png", 8 | "identifier": "app.here.bookmark", 9 | "createdBy": "Here", 10 | "website": "https://here.app", 11 | "script": "index.js", 12 | "defaultCategory": "quick", 13 | "displayOn": ["mini", "menuBar"], 14 | "preferences": [ 15 | { 16 | "title": "Website Name", 17 | "type": "text", 18 | "key": "websiteName", 19 | "default": "Bookmark your favorite website." 20 | }, 21 | { 22 | "title": "Website URL", 23 | "type": "text", 24 | "key": "websiteURL", 25 | "default": "http://example.com" 26 | }, 27 | { 28 | "title": "Window Width", 29 | "type": "text", 30 | "key": "windowWidth", 31 | "default": "375" 32 | }, 33 | { 34 | "title": "Window Height", 35 | "type": "text", 36 | "key": "windowHeight", 37 | "default": "667" 38 | }, 39 | { 40 | "title": "Background Color", 41 | "type": "text", 42 | "key": "backgroundColor", 43 | "default": "#FFFFFF" 44 | }, 45 | { 46 | "title": "Foreground Color", 47 | "type": "text", 48 | "key": "foregroundColor", 49 | "default": "rgba(0,0,0,0.5)" 50 | }, 51 | { 52 | "title": "Hide Status Bar", 53 | "type": "checkbox", 54 | "key": "hideStatusBar", 55 | "default": true 56 | } 57 | ] 58 | } 59 | -------------------------------------------------------------------------------- /source/Bookmark/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Bookmark/icon.png -------------------------------------------------------------------------------- /source/Bookmark/index.js: -------------------------------------------------------------------------------- 1 | const pref = require("pref"); 2 | const json = pref.all(); 3 | 4 | if (json == undefined) { 5 | console.log("No prefs found."); 6 | } 7 | 8 | here.on("load", () => { 9 | here.miniWindow.data = { 10 | title: json["websiteName"], 11 | detail: json["websiteURL"], 12 | }; 13 | here.miniWindow.reload(); 14 | 15 | here.popover = new here.WebViewPopover(); 16 | here.popover.data = { 17 | url: json["websiteURL"], 18 | width: json["windowWidth"], 19 | height: json["windowHeight"], 20 | backgroundColor: json["backgroundColor"], 21 | foregroundColor: json["foregroundColor"], 22 | hideStatusBar: json["hideStatusBar"] == "true" ? 1 : 0, 23 | }; 24 | here.popover.reload(); 25 | }); 26 | -------------------------------------------------------------------------------- /source/Bookmark/menuBarIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Bookmark/menuBarIcon.png -------------------------------------------------------------------------------- /source/CNN-News/README.md: -------------------------------------------------------------------------------- 1 | # CNN News 2 | 3 | > Show [CNN News](http://cnn.com/) hot news 4 | 5 | ## Development 6 | 7 | * API: [http://rss.cnn.com/rss/cnn_topstories.rss](http://rss.cnn.com/rss/cnn_topstories.rss) 8 | * APISpeedy: [https://cnn.apispeedy.com/](https://cnn.apispeedy.com/) 9 | 10 | ## License 11 | 12 | This is an open source plugin published under the MIT License -------------------------------------------------------------------------------- /source/CNN-News/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "CNN News", 3 | "version": "1.0.4", 4 | "configURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/source/CNN-News/config.json", 5 | "downloadURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/downloads/CNN-News.hereplugin", 6 | "description": "Show CNN News hot news", 7 | "icon": "icon.png", 8 | "identifier": "app.here.cnnnews", 9 | "createdBy": "Here", 10 | "website": "https://here.app", 11 | "script": "index.js", 12 | "defaultCategory": "news", 13 | "displayOn": ["mini", "menuBar"] 14 | } 15 | -------------------------------------------------------------------------------- /source/CNN-News/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/CNN-News/icon.png -------------------------------------------------------------------------------- /source/CNN-News/index.js: -------------------------------------------------------------------------------- 1 | const _ = require("underscore"); 2 | const net = require("net"); 3 | 4 | function updateData() { 5 | const LIMIT = 10; 6 | 7 | here.miniWindow.data.title = "Updating…"; 8 | here.miniWindow.reload(); 9 | 10 | // API: http://rss.cnn.com/rss/cnn_topstories.rss 11 | // API Speedy: https://cnn.apispeedy.com/ 12 | 13 | here.parseRSSFeed("https://cnn.apispeedy.com/") 14 | .then((feed) => { 15 | if (feed.items.length <= 0) { 16 | console.error("No item found."); 17 | return; 18 | } 19 | 20 | if (feed.items.length > LIMIT) { 21 | feed.items = feed.items.slice(0, LIMIT); 22 | } 23 | 24 | const topFeed = feed.items[0]; 25 | 26 | // Mini Window 27 | here.miniWindow.data = { 28 | title: topFeed.title, 29 | detail: "CNN News", 30 | onClick: () => { 31 | here.openURL(topFeed.link); 32 | }, 33 | }; 34 | here.miniWindow.reload(); 35 | 36 | // Popover 37 | here.popover.data = _.map(feed.items, (item, index) => { 38 | return { 39 | title: item.title, 40 | onClick: () => { 41 | if (item.link != undefined) { 42 | here.openURL(item.link); 43 | } 44 | }, 45 | }; 46 | }); 47 | here.popover.reload(); 48 | }) 49 | .catch((error) => { 50 | console.error(`Error: ${JSON.stringify(error)}`); 51 | }); 52 | } 53 | 54 | here.on("load", () => { 55 | updateData(); 56 | // Update every 2 hours 57 | setInterval(updateData, 2 * 3600 * 1000); 58 | }); 59 | 60 | net.onChange((type) => { 61 | console.verbose("Connection type changed:", type); 62 | if (net.isReachable()) { 63 | updateData(); 64 | } 65 | }); 66 | -------------------------------------------------------------------------------- /source/CNN-News/menuBarIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/CNN-News/menuBarIcon.png -------------------------------------------------------------------------------- /source/CPU/README.md: -------------------------------------------------------------------------------- 1 | # CPU Usage 2 | 3 | > Show system CPU usage 4 | 5 | ## Development 6 | 7 | This is a sample plugin using here [`OS API`](https://doc.here.app/#/jsAPI/oS) 8 | 9 | ## License 10 | 11 | This is an open source plugin published under the MIT License -------------------------------------------------------------------------------- /source/CPU/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "CPU Usage", 3 | "version": "1.0.3", 4 | "configURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/source/CPU/config.json", 5 | "downloadURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/downloads/CPU.hereplugin", 6 | "description": "Show system CPU usage", 7 | "icon": "icon.png", 8 | "identifier": "app.here.cpu", 9 | "createdBy": "Here", 10 | "website": "https://here.app", 11 | "script": "index.js", 12 | "defaultCategory": "fav", 13 | "displayOn": ["menuBar", "mini", "dock"] 14 | } 15 | -------------------------------------------------------------------------------- /source/CPU/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/CPU/icon.png -------------------------------------------------------------------------------- /source/CPU/index.js: -------------------------------------------------------------------------------- 1 | const os = require("os"); 2 | const _ = require("underscore"); 3 | 4 | here.miniWindow.data.title = "Updating…"; 5 | here.miniWindow.reload(); 6 | 7 | function updateCPUInfo() { 8 | console.verbose("updateCPUInfo"); 9 | 10 | os.cpuUsage() 11 | .then((usage) => { 12 | console.verbose(JSON.stringify(usage)); 13 | 14 | var percentage = 0; 15 | var inuse = 0; 16 | var idle = 0; 17 | 18 | if (usage.overAll.total > 0) { 19 | console.verbose(`in use: ${usage.overAll.inUse}`); 20 | // console.log(`total: ${usage.overAll.total}`) 21 | inuse = usage.overAll.inUse + ""; 22 | percentage = Math.round((usage.overAll.inUse / usage.overAll.total) * 100); 23 | idle = Math.round((usage.overAll.idle / usage.overAll.total) * 100); 24 | // console.log(`percentage: ${percentage}`) 25 | if (percentage < 10) { 26 | percentage = "" + percentage; 27 | } 28 | } 29 | 30 | // Menu Bar 31 | here.menuBar.data = { 32 | title: percentage + "%", 33 | detail: "CPU", 34 | }; 35 | here.menuBar.reload(); 36 | 37 | // Mini Window 38 | here.miniWindow.data = { 39 | title: `CPU Usage`, 40 | detail: "Use:" + inuse, 41 | accessory: { 42 | title: percentage + "%", 43 | detail: "idle:" + idle + "%", 44 | }, 45 | }; 46 | here.miniWindow.reload(); 47 | 48 | // Dock 49 | here.dock.data = { 50 | title: percentage + "% " + idle, 51 | detail: "CPU", 52 | }; 53 | here.dock.reload(); 54 | }) 55 | .catch((error) => { 56 | console.error(JSON.stringify(error)); 57 | here.miniWindow.set({ title: JSON.stringify(error) }); 58 | }); 59 | } 60 | 61 | here.on("load", () => { 62 | // Update every 3 seconds 63 | setInterval(updateCPUInfo, 3000); 64 | }); 65 | -------------------------------------------------------------------------------- /source/CPU/menuBarIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/CPU/menuBarIcon.png -------------------------------------------------------------------------------- /source/Currency-Exchange/README.md: -------------------------------------------------------------------------------- 1 | # Currency Exchange 2 | 3 | > Show exchange rate conversion 4 | 5 | ## Development 6 | 7 | * Site: [http://openexchangerates.org/](http://openexchangerates.org/) 8 | * [Exchange rate API](https://openexchangerates.org/api/latest.json?app_id=48c5e363909e4a2bba48937790c365e7&show_alternative=1%27) 9 | * APISpeedy: [https://openexchangerates.apispeedy.com/api/latest.json?app_id=48c5e363909e4a2bba48937790c365e7&show_alternative=1%27](https://openexchangerates.apispeedy.com/api/latest.json?app_id=48c5e363909e4a2bba48937790c365e7&show_alternative=1%27) 10 | 11 | ## License 12 | 13 | This is an open source plugin published under the MIT License -------------------------------------------------------------------------------- /source/Currency-Exchange/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Currency Exchange", 3 | "version": "1.0.4", 4 | "configURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/source/Currency-Exchange/config.json", 5 | "downloadURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/downloads/Currency-Exchange.hereplugin", 6 | "description": "Show exchange rate conversion", 7 | "icon": "icon.png", 8 | "identifier": "app.here.currencyexchange", 9 | "createdBy": "Here", 10 | "website": "https://here.app", 11 | "script": "index.js", 12 | "defaultCategory": "fav", 13 | "displayOn": ["mini"], 14 | "preferences": [ 15 | { 16 | "title": "Currency Symbols", 17 | "type": "text", 18 | "key": "currencySymbols", 19 | "default": "CNY" 20 | }, 21 | { 22 | "title": "Display Currency", 23 | "type": "text", 24 | "key": "displaySymbols", 25 | "default": "USD" 26 | } 27 | ] 28 | } 29 | -------------------------------------------------------------------------------- /source/Currency-Exchange/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Currency-Exchange/icon.png -------------------------------------------------------------------------------- /source/Currency-Exchange/menuBarIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Currency-Exchange/menuBarIcon.png -------------------------------------------------------------------------------- /source/Daily-Poetry/README.md: -------------------------------------------------------------------------------- 1 | # 每日诗词 2 | 3 | > 给生活增添一分诗意 4 | 5 | ## Development 6 | 7 | * Site: [http://meirishici.com/](http://meirishici.com/) 8 | * API: [http://meirishici.com/getQuote](http://meirishici.com/getQuote) 9 | 10 | ## License 11 | 12 | This is an open source plugin published under the MIT License -------------------------------------------------------------------------------- /source/Daily-Poetry/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "每日诗词", 3 | "version": "1.0.5", 4 | "configURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/source/Daily-Poetry/config.json", 5 | "downloadURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/downloads/Daily-Poetry.hereplugin", 6 | "description": " 给生活增添一分诗意", 7 | "icon": "icon.png", 8 | "identifier": "app.here.dailypoetry", 9 | "createdBy": "Here", 10 | "website": "https://here.app", 11 | "script": "index.js", 12 | "defaultCategory": "quick", 13 | "displayOn": ["mini", "menuBar"] 14 | } 15 | -------------------------------------------------------------------------------- /source/Daily-Poetry/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Daily-Poetry/icon.png -------------------------------------------------------------------------------- /source/Daily-Poetry/menuBarIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Daily-Poetry/menuBarIcon.png -------------------------------------------------------------------------------- /source/Daily-Sentence/README.md: -------------------------------------------------------------------------------- 1 | # 每日一句英文 2 | 3 | > 英文语句,点滴积累 4 | 5 | ## Development 6 | 7 | * Site: [https://sentence.iciba.com/](https://sentence.iciba.com/) 8 | * [Sentence API](https://sentence.iciba.com/index.php?c=dailysentence&m=getTodaySentence&_=1547327206019) 9 | 10 | ## License 11 | 12 | This is an open source plugin published under the MIT License -------------------------------------------------------------------------------- /source/Daily-Sentence/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "每日一句英文", 3 | "version": "1.0.4", 4 | "configURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/source/Daily-Sentence/config.json", 5 | "downloadURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/downloads/Daily-Sentence.hereplugin", 6 | "description": "英文语句,点滴积累", 7 | "icon": "icon.png", 8 | "identifier": "app.here.dailysentence", 9 | "createdBy": "Here", 10 | "website": "https://here.app", 11 | "script": "index.js", 12 | "defaultCategory": "quick", 13 | "displayOn": ["mini", "menuBar"] 14 | } 15 | -------------------------------------------------------------------------------- /source/Daily-Sentence/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Daily-Sentence/icon.png -------------------------------------------------------------------------------- /source/Daily-Sentence/index.js: -------------------------------------------------------------------------------- 1 | const _ = require("underscore"); 2 | const http = require("http"); 3 | const net = require("net"); 4 | 5 | function updateData() { 6 | const LIMIT = 10; 7 | 8 | here.miniWindow.set({ title: "Updating…" }); 9 | 10 | const aURL = "https://sentence.iciba.com/index.php?c=dailysentence&m=getTodaySentence&_=1547327206019"; 11 | http.request(aURL) 12 | .then(function (response) { 13 | const json = response.data; 14 | const entryList = json; 15 | 16 | // console.verbose(JSON.stringify(entryList)) 17 | if (entryList == undefined) { 18 | return here.miniWindow.set({ title: "Invalid data." }); 19 | } 20 | 21 | if (entryList.length <= 0) { 22 | return here.miniWindow.set({ title: "Entrylist is empty." }); 23 | } 24 | 25 | if (entryList.length > LIMIT) { 26 | entryList = entryList.slice(0, LIMIT); 27 | } 28 | 29 | // Menu Bar 30 | here.menuBar.data.title = entryList.content.substring(0, 20) + "..."; 31 | here.menuBar.reload(); 32 | 33 | // Mini Window 34 | here.miniWindow.data = { 35 | title: entryList.content, 36 | detail: entryList.note, 37 | onClick: () => { 38 | here.openURL("http://m.iciba.com/daily.html"); 39 | }, 40 | }; 41 | here.miniWindow.reload(); 42 | 43 | // Popover 44 | here.popover = new here.WebViewPopover(); 45 | here.popover.data = { 46 | url: "http://m.iciba.com/daily.html", 47 | width: 375, 48 | height: 400, 49 | backgroundColor: "#ffffff", 50 | foregroundColor: rgba(0, 0, 0, 0.5), 51 | hideStatusBar: true, 52 | }; 53 | here.popover.reload(); 54 | }) 55 | .catch(function (error) { 56 | console.error(`Error: ${JSON.stringify(error)}`); 57 | here.miniWindow.set({ title: JSON.stringify(error) }); 58 | }); 59 | } 60 | 61 | here.on("load", () => { 62 | updateData(); 63 | // Update every 2 hours 64 | setInterval(updateData, 2 * 3600 * 1000); 65 | }); 66 | 67 | net.onChange((type) => { 68 | console.verbose("Connection type changed:", type); 69 | if (net.isReachable()) { 70 | updateData(); 71 | } 72 | }); 73 | -------------------------------------------------------------------------------- /source/Daily-Sentence/menuBarIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Daily-Sentence/menuBarIcon.png -------------------------------------------------------------------------------- /source/Dark-Mode-Switch/README.md: -------------------------------------------------------------------------------- 1 | # Dark Mode Switch 2 | 3 | > Switch between light and dark mode 4 | 5 | ## Development 6 | 7 | * Use `osascript -e 'tell app "System Events" to tell appearance preferences to set dark mode to not dark mode'` 8 | * Bind hotkey: `ctrl+alt+D` 9 | 10 | ## License 11 | 12 | This is an open source plugin published under the MIT License -------------------------------------------------------------------------------- /source/Dark-Mode-Switch/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Dark Mode Switch", 3 | "version": "1.0.4", 4 | "configURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/source/Dark-Mode-Switch/config.json", 5 | "downloadURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/downloads/Dark-Mode-Switch.hereplugin", 6 | "description": "Switch between light and dark mode", 7 | "icon": "icon.png", 8 | "identifier": "app.here.darkmodeswitch", 9 | "createdBy": "Here", 10 | "website": "https://here.app", 11 | "script": "index.js", 12 | "defaultCategory": "quick", 13 | "displayOn": ["mini", "menuBar"] 14 | } 15 | -------------------------------------------------------------------------------- /source/Dark-Mode-Switch/dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Dark-Mode-Switch/dark.png -------------------------------------------------------------------------------- /source/Dark-Mode-Switch/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Dark-Mode-Switch/icon.png -------------------------------------------------------------------------------- /source/Dark-Mode-Switch/light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Dark-Mode-Switch/light.png -------------------------------------------------------------------------------- /source/Dark-Mode-Switch/locales/en.json: -------------------------------------------------------------------------------- 1 | { 2 | "Dark Mode Switch": "Dark Mode Switch", 3 | "Click to switch": "Click to switch", 4 | } -------------------------------------------------------------------------------- /source/Dark-Mode-Switch/locales/zh-Hans.json: -------------------------------------------------------------------------------- 1 | { 2 | "Dark Mode Switch": "深色模式切换", 3 | "Click to switch": "点击切换" 4 | } -------------------------------------------------------------------------------- /source/Dark-Mode-Switch/menuBarIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Dark-Mode-Switch/menuBarIcon.png -------------------------------------------------------------------------------- /source/Debug/README.md: -------------------------------------------------------------------------------- 1 | # 每日一句英文 2 | 3 | > This is a plugin for debugging use 4 | 5 | ## License 6 | 7 | This is an open source plugin published under the MIT License -------------------------------------------------------------------------------- /source/Debug/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Debug Info", 3 | "version": "1.0.10", 4 | "configURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/source/Debug/config.json", 5 | "downloadURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/downloads/Debug.hereplugin", 6 | "description": "Show developing info", 7 | "icon": "icon.png", 8 | "identifier": "app.here.debug", 9 | "createdBy": "Here", 10 | "website": "https://here.app", 11 | "script": "index.js", 12 | "defaultCategory": "fav", 13 | "displayOn": ["menuBar", "mini"] 14 | } 15 | -------------------------------------------------------------------------------- /source/Debug/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Debug/icon.png -------------------------------------------------------------------------------- /source/Debug/locales/en.json: -------------------------------------------------------------------------------- 1 | { 2 | "Debug Info": "Debug Info", 3 | "Version": "Version", 4 | "Debug": "Debug", 5 | "Tab-Config": "Config" 6 | } -------------------------------------------------------------------------------- /source/Debug/locales/zh-Hans.json: -------------------------------------------------------------------------------- 1 | { 2 | "Debug Info": "调试信息", 3 | "Version": "版本", 4 | "Debug": "调试", 5 | "Reveal Logs in Finder…": "在Finder中打开日志目录…", 6 | "Reveal Plugins in Finder…": "在Finder中打开插件目录…", 7 | "Check for Updates…": "检查更新…", 8 | "Tab-Config": "配置文件" 9 | } -------------------------------------------------------------------------------- /source/Debug/menuBarIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Debug/menuBarIcon.png -------------------------------------------------------------------------------- /source/Dock-Spacer/README.md: -------------------------------------------------------------------------------- 1 | # Dock Spacer 2 | 3 | > Add custom spacers to your Dock 4 | 5 | ## Development 6 | 7 | The main AppleScript is `defaults write com.apple.dock persistent-apps -array-add '{"tile-type"="small-spacer-tile";}';killall Dock`, 8 | check [API](https://doc.here.app/#/jsAPI/here?id=hereexecobj-callback). 9 | 10 | ## License 11 | 12 | This is an open source plugin published under the MIT License -------------------------------------------------------------------------------- /source/Dock-Spacer/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Dock Spacer", 3 | "version": "1.0.2", 4 | "configURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/source/Dock-Spacer/config.json", 5 | "downloadURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/downloads/Dock-Spacer.hereplugin", 6 | "description": "Add custom spacers to your Dock", 7 | "identifier": "app.here.dockspacer", 8 | "createdBy": "Here", 9 | "website": "https://here.app", 10 | "script": "index.js", 11 | "defaultCategory": "quick", 12 | "displayOn": ["mini"] 13 | } 14 | -------------------------------------------------------------------------------- /source/Dock-Spacer/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Dock-Spacer/icon.png -------------------------------------------------------------------------------- /source/Dock-Spacer/index.js: -------------------------------------------------------------------------------- 1 | const i18n = require('i18n') 2 | 3 | function onClick() { 4 | here.exec(`defaults write com.apple.dock persistent-apps -array-add '{"tile-type"="small-spacer-tile";}';killall Dock`); 5 | } 6 | 7 | here.on("load", () => { 8 | // Mini Window 9 | here.miniWindow.data = { 10 | title: __("Dock Spacer"), 11 | detail: __("Click to add spacer to Dock"), 12 | }; 13 | here.miniWindow.onClick(() => { 14 | console.log("Did click on miniwin cell"); 15 | onClick(); 16 | }); 17 | here.miniWindow.reload(); 18 | }); 19 | -------------------------------------------------------------------------------- /source/Dock-Spacer/locales/en.json: -------------------------------------------------------------------------------- 1 | { 2 | "Dock Spacer": "Dock Spacer", 3 | "Click to add spacer to Dock": "Click to add spacer to Dock", 4 | } -------------------------------------------------------------------------------- /source/Dock-Spacer/locales/zh-Hans.json: -------------------------------------------------------------------------------- 1 | { 2 | "Dock Spacer": "Dock Spacer", 3 | "Click to add spacer to Dock": "点击在程序坞生成[空白占位块]", 4 | } -------------------------------------------------------------------------------- /source/DouBan-Movie/README.md: -------------------------------------------------------------------------------- 1 | # 豆瓣电影(热映榜) 2 | 3 | > 显示豆瓣近期热映电影 4 | 5 | ## Development 6 | 7 | * Site: [https://movie.douban.com/](https://movie.douban.com/) 8 | * [Douban API](http://t.yushu.im/v2/movie/in_theaters?apikey=0b2bdeda43b5688921839c8ecb20399b&city=%E5%8C%97%E4%BA%AC&start=0&count=10&client=&udid=) 9 | 10 | ## License 11 | 12 | This is an open source plugin published under the MIT License -------------------------------------------------------------------------------- /source/DouBan-Movie/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "豆瓣电影(热映榜)", 3 | "version": "1.0.7", 4 | "configURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/source/DouBan-Movie/config.json", 5 | "downloadURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/downloads/DouBan-Movie.hereplugin", 6 | "description": "显示豆瓣近期热映电影", 7 | "icon": "icon.png", 8 | "identifier": "app.here.doubanmovie", 9 | "createdBy": "Here", 10 | "website": "https://here.app", 11 | "script": "index.js", 12 | "defaultCategory": "news", 13 | "displayOn": ["mini"] 14 | } 15 | -------------------------------------------------------------------------------- /source/DouBan-Movie/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/DouBan-Movie/icon.png -------------------------------------------------------------------------------- /source/Empty-Trash/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Empty Trash", 3 | "version": "1.0.6", 4 | "configURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/source/Empty-Trash/config.json", 5 | "downloadURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/downloads/Empty-Trash.hereplugin", 6 | "description": "Quick empty trash", 7 | "identifier": "app.here.emptytrash", 8 | "createdBy": "Here", 9 | "website": "https://here.app", 10 | "script": "index.js", 11 | "defaultCategory": "quick", 12 | "displayOn": ["mini", "menuBar"] 13 | } 14 | -------------------------------------------------------------------------------- /source/Empty-Trash/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Empty-Trash/icon.png -------------------------------------------------------------------------------- /source/Empty-Trash/index.js: -------------------------------------------------------------------------------- 1 | const i18n = require("i18n"); 2 | 3 | function onClick() { 4 | here.exec("osascript -e 'tell application \"Finder\" to empty trash'"); 5 | here.hudNotification(__("Files deleted")); 6 | here.miniWindow.hide(); 7 | } 8 | 9 | here.on("load", () => { 10 | // Mini Window 11 | here.miniWindow.data = { 12 | title: __("Empty Trash"), 13 | detail: __("Click to empty ~/.Trash"), 14 | }; 15 | here.miniWindow.onClick(() => { 16 | onClick(); 17 | }); 18 | here.miniWindow.reload(); 19 | 20 | // Menu Bar 21 | here.menuBar = new MenuBar(); 22 | // here.menuBar.set({ title: "empty" }) 23 | here.menuBar.onClick(() => { 24 | onClick(); 25 | }); 26 | here.menuBar.reload(); 27 | }); 28 | -------------------------------------------------------------------------------- /source/Empty-Trash/locales/en.json: -------------------------------------------------------------------------------- 1 | { 2 | "Files deleted": "Files deleted", 3 | "Empty Trash": "Empty Trash", 4 | "Click to empty ~/.Trash": "Click to empty ~/.Trash", 5 | } -------------------------------------------------------------------------------- /source/Empty-Trash/locales/zh-Hans.json: -------------------------------------------------------------------------------- 1 | { 2 | "Files deleted": "文件已删除", 3 | "Empty Trash": "Empty Trash", 4 | "Click to empty ~/.Trash": "点击清空废纸篓 ~/.Trash", 5 | } -------------------------------------------------------------------------------- /source/Empty-Trash/menuBarIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Empty-Trash/menuBarIcon.png -------------------------------------------------------------------------------- /source/Exchange-Rate/README.md: -------------------------------------------------------------------------------- 1 | # 人民币汇率 2 | 3 | > 显示人民币兑其他货币汇率(中国人民银行) 4 | 5 | ## Development 6 | 7 | * Site: [https://stock.finance.sina.com.cn/](https://stock.finance.sina.com.cn/) 8 | * [finance API](https://stock.finance.sina.com.cn/forex/api/openapi.php/ForexService.getAllBankForex?ft=part) 9 | 10 | ## License 11 | 12 | This is an open source plugin published under the MIT License -------------------------------------------------------------------------------- /source/Exchange-Rate/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "人民币汇率", 3 | "version": "1.0.4", 4 | "configURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/source/Exchange-Rate/config.json", 5 | "downloadURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/downloads/Exchange-Rate.hereplugin", 6 | "description": "显示人民币兑其他货币汇率(中国人民银行)", 7 | "icon": "icon.png", 8 | "identifier": "app.here.exchangerate", 9 | "createdBy": "Here", 10 | "website": "https://here.app", 11 | "script": "index.js", 12 | "defaultCategory": "news", 13 | "displayOn": ["mini", "menuBar", "dock"] 14 | } 15 | -------------------------------------------------------------------------------- /source/Exchange-Rate/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Exchange-Rate/icon.png -------------------------------------------------------------------------------- /source/Exchange-Rate/menuBarIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Exchange-Rate/menuBarIcon.png -------------------------------------------------------------------------------- /source/Game-2048/README.md: -------------------------------------------------------------------------------- 1 | # Game 2048 2 | 3 | > Get to the 2048 Tile! 4 | 5 | ## Development 6 | 7 | * GitHub: [https://github.com/gabrielecirulli/2048](https://github.com/gabrielecirulli/2048) 8 | 9 | ## License 10 | 11 | This is an open source plugin published under the MIT License -------------------------------------------------------------------------------- /source/Game-2048/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Game 2048", 3 | "version": "1.0.2", 4 | "configURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/source/Game-2048/config.json", 5 | "downloadURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/downloads/Game-2048.hereplugin", 6 | "description": "Get to the 2048 Tile!", 7 | "icon": "icon.png", 8 | "identifier": "app.here.game2048", 9 | "createdBy": "Here", 10 | "website": "https://here.app", 11 | "script": "index.js", 12 | "defaultCategory": "quick", 13 | "displayOn": ["mini", "menuBar"] 14 | } 15 | -------------------------------------------------------------------------------- /source/Game-2048/game/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing 2 | Changes and improvements are more than welcome! Feel free to fork and open a pull request. 3 | 4 | Please follow the house rules to have a bigger chance of your contribution being merged. 5 | 6 | ## House rules 7 | 8 | ### How to make changes 9 | - To make changes, create a new branch based on `master` (do not create one from `gh-pages` unless strictly necessary) and make them there, then create a Pull Request to master. 10 | `gh-pages` is different from master in that it contains sharing features, analytics and other things that have no direct bearing with the game. `master` is the "pure" version of the game. 11 | - If you want to modify the CSS, please edit the SCSS files present in `style/`: `main.scss` and others. Don't edit the `main.css`, because it's supposed to be generated. 12 | In order to compile your SCSS modifications, you need to use the `sass` gem (install it by running `gem install sass` once Ruby is installed). 13 | To run SASS, simply use the following command: 14 | `sass --unix-newlines --watch style/main.scss` 15 | SASS will automatically recompile your css when changed. 16 | - `Rakefile` contains some tasks that help during development. Feel free to add useful tasks if needed. 17 | - Please use 2-space indentation when editing the JavaScript. A `.jshintrc` file is present, which will help your code to follow the guidelines if you install and run `jshint`. 18 | - Please test your modification thoroughly before submitting your Pull Request. 19 | 20 | ### Changes that might not be accepted 21 | We have to be conservative with the core game. This means that some modifications won't be merged, or will have to be evaluated carefully before being merged: 22 | 23 | - Undo/redo features 24 | - Save/reload features 25 | - Changes to how the tiles look or their contents 26 | - Changes to the layout 27 | - Changes to the grid size 28 | 29 | ### Changes that are welcome 30 | - Bug fixes 31 | - Compatibility improvements 32 | - "Under the hood" enhancements 33 | - Small changes that don't have an impact on the core gameplay 34 | -------------------------------------------------------------------------------- /source/Game-2048/game/LICENSE.txt: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2014 Gabriele Cirulli 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 13 | all 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 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /source/Game-2048/game/README.md: -------------------------------------------------------------------------------- 1 | # 2048 2 | A small clone of [1024](https://play.google.com/store/apps/details?id=com.veewo.a1024), based on [Saming's 2048](http://saming.fr/p/2048/) (also a clone). 3 | 4 | Made just for fun. [Play it here!](http://gabrielecirulli.github.io/2048/) 5 | 6 | The official app can also be found on the [Play Store](https://play.google.com/store/apps/details?id=com.gabrielecirulli.app2048) and [App Store!](https://itunes.apple.com/us/app/2048-by-gabriele-cirulli/id868076805) 7 | 8 | ### Contributions 9 | 10 | [Anna Harren](https://github.com/iirelu/) and [sigod](https://github.com/sigod) are maintainers for this repository. 11 | 12 | Other notable contributors: 13 | 14 | - [TimPetricola](https://github.com/TimPetricola) added best score storage 15 | - [chrisprice](https://github.com/chrisprice) added custom code for swipe handling on mobile 16 | - [marcingajda](https://github.com/marcingajda) made swipes work on Windows Phone 17 | - [mgarciaisaia](https://github.com/mgarciaisaia) added support for Android 2.3 18 | 19 | Many thanks to [rayhaanj](https://github.com/rayhaanj), [Mechazawa](https://github.com/Mechazawa), [grant](https://github.com/grant), [remram44](https://github.com/remram44) and [ghoullier](https://github.com/ghoullier) for the many other good contributions. 20 | 21 | ### Screenshot 22 | 23 |

24 | Screenshot 25 |

26 | 27 | That screenshot is fake, by the way. I never reached 2048 :smile: 28 | 29 | ## Contributing 30 | Changes and improvements are more than welcome! Feel free to fork and open a pull request. Please make your changes in a specific branch and request to pull into `master`! If you can, please make sure the game fully works before sending the PR, as that will help speed up the process. 31 | 32 | You can find the same information in the [contributing guide.](https://github.com/gabrielecirulli/2048/blob/master/CONTRIBUTING.md) 33 | 34 | ## License 35 | 2048 is licensed under the [MIT license.](https://github.com/gabrielecirulli/2048/blob/master/LICENSE.txt) 36 | 37 | ## Donations 38 | I made this in my spare time, and it's hosted on GitHub (which means I don't have any hosting costs), but if you enjoyed the game and feel like buying me coffee, you can donate at my BTC address: `1Ec6onfsQmoP9kkL3zkpB6c5sA4PVcXU2i`. Thank you very much! 39 | -------------------------------------------------------------------------------- /source/Game-2048/game/Rakefile: -------------------------------------------------------------------------------- 1 | require "date" 2 | 3 | namespace :appcache do 4 | desc "update the date in the appcache file (in the gh-pages branch)" 5 | task :update do 6 | appcache = File.read("cache.appcache") 7 | updated = "# Updated: #{DateTime.now}" 8 | 9 | File.write("cache.appcache", appcache.sub(/^# Updated:.*$/, updated)) 10 | end 11 | end 12 | -------------------------------------------------------------------------------- /source/Game-2048/game/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Game-2048/game/favicon.ico -------------------------------------------------------------------------------- /source/Game-2048/game/js/animframe_polyfill.js: -------------------------------------------------------------------------------- 1 | (function () { 2 | var lastTime = 0; 3 | var vendors = ['webkit', 'moz']; 4 | for (var x = 0; x < vendors.length && !window.requestAnimationFrame; ++x) { 5 | window.requestAnimationFrame = window[vendors[x] + 'RequestAnimationFrame']; 6 | window.cancelAnimationFrame = window[vendors[x] + 'CancelAnimationFrame'] || 7 | window[vendors[x] + 'CancelRequestAnimationFrame']; 8 | } 9 | 10 | if (!window.requestAnimationFrame) { 11 | window.requestAnimationFrame = function (callback) { 12 | var currTime = new Date().getTime(); 13 | var timeToCall = Math.max(0, 16 - (currTime - lastTime)); 14 | var id = window.setTimeout(function () { 15 | callback(currTime + timeToCall); 16 | }, 17 | timeToCall); 18 | lastTime = currTime + timeToCall; 19 | return id; 20 | }; 21 | } 22 | 23 | if (!window.cancelAnimationFrame) { 24 | window.cancelAnimationFrame = function (id) { 25 | clearTimeout(id); 26 | }; 27 | } 28 | }()); 29 | -------------------------------------------------------------------------------- /source/Game-2048/game/js/application.js: -------------------------------------------------------------------------------- 1 | // Wait till the browser is ready to render the game (avoids glitches) 2 | window.requestAnimationFrame(function () { 3 | new GameManager(4, KeyboardInputManager, HTMLActuator, LocalStorageManager); 4 | }); 5 | -------------------------------------------------------------------------------- /source/Game-2048/game/js/bind_polyfill.js: -------------------------------------------------------------------------------- 1 | Function.prototype.bind = Function.prototype.bind || function (target) { 2 | var self = this; 3 | return function (args) { 4 | if (!(args instanceof Array)) { 5 | args = [args]; 6 | } 7 | self.apply(target, args); 8 | }; 9 | }; 10 | -------------------------------------------------------------------------------- /source/Game-2048/game/js/classlist_polyfill.js: -------------------------------------------------------------------------------- 1 | (function () { 2 | if (typeof window.Element === "undefined" || 3 | "classList" in document.documentElement) { 4 | return; 5 | } 6 | 7 | var prototype = Array.prototype, 8 | push = prototype.push, 9 | splice = prototype.splice, 10 | join = prototype.join; 11 | 12 | function DOMTokenList(el) { 13 | this.el = el; 14 | // The className needs to be trimmed and split on whitespace 15 | // to retrieve a list of classes. 16 | var classes = el.className.replace(/^\s+|\s+$/g, '').split(/\s+/); 17 | for (var i = 0; i < classes.length; i++) { 18 | push.call(this, classes[i]); 19 | } 20 | } 21 | 22 | DOMTokenList.prototype = { 23 | add: function (token) { 24 | if (this.contains(token)) return; 25 | push.call(this, token); 26 | this.el.className = this.toString(); 27 | }, 28 | contains: function (token) { 29 | return this.el.className.indexOf(token) != -1; 30 | }, 31 | item: function (index) { 32 | return this[index] || null; 33 | }, 34 | remove: function (token) { 35 | if (!this.contains(token)) return; 36 | for (var i = 0; i < this.length; i++) { 37 | if (this[i] == token) break; 38 | } 39 | splice.call(this, i, 1); 40 | this.el.className = this.toString(); 41 | }, 42 | toString: function () { 43 | return join.call(this, ' '); 44 | }, 45 | toggle: function (token) { 46 | if (!this.contains(token)) { 47 | this.add(token); 48 | } else { 49 | this.remove(token); 50 | } 51 | 52 | return this.contains(token); 53 | } 54 | }; 55 | 56 | window.DOMTokenList = DOMTokenList; 57 | 58 | function defineElementGetter(obj, prop, getter) { 59 | if (Object.defineProperty) { 60 | Object.defineProperty(obj, prop, { 61 | get: getter 62 | }); 63 | } else { 64 | obj.__defineGetter__(prop, getter); 65 | } 66 | } 67 | 68 | defineElementGetter(HTMLElement.prototype, 'classList', function () { 69 | return new DOMTokenList(this); 70 | }); 71 | })(); 72 | -------------------------------------------------------------------------------- /source/Game-2048/game/js/local_storage_manager.js: -------------------------------------------------------------------------------- 1 | window.fakeStorage = { 2 | _data: {}, 3 | 4 | setItem: function (id, val) { 5 | return this._data[id] = String(val); 6 | }, 7 | 8 | getItem: function (id) { 9 | return this._data.hasOwnProperty(id) ? this._data[id] : undefined; 10 | }, 11 | 12 | removeItem: function (id) { 13 | return delete this._data[id]; 14 | }, 15 | 16 | clear: function () { 17 | return this._data = {}; 18 | } 19 | }; 20 | 21 | function LocalStorageManager() { 22 | this.bestScoreKey = "bestScore"; 23 | this.gameStateKey = "gameState"; 24 | 25 | var supported = this.localStorageSupported(); 26 | this.storage = supported ? window.localStorage : window.fakeStorage; 27 | } 28 | 29 | LocalStorageManager.prototype.localStorageSupported = function () { 30 | var testKey = "test"; 31 | 32 | try { 33 | var storage = window.localStorage; 34 | storage.setItem(testKey, "1"); 35 | storage.removeItem(testKey); 36 | return true; 37 | } catch (error) { 38 | return false; 39 | } 40 | }; 41 | 42 | // Best score getters/setters 43 | LocalStorageManager.prototype.getBestScore = function () { 44 | return this.storage.getItem(this.bestScoreKey) || 0; 45 | }; 46 | 47 | LocalStorageManager.prototype.setBestScore = function (score) { 48 | this.storage.setItem(this.bestScoreKey, score); 49 | }; 50 | 51 | // Game state getters/setters and clearing 52 | LocalStorageManager.prototype.getGameState = function () { 53 | var stateJSON = this.storage.getItem(this.gameStateKey); 54 | return stateJSON ? JSON.parse(stateJSON) : null; 55 | }; 56 | 57 | LocalStorageManager.prototype.setGameState = function (gameState) { 58 | this.storage.setItem(this.gameStateKey, JSON.stringify(gameState)); 59 | }; 60 | 61 | LocalStorageManager.prototype.clearGameState = function () { 62 | this.storage.removeItem(this.gameStateKey); 63 | }; 64 | -------------------------------------------------------------------------------- /source/Game-2048/game/js/tile.js: -------------------------------------------------------------------------------- 1 | function Tile(position, value) { 2 | this.x = position.x; 3 | this.y = position.y; 4 | this.value = value || 2; 5 | 6 | this.previousPosition = null; 7 | this.mergedFrom = null; // Tracks tiles that merged together 8 | } 9 | 10 | Tile.prototype.savePosition = function () { 11 | this.previousPosition = { x: this.x, y: this.y }; 12 | }; 13 | 14 | Tile.prototype.updatePosition = function (position) { 15 | this.x = position.x; 16 | this.y = position.y; 17 | }; 18 | 19 | Tile.prototype.serialize = function () { 20 | return { 21 | position: { 22 | x: this.x, 23 | y: this.y 24 | }, 25 | value: this.value 26 | }; 27 | }; 28 | -------------------------------------------------------------------------------- /source/Game-2048/game/style/fonts/ClearSans-Bold-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Game-2048/game/style/fonts/ClearSans-Bold-webfont.eot -------------------------------------------------------------------------------- /source/Game-2048/game/style/fonts/ClearSans-Bold-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Game-2048/game/style/fonts/ClearSans-Bold-webfont.woff -------------------------------------------------------------------------------- /source/Game-2048/game/style/fonts/ClearSans-Light-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Game-2048/game/style/fonts/ClearSans-Light-webfont.eot -------------------------------------------------------------------------------- /source/Game-2048/game/style/fonts/ClearSans-Light-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Game-2048/game/style/fonts/ClearSans-Light-webfont.woff -------------------------------------------------------------------------------- /source/Game-2048/game/style/fonts/ClearSans-Regular-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Game-2048/game/style/fonts/ClearSans-Regular-webfont.eot -------------------------------------------------------------------------------- /source/Game-2048/game/style/fonts/ClearSans-Regular-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Game-2048/game/style/fonts/ClearSans-Regular-webfont.woff -------------------------------------------------------------------------------- /source/Game-2048/game/style/fonts/clear-sans.css: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: "Clear Sans"; 3 | src: url("ClearSans-Light-webfont.eot"); 4 | src: url("ClearSans-Light-webfont.eot?#iefix") format("embedded-opentype"), 5 | url("ClearSans-Light-webfont.svg#clear_sans_lightregular") format("svg"), 6 | url("ClearSans-Light-webfont.woff") format("woff"); 7 | font-weight: 200; 8 | font-style: normal; 9 | } 10 | 11 | @font-face { 12 | font-family: "Clear Sans"; 13 | src: url("ClearSans-Regular-webfont.eot"); 14 | src: url("ClearSans-Regular-webfont.eot?#iefix") format("embedded-opentype"), 15 | url("ClearSans-Regular-webfont.svg#clear_sansregular") format("svg"), 16 | url("ClearSans-Regular-webfont.woff") format("woff"); 17 | font-weight: normal; 18 | font-style: normal; 19 | } 20 | 21 | @font-face { 22 | font-family: "Clear Sans"; 23 | src: url("ClearSans-Bold-webfont.eot"); 24 | src: url("ClearSans-Bold-webfont.eot?#iefix") format("embedded-opentype"), 25 | url("ClearSans-Bold-webfont.svg#clear_sansbold") format("svg"), 26 | url("ClearSans-Bold-webfont.woff") format("woff"); 27 | font-weight: 700; 28 | font-style: normal; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /source/Game-2048/game/style/helpers.scss: -------------------------------------------------------------------------------- 1 | // Exponent 2 | // From: https://github.com/Team-Sass/Sassy-math/blob/master/sass/math.scss#L36 3 | 4 | @function exponent($base, $exponent) { 5 | // reset value 6 | $value: $base; 7 | // positive intergers get multiplied 8 | @if $exponent > 1 { 9 | @for $i from 2 through $exponent { 10 | $value: $value * $base; } } 11 | // negitive intergers get divided. A number divided by itself is 1 12 | @if $exponent < 1 { 13 | @for $i from 0 through -$exponent { 14 | $value: $value / $base; } } 15 | // return the last value written 16 | @return $value; 17 | } 18 | 19 | @function pow($base, $exponent) { 20 | @return exponent($base, $exponent); 21 | } 22 | 23 | // Transition mixins 24 | @mixin transition($args...) { 25 | -webkit-transition: $args; 26 | -moz-transition: $args; 27 | transition: $args; 28 | } 29 | 30 | @mixin transition-property($args...) { 31 | -webkit-transition-property: $args; 32 | -moz-transition-property: $args; 33 | transition-property: $args; 34 | } 35 | 36 | @mixin animation($args...) { 37 | -webkit-animation: $args; 38 | -moz-animation: $args; 39 | animation: $args; 40 | } 41 | 42 | @mixin animation-fill-mode($args...) { 43 | -webkit-animation-fill-mode: $args; 44 | -moz-animation-fill-mode: $args; 45 | animation-fill-mode: $args; 46 | } 47 | 48 | @mixin transform($args...) { 49 | -webkit-transform: $args; 50 | -moz-transform: $args; 51 | -ms-transform: $args; 52 | transform: $args; 53 | } 54 | 55 | // Keyframe animations 56 | @mixin keyframes($animation-name) { 57 | @-webkit-keyframes $animation-name { 58 | @content; 59 | } 60 | @-moz-keyframes $animation-name { 61 | @content; 62 | } 63 | @keyframes $animation-name { 64 | @content; 65 | } 66 | } 67 | 68 | // Media queries 69 | @mixin smaller($width) { 70 | @media screen and (max-width: $width) { 71 | @content; 72 | } 73 | } 74 | 75 | // Clearfix 76 | @mixin clearfix { 77 | &:after { 78 | content: ""; 79 | display: block; 80 | clear: both; 81 | } 82 | } 83 | -------------------------------------------------------------------------------- /source/Game-2048/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Game-2048/icon.png -------------------------------------------------------------------------------- /source/Game-2048/index.js: -------------------------------------------------------------------------------- 1 | const i18n = require('i18n') 2 | 3 | here.on("load", () => { 4 | here.miniWindow.data = { 5 | title: "🕹Game: 2048", 6 | detail: __("Get to the 2048 Tile! (Keyboard: ↑↓← →)"), 7 | }; 8 | here.miniWindow.reload(); 9 | 10 | here.popover = new here.WebViewPopover(); 11 | here.popover.data = { 12 | url: "./game/index.html", 13 | width: 300, 14 | height: 432, 15 | backgroundColor: "#FAF8EF", 16 | foregroundColor: rgba(133, 109, 0, 1), 17 | hideStatusBar: true, 18 | }; 19 | here.popover.reload(); 20 | }); 21 | -------------------------------------------------------------------------------- /source/Game-2048/locales/en.json: -------------------------------------------------------------------------------- 1 | { 2 | "Get to the 2048 Tile! (Keyboard: ↑↓← →)": "Get to the 2048 Tile! (Keyboard: ↑↓← →)", 3 | } -------------------------------------------------------------------------------- /source/Game-2048/locales/zh-Hans.json: -------------------------------------------------------------------------------- 1 | { 2 | "Get to the 2048 Tile! (Keyboard: ↑↓← →)": "挑战合成2048! (开始游戏: 方向键↑↓← →)", 3 | } -------------------------------------------------------------------------------- /source/Game-2048/menuBarIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Game-2048/menuBarIcon.png -------------------------------------------------------------------------------- /source/Game-Chrome-Dino/README.md: -------------------------------------------------------------------------------- 1 | ## t-rex-runner 2 | 3 | the trex runner game extracted from chrome offline err page. 4 | 5 | see the [source](https://cs.chromium.org/chromium/src/components/neterror/resources/offline.js?q=t-rex+package:%5Echromium$&dr=C&l=7) from chromium 6 | 7 | 8 | [go and enjoy! :smile: ](http://wayou.github.io/t-rex-runner/) 9 | 10 | ![chrome offline game cast](https://github.com/wayou/t-rex-runner/raw/gh-pages/assets/screenshot.gif) 11 | 12 | ## Interesting Forks/In Chinese, we call it 「花样玩法」 13 | 14 | - [vianroyal](https://github.com/vianroyal)/[t-rex-runner](https://github.com/vianroyal/t-rex-runner) [Kumamon runner](http://vianroyal.github.io/t-rex-runner/) 15 |
16 | 17 | ![](https://github.com/wayou/t-rex-runner/raw/gh-pages/assets/kumamon-runner.gif) 18 | 19 | - [xkuga](https://github.com/xkuga)/[t-rex-runner](https://github.com/xkuga/t-rex-runner) [Hello KuGou](http://hellokugou.com/) 20 |
21 | 22 | ![](https://github.com/wayou/t-rex-runner/raw/gh-pages/assets/hello-kugou.gif) 23 | 24 | - [d-nery](https://github.com/d-nery/)/[t-rex-runner](https://github.com/d-nery/t-rex-runner) [Novas coisas](http://d-nery.github.io/t-rex-runner/) 25 |
26 | 27 | ![](https://github.com/wayou/t-rex-runner/raw/gh-pages/assets/novas-coisas.gif) 28 | 29 | - [chirag64](https://github.com/chirag64)/[t-rex-runner-bot](https://github.com/chirag64/t-rex-runner-bot) [t-rex runner bot](https://chirag64.github.io/t-rex-runner-bot/) 30 |
31 | 32 | ![](https://github.com/wayou/t-rex-runner/raw/gh-pages/assets/t-rex-runner-bot.gif) 33 | 34 | - [19janil](https://github.com/19janil)/[t-rex-runner](https://github.com/19janil/t-rex-runner) [t-rex runner](https://19janil.github.io/t-rex-runner/) 35 |
36 | 37 | ![](https://github.com/wayou/t-rex-runner/raw/gh-pages/assets/t-rex-runner-19janil.gif) 38 | 39 | - [enthus1ast](https://github.com/enthus1ast)/[chromeTrip](https://github.com/enthus1ast/chromeTrip) [Chrome Trip by code0](https://code0.itch.io/chrome-trip) 40 |
41 | 42 | ![](https://user-images.githubusercontent.com/13794470/37289691-964618be-260a-11e8-8c4a-6df04d6c490d.gif) 43 | 44 | 45 | -------------------------------------------------------------------------------- /source/Game-Chrome-Dino/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Game Chrome Dino", 3 | "version": "1.0.2", 4 | "configURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/source/Game-Chrome-Dino/config.json", 5 | "downloadURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/downloads/Game-Chrome-Dino.hereplugin", 6 | "description": "Chrome Dino (also known as T-Rex Game, or the NO INTERNET GAME)", 7 | "icon": "icon.png", 8 | "identifier": "app.here.gamechromedino", 9 | "createdBy": "Here", 10 | "website": "https://here.app", 11 | "script": "index.js", 12 | "defaultCategory": "quick", 13 | "displayOn": [ 14 | "mini", 15 | "menuBar" 16 | ] 17 | } -------------------------------------------------------------------------------- /source/Game-Chrome-Dino/game/assets/default_100_percent/100-disabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Game-Chrome-Dino/game/assets/default_100_percent/100-disabled.png -------------------------------------------------------------------------------- /source/Game-Chrome-Dino/game/assets/default_100_percent/100-error-offline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Game-Chrome-Dino/game/assets/default_100_percent/100-error-offline.png -------------------------------------------------------------------------------- /source/Game-Chrome-Dino/game/assets/default_100_percent/100-offline-sprite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Game-Chrome-Dino/game/assets/default_100_percent/100-offline-sprite.png -------------------------------------------------------------------------------- /source/Game-Chrome-Dino/game/assets/default_200_percent/200-disabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Game-Chrome-Dino/game/assets/default_200_percent/200-disabled.png -------------------------------------------------------------------------------- /source/Game-Chrome-Dino/game/assets/default_200_percent/200-error-offline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Game-Chrome-Dino/game/assets/default_200_percent/200-error-offline.png -------------------------------------------------------------------------------- /source/Game-Chrome-Dino/game/assets/default_200_percent/200-offline-sprite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Game-Chrome-Dino/game/assets/default_200_percent/200-offline-sprite.png -------------------------------------------------------------------------------- /source/Game-Chrome-Dino/game/assets/offline-sprite-1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Game-Chrome-Dino/game/assets/offline-sprite-1x.png -------------------------------------------------------------------------------- /source/Game-Chrome-Dino/game/assets/offline-sprite-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Game-Chrome-Dino/game/assets/offline-sprite-2x.png -------------------------------------------------------------------------------- /source/Game-Chrome-Dino/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Game-Chrome-Dino/icon.png -------------------------------------------------------------------------------- /source/Game-Chrome-Dino/index.js: -------------------------------------------------------------------------------- 1 | const i18n = require('i18n') 2 | 3 | here.on("load", () => { 4 | here.miniWindow.data = { 5 | title: __("🕹Chrome Dino"), 6 | detail: __("T-Rex Game! (Keyboard: Space Key)"), 7 | }; 8 | here.miniWindow.reload(); 9 | 10 | here.popover = new here.WebViewPopover(); 11 | here.popover.data = { 12 | url: "./game/index.html", 13 | width: 600, 14 | height: 150, 15 | backgroundColor: "#FFFFFF", 16 | foregroundColor: rgba(255, 255, 255, 255), 17 | hideStatusBar: true 18 | }; 19 | here.popover.reload(); 20 | }); 21 | -------------------------------------------------------------------------------- /source/Game-Chrome-Dino/locales/en.json: -------------------------------------------------------------------------------- 1 | { 2 | "🕹Chrome Dino": "🕹Chrome Dino", 3 | "T-Rex Game! (Keyboard: Space Key)": "T-Rex Game! (Keyboard: Space Key)", 4 | } -------------------------------------------------------------------------------- /source/Game-Chrome-Dino/locales/zh-Hans.json: -------------------------------------------------------------------------------- 1 | { 2 | "🕹Chrome Dino": "🕹Chrome小恐龙", 3 | "T-Rex Game! (Keyboard: Space Key)": "T-Rex Game! (开始游戏: 空格键)" 4 | } -------------------------------------------------------------------------------- /source/Game-Chrome-Dino/menuBarIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Game-Chrome-Dino/menuBarIcon.png -------------------------------------------------------------------------------- /source/Github-Trending/README.md: -------------------------------------------------------------------------------- 1 | # Github Trending 2 | 3 | > Show what the GitHub is most excited about today 4 | 5 | ## Usage 6 | 7 | * Code Language: `php`, `javascript`, `swift`, empty for all the language. 8 | via [https://github.com/trending/swift?since=daily](https://github.com/trending/swift?since=daily) 9 | * Spoken Language Code: `en`,`fr`, `zh` 10 | via [http://www.lingoes.net/en/translator/langcode.htm](http://www.lingoes.net/en/translator/langcode.htm) 11 | * More API info check here: [API](https://trendings.herokuapp.com/repo?lang=java&since=weekly) & [repo](https://github.com/xxdongs/github-trending) 12 | 13 | ## Development 14 | 15 | * Site: [https://github.com/trending](https://github.com/trending) 16 | * API: [trendings.herokuapp.com/repo?lang=java&since=weekly](https://trendings.herokuapp.com/repo?lang=java&since=weekly) 17 | * `today`, `weekly`, `monthly` 18 | 19 | ## License 20 | 21 | This is an open source plugin published under the MIT License -------------------------------------------------------------------------------- /source/Github-Trending/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Github Trending", 3 | "version": "1.0.5", 4 | "configURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/source/Github-Trending/config.json", 5 | "downloadURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/downloads/Github-Trending.hereplugin", 6 | "description": "Show what the GitHub is most excited about today", 7 | "icon": "icon.png", 8 | "identifier": "app.here.githubtrending", 9 | "createdBy": "Here", 10 | "website": "https://here.app", 11 | "script": "index.js", 12 | "defaultCategory": "news", 13 | "displayOn": ["mini", "menuBar"], 14 | "preferences": [ 15 | { 16 | "title": "Code Language", 17 | "type": "text", 18 | "key": "codeLanguage", 19 | "default": "" 20 | }, 21 | { 22 | "title": "Spoken Language Code", 23 | "type": "text", 24 | "key": "spokenLanguageCode", 25 | "default": "en" 26 | } 27 | ] 28 | } 29 | -------------------------------------------------------------------------------- /source/Github-Trending/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Github-Trending/icon.png -------------------------------------------------------------------------------- /source/Github-Trending/menuBarIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Github-Trending/menuBarIcon.png -------------------------------------------------------------------------------- /source/Gold-Price/README.md: -------------------------------------------------------------------------------- 1 | # 实时金价 2 | 3 | > 显示实时黄金价格 4 | 5 | ## Development 6 | 7 | * Site: [https://finance.sina.com.cn/nmetal/](https://finance.sina.com.cn/nmetal/) 8 | * API: [https://hq.sinajs.cn/?list=gds_AUTD](https://hq.sinajs.cn/?list=gds_AUTD) 9 | 10 | ## License 11 | 12 | This is an open source plugin published under the MIT License -------------------------------------------------------------------------------- /source/Gold-Price/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "实时金价", 3 | "version": "1.0.4", 4 | "configURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/source/Gold-Price/config.json", 5 | "downloadURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/downloads/Gold-Price.hereplugin", 6 | "description": "显示实时黄金价格", 7 | "icon": "icon.png", 8 | "identifier": "app.here.goldprice", 9 | "createdBy": "Here", 10 | "website": "https://here.app", 11 | "script": "index.js", 12 | "defaultCategory": "fav", 13 | "displayOn": ["mini", "menuBar", "dock"] 14 | } 15 | -------------------------------------------------------------------------------- /source/Gold-Price/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Gold-Price/icon.png -------------------------------------------------------------------------------- /source/Gold-Price/index.js: -------------------------------------------------------------------------------- 1 | const _ = require("underscore"); 2 | const http = require("http"); 3 | const net = require("net"); 4 | 5 | function strToVar(str) { 6 | var json = new Function("return " + str)(); 7 | return json; 8 | } 9 | 10 | function updateData() { 11 | here.miniWindow.data = { title: "Updating…" }; 12 | here.miniWindow.reload(); 13 | 14 | http.get("https://hq.sinajs.cn/?list=gds_AUTD") 15 | .then(function (response) { 16 | let goldPrice; 17 | let goldDate; 18 | 19 | let data = response.data; 20 | if (data != undefined) { 21 | goldPrice = data.toString().split('="')[1].split(",")[0]; 22 | goldDate = 23 | data.toString().split('="')[1].split(",")[12] + " " + data.toString().split('="')[1].split(",")[6]; 24 | } 25 | 26 | // console.log(goldPrice) 27 | 28 | // Menu Bar 29 | here.menuBar.data = { 30 | title: goldPrice, 31 | detail: "Gold", 32 | }; 33 | here.menuBar.reload(); 34 | 35 | // Mini Window 36 | here.miniWindow.data = { 37 | title: "黄金价格", 38 | detail: goldDate, 39 | accessory: { 40 | title: goldPrice, 41 | }, 42 | }; 43 | here.miniWindow.reload(); 44 | 45 | // Dock 46 | here.dock.data = { 47 | title: goldPrice, 48 | detail: "金价", 49 | }; 50 | here.dock.reload(); 51 | }) 52 | .catch(function (error) { 53 | console.error(`Error: ${JSON.stringify(error)}`); 54 | here.miniWindow.set({ title: JSON.stringify(error) }); 55 | }); 56 | } 57 | 58 | // 直接调用 Webview 59 | here.popover = new here.WebViewPopover(); 60 | here.popover.data = { 61 | url: "http://gu.sina.cn/m/?vt=4&cid=76613#/futures/month?symbol=AU0", 62 | width: 375, 63 | height: 500, 64 | }; 65 | here.popover.reload(); 66 | 67 | here.on("load", () => { 68 | updateData(); 69 | // Update every 2 hours 70 | setInterval(updateData, 2 * 3600 * 1000); 71 | }); 72 | 73 | net.onChange((type) => { 74 | console.verbose("Connection type changed:", type); 75 | if (net.isReachable()) { 76 | updateData(); 77 | } 78 | }); 79 | -------------------------------------------------------------------------------- /source/Gold-Price/menuBarIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Gold-Price/menuBarIcon.png -------------------------------------------------------------------------------- /source/Google-Trends/README.md: -------------------------------------------------------------------------------- 1 | # Google Trends 2 | 3 | > Show what's trending on Google 4 | 5 | ## Development 6 | 7 | * Site: [https://trends.google.com/](https://trends.google.com/) 8 | * API: [https://trends.google.com/trends/api/topdailytrends?tz=-480&geo=US](https://trends.google.com/trends/api/topdailytrends?tz=-480&geo=US) 9 | 10 | ## License 11 | 12 | This is an open source plugin published under the MIT License -------------------------------------------------------------------------------- /source/Google-Trends/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Google Trends", 3 | "version": "1.0.3", 4 | "configURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/source/Google-Trends/config.json", 5 | "downloadURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/downloads/Google-Trends.hereplugin", 6 | "description": "Show what's trending on Google", 7 | "icon": "icon.png", 8 | "identifier": "app.here.googletrends", 9 | "createdBy": "Here", 10 | "website": "https://here.app", 11 | "script": "index.js", 12 | "defaultCategory": "news", 13 | "displayOn": ["mini"] 14 | } 15 | -------------------------------------------------------------------------------- /source/Google-Trends/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Google-Trends/icon.png -------------------------------------------------------------------------------- /source/Google-Trends/menuBarIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Google-Trends/menuBarIcon.png -------------------------------------------------------------------------------- /source/Hacker-News/README.md: -------------------------------------------------------------------------------- 1 | # Hacker News 2 | 3 | > Show Hacker News hot posts 4 | 5 | ## Development 6 | 7 | * Site: [https://news.ycombinator.com/](https://news.ycombinator.com/) 8 | * API: [https://news.ycombinator.com/rss](https://news.ycombinator.com/rss) 9 | * APISpeedy: [https://hackernews.apispeedy.com/](https://hackernews.apispeedy.com/) 10 | 11 | ## License 12 | 13 | This is an open source plugin published under the MIT License 14 | -------------------------------------------------------------------------------- /source/Hacker-News/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Hacker News", 3 | "version": "1.0.3", 4 | "configURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/source/Hacker-News/config.json", 5 | "downloadURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/downloads/Hacker-News.hereplugin", 6 | "description": "Show Hacker News hot posts", 7 | "icon": "icon.png", 8 | "identifier": "app.here.hackernews", 9 | "createdBy": "Here", 10 | "website": "https://here.app", 11 | "script": "index.js", 12 | "defaultCategory": "news", 13 | "displayOn": ["mini"] 14 | } 15 | -------------------------------------------------------------------------------- /source/Hacker-News/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Hacker-News/icon.png -------------------------------------------------------------------------------- /source/Hacker-News/index.js: -------------------------------------------------------------------------------- 1 | const _ = require("underscore"); 2 | const net = require("net"); 3 | 4 | function updateData() { 5 | const LIMIT = 10; 6 | 7 | here.miniWindow.data = { title: "Updating…" }; 8 | here.miniWindow.reload(); 9 | 10 | // API: https://news.ycombinator.com/rss 11 | // API Speedy: https://hackernews.apispeedy.com/ 12 | 13 | here.parseRSSFeed("https://hackernews.apispeedy.com/") 14 | .then((feed) => { 15 | if (feed.items.length <= 0) { 16 | return here.miniWindow.set({ title: "No item found." }); 17 | } 18 | 19 | if (feed.items.length > LIMIT) { 20 | feed.items = feed.items.slice(0, LIMIT); 21 | } 22 | 23 | const topFeed = feed.items[0]; 24 | // Mini Window 25 | here.miniWindow.data = { 26 | title: topFeed.title, 27 | detail: "Hacker News", 28 | onClick: () => { 29 | here.openURL("https://news.ycombinator.com/"); 30 | }, 31 | }; 32 | here.miniWindow.reload(); 33 | 34 | here.popover.data = _.map(feed.items, (item, index) => { 35 | return { 36 | title: item.title, 37 | onClick: () => { 38 | if (item.link != undefined) { 39 | here.openURL(item.link); 40 | } 41 | }, 42 | }; 43 | }); 44 | here.popover.reload(); 45 | }) 46 | .catch((error) => { 47 | console.error(`Error: ${JSON.stringify(error)}`); 48 | }); 49 | } 50 | 51 | here.on("load", () => { 52 | updateData(); 53 | // Update every 2 hours 54 | setInterval(updateData, 2 * 3600 * 1000); 55 | }); 56 | 57 | net.onChange((type) => { 58 | console.verbose("Connection type changed:", type); 59 | if (net.isReachable()) { 60 | updateData(); 61 | } 62 | }); 63 | -------------------------------------------------------------------------------- /source/Hello-Github/README.md: -------------------------------------------------------------------------------- 1 | # Hello GitHub 2 | 3 | > Show Hello GitHub post feeds 4 | 5 | ## Development 6 | 7 | * Site: [https://hellogithub.com/](https://hellogithub.com/) 8 | * API: [https://hellogithub.com/rss](https://hellogithub.com/rss) 9 | 10 | ## License 11 | 12 | This is an open source plugin published under the MIT License -------------------------------------------------------------------------------- /source/Hello-Github/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Hello GitHub", 3 | "version": "1.0.2", 4 | "configURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/source/Hello-Github/config.json", 5 | "downloadURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/downloads/Hello-Github.hereplugin", 6 | "description": "Show Hello GitHub post feeds", 7 | "icon": "icon.png", 8 | "identifier": "app.here.hellogithub", 9 | "createdBy": "Here", 10 | "website": "https://here.app", 11 | "script": "index.js", 12 | "defaultCategory": "news", 13 | "displayOn": ["mini"] 14 | } 15 | -------------------------------------------------------------------------------- /source/Hello-Github/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Hello-Github/icon.png -------------------------------------------------------------------------------- /source/Hello-Github/index.js: -------------------------------------------------------------------------------- 1 | const _ = require("underscore"); 2 | const net = require("net"); 3 | 4 | function updateData() { 5 | const LIMIT = 10; 6 | 7 | here.miniWindow.data.title = "Updating…"; 8 | here.miniWindow.reload(); 9 | 10 | here.parseRSSFeed("https://hellogithub.com/rss") 11 | .then((feed) => { 12 | if (feed.items.length <= 0) { 13 | return here.miniWindow.set({ title: "No item found." }); 14 | } 15 | 16 | if (feed.items.length > LIMIT) { 17 | feed.items = feed.items.slice(0, LIMIT); 18 | } 19 | 20 | const topFeed = feed.items[0]; 21 | // Mini Window 22 | here.miniWindow.data = { 23 | title: topFeed.title, 24 | detail: "Hello GitHub", 25 | onClick: () => { 26 | if (topFeed.link != undefined) { 27 | here.openURL(topFeed.link); 28 | } 29 | }, 30 | }; 31 | here.miniWindow.reload(); 32 | 33 | here.popover.data = _.map(feed.items, (item, index) => { 34 | return { 35 | title: item.title, 36 | onClick: () => { 37 | if (item.link != undefined) { 38 | here.openURL(item.link); 39 | } 40 | }, 41 | }; 42 | }); 43 | here.popover.reload(); 44 | }) 45 | .catch((error) => { 46 | console.error(`Error: ${JSON.stringify(error)}`); 47 | }); 48 | } 49 | 50 | here.on("load", () => { 51 | updateData(); 52 | // Update every 2 hours 53 | setInterval(updateData, 2 * 3600 * 1000); 54 | }); 55 | 56 | net.onChange((type) => { 57 | console.verbose("Connection type changed:", type); 58 | if (net.isReachable()) { 59 | updateData(); 60 | } 61 | }); 62 | -------------------------------------------------------------------------------- /source/Here-Resources/README.md: -------------------------------------------------------------------------------- 1 | # Here Resources 2 | 3 | > Everything about Here 4 | 5 | ## License 6 | 7 | This is an open source plugin published under the MIT License -------------------------------------------------------------------------------- /source/Here-Resources/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Here Resources", 3 | "version": "1.0.4", 4 | "configURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/source/Here-Resources/config.json", 5 | "downloadURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/downloads/Here-Resources.hereplugin", 6 | "description": "Everything about Here", 7 | "icon": "icon.png", 8 | "identifier": "app.here.hereresources", 9 | "createdBy": "Here", 10 | "website": "https://here.app", 11 | "script": "index.js", 12 | "defaultCategory": "news", 13 | "displayOn": ["mini", "menuBar"] 14 | } 15 | -------------------------------------------------------------------------------- /source/Here-Resources/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Here-Resources/icon.png -------------------------------------------------------------------------------- /source/Here-Resources/menuBarIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Here-Resources/menuBarIcon.png -------------------------------------------------------------------------------- /source/Here-Test/README.md: -------------------------------------------------------------------------------- 1 | # Hello GitHub 2 | 3 | > Here App API Unit Test 4 | 5 | ## License 6 | 7 | This is an open source plugin published under the MIT Licens -------------------------------------------------------------------------------- /source/Here-Test/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Here Test", 3 | "version": "1.0.5", 4 | "configURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/source/Here-Test/config.json", 5 | "downloadURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/downloads/Here-Test.hereplugin", 6 | "description": "Here App API Unit Test", 7 | "identifier": "app.here.heretest", 8 | "createdBy": "Here", 9 | "website": "https://here.app", 10 | "script": "index.js", 11 | "defaultCategory": "fav", 12 | "displayOn": ["mini", "dock"], 13 | "queryKeywords": ["hhh"], 14 | "preferences": [ 15 | { 16 | "title": "Text type", 17 | "type": "text", 18 | "key": "textType", 19 | "default": "textType" 20 | }, 21 | { 22 | "title": "Checkbox type", 23 | "type": "checkbox", 24 | "key": "checkboxType", 25 | "default": false 26 | }, 27 | { 28 | "title": "Popup type", 29 | "type": "popup", 30 | "key": "popupType", 31 | "default": 1, 32 | "options": ["option 0", "option 1"] 33 | } 34 | ] 35 | } 36 | -------------------------------------------------------------------------------- /source/Here-Test/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Here-Test/icon.png -------------------------------------------------------------------------------- /source/Here-Test/locales/en.json: -------------------------------------------------------------------------------- 1 | { 2 | "Steve-Jobs-Quote": "Stay Hungry. Stay Foolish." 3 | } -------------------------------------------------------------------------------- /source/Here-Test/locales/zh-Hans.json: -------------------------------------------------------------------------------- 1 | { 2 | "Steve-Jobs-Quote": "留下饥饿。留下愚蠢。" 3 | } -------------------------------------------------------------------------------- /source/Here-Test/test.json: -------------------------------------------------------------------------------- 1 | { 2 | "data": 200, 3 | "unicode": "如是我聞。壹時佛在舍衛國。" 4 | } -------------------------------------------------------------------------------- /source/IP-Checker/README.md: -------------------------------------------------------------------------------- 1 | # IP Checker 2 | 3 | > Check IP address info 4 | 5 | ## Development 6 | 7 | * Checker Site: [https://ip.sb/](https://ip.sb/) 8 | * API Site: [http://ip.taobao.com/](http://ip.taobao.com/) 9 | * API: [http://ip.taobao.com/service/getIpInfo.php?ip=8.8.8.8](http://ip.taobao.com/service/getIpInfo.php?ip=8.8.8.8) 10 | 11 | ## License 12 | 13 | This is an open source plugin published under the MIT Licens -------------------------------------------------------------------------------- /source/IP-Checker/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "IP Checker", 3 | "version": "1.0.4", 4 | "configURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/source/IP-Checker/config.json", 5 | "downloadURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/downloads/IP-Checker.hereplugin", 6 | "description": "Check IP address info", 7 | "icon": "icon.png", 8 | "identifier": "app.here.ipchecker", 9 | "createdBy": "Here", 10 | "website": "https://here.app", 11 | "script": "index.js", 12 | "defaultCategory": "quick", 13 | "displayOn": ["mini", "menuBar"] 14 | } 15 | -------------------------------------------------------------------------------- /source/IP-Checker/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/IP-Checker/icon.png -------------------------------------------------------------------------------- /source/IP-Checker/menuBarIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/IP-Checker/menuBarIcon.png -------------------------------------------------------------------------------- /source/JueJin/README.md: -------------------------------------------------------------------------------- 1 | # 掘金开发者头条 2 | 3 | > 显示掘金开发者头条热门文章 4 | 5 | ## Development 6 | 7 | * Site: [https://juejin.im/](https://juejin.im/) 8 | * API: [https://rsshub.rssforever.com/juejin/pins](https://rsshub.rssforever.com/juejin/pins) 9 | thx to mo.fish 10 | 11 | ## License 12 | 13 | This is an open source plugin published under the MIT License -------------------------------------------------------------------------------- /source/JueJin/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "掘金开发者头条", 3 | "version": "1.0.3", 4 | "configURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/source/JueJin/config.json", 5 | "downloadURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/downloads/JueJin.hereplugin", 6 | "description": "显示掘金开发者头条热门文章", 7 | "icon": "icon.png", 8 | "identifier": "app.here.juejin", 9 | "createdBy": "Here", 10 | "website": "https://here.app", 11 | "script": "index.js", 12 | "defaultCategory": "news", 13 | "displayOn": ["mini"] 14 | } 15 | -------------------------------------------------------------------------------- /source/JueJin/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/JueJin/icon.png -------------------------------------------------------------------------------- /source/JueJin/index.js: -------------------------------------------------------------------------------- 1 | const _ = require("underscore"); 2 | const http = require("http"); 3 | const net = require("net"); 4 | 5 | function updateData() { 6 | const LIMIT = 10; 7 | 8 | here.miniWindow.data.title = "Updating…"; 9 | here.miniWindow.reload(); 10 | 11 | here.parseRSSFeed("https://rsshub.rssforever.com/juejin/pins") 12 | .then((feed) => { 13 | if (feed.items.length <= 0) { 14 | return here.miniWindow.set({ title: "No item found." }); 15 | } 16 | 17 | if (feed.items.length > LIMIT) { 18 | feed.items = feed.items.slice(0, LIMIT); 19 | } 20 | 21 | const topFeed = feed.items[0]; 22 | // console.log(topFeed.title) 23 | 24 | // Mini Window 25 | here.miniWindow.data = { 26 | title: topFeed.title, 27 | detail: "掘金热门", 28 | onClick: () => { 29 | if (topFeed.link != undefined) { 30 | here.openURL(topFeed.link); 31 | } 32 | }, 33 | }; 34 | here.miniWindow.reload(); 35 | 36 | here.popover.data = _.map(feed.items, (item, index) => { 37 | return { 38 | title: item.title, 39 | onClick: () => { 40 | if (item.link != undefined) { 41 | here.openURL(item.link); 42 | } 43 | }, 44 | }; 45 | }); 46 | here.popover.reload(); 47 | }) 48 | .catch((error) => { 49 | console.error("Error: " + JSON.stringify(error)); 50 | }); 51 | } 52 | 53 | here.on("load", () => { 54 | updateData(); 55 | // Update every 2 hours 56 | setInterval(updateData, 2 * 3600 * 1000); 57 | }); 58 | 59 | net.onChange((type) => { 60 | console.verbose("Connection type changed:", type); 61 | if (net.isReachable()) { 62 | updateData(); 63 | } 64 | }); 65 | -------------------------------------------------------------------------------- /source/Memory/README.md: -------------------------------------------------------------------------------- 1 | # Memory Usage 2 | 3 | > Show system memory usage 4 | 5 | ## Development 6 | 7 | * Here [`os API`](https://doc.here.app/#/jsAPI/oS) 8 | 9 | ## License 10 | 11 | This is an open source plugin published under the MIT License -------------------------------------------------------------------------------- /source/Memory/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Memory Usage", 3 | "version": "1.0.4", 4 | "configURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/source/Memory/config.json", 5 | "downloadURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/downloads/Memory.hereplugin", 6 | "description": "Show system memory usage", 7 | "icon": "icon.png", 8 | "identifier": "app.here.memory", 9 | "createdBy": "Here", 10 | "website": "https://here.app", 11 | "script": "index.js", 12 | "defaultCategory": "fav", 13 | "displayOn": ["menuBar", "mini", "dock"] 14 | } 15 | -------------------------------------------------------------------------------- /source/Memory/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Memory/icon.png -------------------------------------------------------------------------------- /source/Memory/menuBarIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Memory/menuBarIcon.png -------------------------------------------------------------------------------- /source/NPR-News/README.md: -------------------------------------------------------------------------------- 1 | # NPR News 2 | 3 | > Show NPR News hot news 4 | 5 | ## Development 6 | 7 | * Site: [http://www.npr.org/](http://www.npr.org/) 8 | * API: [https://www.npr.org/rss/rss.php](https://www.npr.org/rss/rss.php) 9 | * APISpeedy: [https://npr.apispeedy.com/](https://npr.apispeedy.com/) 10 | ## License 11 | 12 | This is an open source plugin published under the MIT License -------------------------------------------------------------------------------- /source/NPR-News/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "NPR News", 3 | "version": "1.0.4", 4 | "configURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/source/NPR-News/config.json", 5 | "downloadURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/downloads/NPR-News.hereplugin", 6 | "description": "Show hot news", 7 | "icon": "icon.png", 8 | "identifier": "app.here.nprnews", 9 | "createdBy": "Here", 10 | "website": "https://here.app", 11 | "appcast": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/source/NR-News/appcast.xml", 12 | "script": "index.js", 13 | "defaultCategory": "news", 14 | "displayOn": ["mini"] 15 | } 16 | -------------------------------------------------------------------------------- /source/NPR-News/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/NPR-News/icon.png -------------------------------------------------------------------------------- /source/NYTimes-News/README.md: -------------------------------------------------------------------------------- 1 | # New York Times 2 | 3 | > Show New York Times hot news 4 | 5 | ## Development 6 | 7 | * Site: [http://nytimes.com/](http://nytimes.com/) 8 | * API: [https://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml](https://rss.nytimes.com/) 9 | * APISpeedy: [https://nytimes.apispeedy.com/](https://nytimes.apispeedy.com/) 10 | 11 | ## License 12 | 13 | This is an open source plugin published under the MIT License -------------------------------------------------------------------------------- /source/NYTimes-News/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "New York Times", 3 | "version": "1.0.4", 4 | "configURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/source/NYTimes-News/config.json", 5 | "downloadURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/downloads/NYTimes-News.hereplugin", 6 | "description": "Show hot news", 7 | "icon": "icon.png", 8 | "identifier": "app.here.nytimesnews", 9 | "createdBy": "Here", 10 | "website": "https://here.app", 11 | "script": "index.js", 12 | "defaultCategory": "news", 13 | "displayOn": ["mini"] 14 | } 15 | -------------------------------------------------------------------------------- /source/NYTimes-News/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/NYTimes-News/icon.png -------------------------------------------------------------------------------- /source/NYTimes-News/index.js: -------------------------------------------------------------------------------- 1 | const _ = require("underscore"); 2 | const net = require("net"); 3 | 4 | function updateData() { 5 | const LIMIT = 10; 6 | 7 | here.miniWindow.data = { title: "Updating…" }; 8 | here.miniWindow.reload(); 9 | 10 | // API: https://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml 11 | // API Speedy: https://nytimes.apispeedy.com/ 12 | 13 | here.parseRSSFeed("https://nytimes.apispeedy.com/") 14 | .then((feed) => { 15 | if (feed.items.length <= 0) { 16 | return here.miniWindow.set({ title: "No item found." }); 17 | } 18 | 19 | if (feed.items.length > LIMIT) { 20 | feed.items = feed.items.slice(0, LIMIT); 21 | } 22 | 23 | const topFeed = feed.items[0]; 24 | // Mini Window 25 | here.miniWindow.data = { 26 | title: topFeed.title, 27 | detail: "The New York Times", 28 | onClick: () => { 29 | if (topFeed.link != undefined) { 30 | here.openURL(topFeed.link); 31 | } 32 | }, 33 | }; 34 | here.miniWindow.reload(); 35 | 36 | here.popover.data = _.map(feed.items, (item, index) => { 37 | return { 38 | title: `${index + 1}. ${item.title}`, 39 | onClick: () => { 40 | if (item.link != undefined) { 41 | here.openURL(item.link); 42 | } 43 | }, 44 | }; 45 | }); 46 | here.popover.reload(); 47 | }) 48 | .catch((error) => { 49 | console.error(`Error: ${JSON.stringify(error)}`); 50 | }); 51 | } 52 | 53 | here.on("load", () => { 54 | updateData(); 55 | // Update every 2 hours 56 | setInterval(updateData, 2 * 3600 * 1000); 57 | }); 58 | 59 | net.onChange((type) => { 60 | console.verbose("Connection type changed:", type); 61 | if (net.isReachable()) { 62 | updateData(); 63 | } 64 | }); 65 | -------------------------------------------------------------------------------- /source/Netstat/README.md: -------------------------------------------------------------------------------- 1 | # Net Stat 2 | 3 | > Download/Upload network speed monitor 4 | 5 | ## Development 6 | 7 | * Here [`os API`](https://doc.here.app/#/jsAPI/oS?id=osnetstatinterval-callback) 8 | 9 | ## License 10 | 11 | This is an open source plugin published under the MIT License -------------------------------------------------------------------------------- /source/Netstat/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Net Stat", 3 | "version": "1.0.2", 4 | "configURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/source/Netstat/config.json", 5 | "downloadURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/downloads/Netstat.hereplugin", 6 | "description": "Download/Upload network speed monitor", 7 | "icon": "icon.png", 8 | "identifier": "app.here.netstat", 9 | "createdBy": "Here", 10 | "website": "https://here.app", 11 | "script": "index.js", 12 | "defaultCategory": "fav", 13 | "displayOn": ["mini", "menuBar", "dock"] 14 | } 15 | -------------------------------------------------------------------------------- /source/Netstat/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Netstat/icon.png -------------------------------------------------------------------------------- /source/Netstat/index.js: -------------------------------------------------------------------------------- 1 | const os = require("os"); 2 | const _ = require("underscore"); 3 | const i18n = require('i18n'); 4 | 5 | function formatBytes(bytes) { 6 | if (bytes === 0) return "0.0K"; 7 | 8 | const k = 1000; 9 | 10 | const sizes = ["B", "K", "M", "G", "T", "P", "E", "Z", "Y"]; 11 | 12 | const i = Math.floor(Math.log(bytes) / Math.log(k)); 13 | const n = bytes / Math.pow(k, i); 14 | const dm = n > 10 ? 0 : 1; 15 | return (Math.floor(n * Math.pow(10, dm)) / Math.pow(10, dm)).toFixed(dm) + sizes[i]; 16 | } 17 | 18 | function updateMenuBar(deltain, deltaout) { 19 | const inStr = formatBytes(deltain) + "/s"; 20 | const outStr = formatBytes(deltaout) + "/s"; 21 | 22 | here.menuBar.data = { 23 | title: { 24 | text: outStr.padStart(6, " "), 25 | useMonospaceFont: true, 26 | }, 27 | detail: { 28 | text: inStr.padStart(6, " "), 29 | useMonospaceFont: true, 30 | }, 31 | }; 32 | here.menuBar.reload(); 33 | } 34 | 35 | function netUsage() { 36 | // console.log("netUsage") 37 | os.netStat() 38 | .then((json) => { 39 | console.verbose(json); 40 | 41 | const totalin = json["totalin_string"]; 42 | 43 | // Menu Bar 44 | const deltain = Number(json["deltain"]); 45 | const deltaout = Number(json["deltaout"]); 46 | updateMenuBar(deltain, deltaout); 47 | 48 | // Mini Window 49 | here.miniWindow.data = { 50 | title: __("Network Speed"), 51 | detail: __("Total Download: ") + totalin, 52 | accessory: { 53 | title: "⇣" + formatBytes(deltain), 54 | detail: "⇡" + formatBytes(deltaout), 55 | }, 56 | }; 57 | here.miniWindow.reload(); 58 | 59 | // Dock 60 | here.dock.data = { 61 | title: "⇣" + formatBytes(deltain), 62 | detail: "⇡" + formatBytes(deltaout), 63 | }; 64 | here.dock.reload(); 65 | }) 66 | .catch((error) => { 67 | console.error(`err: ${JSON.stringify(error)}`); 68 | updateMenuBar(0, 0); 69 | here.miniWindow.set({ title: JSON.stringify(error) }); 70 | }); 71 | } 72 | 73 | here.on("load", () => { 74 | netUsage(); 75 | setInterval(netUsage, 3000); 76 | }); 77 | -------------------------------------------------------------------------------- /source/Netstat/locales/en.json: -------------------------------------------------------------------------------- 1 | { 2 | "Network Speed": "Network Speed", 3 | "Total Download: ": "Total Download: ", 4 | } -------------------------------------------------------------------------------- /source/Netstat/locales/zh-Hans.json: -------------------------------------------------------------------------------- 1 | { 2 | "Network Speed": "实时网速", 3 | "Total Download: ": "总下载量:", 4 | } -------------------------------------------------------------------------------- /source/Netstat/menuBarIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Netstat/menuBarIcon.png -------------------------------------------------------------------------------- /source/New-File/README.md: -------------------------------------------------------------------------------- 1 | # New File 2 | 3 | > Create a new, blank text file 4 | 5 | ## Development 6 | 7 | * Here [`API`](https://doc.here.app/#/jsAPI/here?id=hereexecobj-callback) 8 | 9 | ## License 10 | 11 | This is an open source plugin published under the MIT License -------------------------------------------------------------------------------- /source/New-File/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "New File", 3 | "version": "1.0.3", 4 | "configURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/source/New-File/config.json", 5 | "downloadURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/downloads/New-File.hereplugin", 6 | "description": "Create a new, blank text file", 7 | "icon": "icon.png", 8 | "identifier": "app.here.newfile", 9 | "createdBy": "Here", 10 | "website": "https://here.app", 11 | "script": "index.js", 12 | "defaultCategory": "quick", 13 | "displayOn": ["mini"] 14 | } 15 | -------------------------------------------------------------------------------- /source/New-File/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/New-File/icon.png -------------------------------------------------------------------------------- /source/New-File/index.js: -------------------------------------------------------------------------------- 1 | const i18n = require('i18n') 2 | 3 | here.on("load", () => { 4 | const fileName = "NewFile.txt"; 5 | const filePath = `~/Desktop/${fileName}`; 6 | 7 | // Mini Window 8 | here.miniWindow.data = { 9 | title: __("Create an empty file"), 10 | detail: filePath, 11 | }; 12 | here.miniWindow.onClick(function () { 13 | here.exec(`touch ${filePath}`).then(() => { 14 | here.exec(`open ${filePath}`); 15 | }); 16 | }); 17 | here.miniWindow.reload(); 18 | }); 19 | -------------------------------------------------------------------------------- /source/New-File/locales/en.json: -------------------------------------------------------------------------------- 1 | { 2 | "Create an empty file": "Create an empty file", 3 | } -------------------------------------------------------------------------------- /source/New-File/locales/zh-Hans.json: -------------------------------------------------------------------------------- 1 | { 2 | "Create an empty file": "新建空文件", 3 | } -------------------------------------------------------------------------------- /source/NongLi/README.md: -------------------------------------------------------------------------------- 1 | # 农历(万年历) 2 | 3 | > 显示农历(万年历) 4 | 5 | ## Development 6 | 7 | * [Date API](https://api.timelessq.com/time?datetime=2021-01-01) 8 | 9 | ## License 10 | 11 | This is an open source plugin published under the MIT License -------------------------------------------------------------------------------- /source/NongLi/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "农历(万年历)", 3 | "version": "1.0.1", 4 | "configURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/source/NongLi/config.json", 5 | "downloadURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/downloads/NongLi.hereplugin", 6 | "description": "农历(万年历)", 7 | "icon": "icon.png", 8 | "identifier": "app.here.nongli", 9 | "createdBy": "Here", 10 | "website": "https://here.app", 11 | "script": "index.js", 12 | "defaultCategory": "quick", 13 | "displayOn": ["mini", "menuBar", "dock"] 14 | } -------------------------------------------------------------------------------- /source/NongLi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/NongLi/icon.png -------------------------------------------------------------------------------- /source/NongLi/menuBarIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/NongLi/menuBarIcon.png -------------------------------------------------------------------------------- /source/Nyan-Cat/README.md: -------------------------------------------------------------------------------- 1 | # Nyan Cat 2 | 3 | > I'm on your menubar now.🌈🐱 4 | 5 | ## License 6 | 7 | This is an open source plugin published under the MIT License -------------------------------------------------------------------------------- /source/Nyan-Cat/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Nyan Cat", 3 | "version": "1.0.1", 4 | "configURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/source/Nyan-Cat/config.json", 5 | "downloadURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/downloads/Nyan-Cat.hereplugin", 6 | "description": "I'm on your menubar now.🌈🐱", 7 | "identifier": "app.here.nyancat", 8 | "createdBy": "Here", 9 | "website": "https://here.app", 10 | "script": "index.js", 11 | "defaultCategory": "quick", 12 | "displayOn": ["mini", "menuBar"] 13 | } 14 | -------------------------------------------------------------------------------- /source/Nyan-Cat/gif/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Nyan-Cat/gif/1.png -------------------------------------------------------------------------------- /source/Nyan-Cat/gif/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Nyan-Cat/gif/2.png -------------------------------------------------------------------------------- /source/Nyan-Cat/gif/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Nyan-Cat/gif/3.png -------------------------------------------------------------------------------- /source/Nyan-Cat/gif/4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Nyan-Cat/gif/4.png -------------------------------------------------------------------------------- /source/Nyan-Cat/gif/5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Nyan-Cat/gif/5.png -------------------------------------------------------------------------------- /source/Nyan-Cat/gif/6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Nyan-Cat/gif/6.png -------------------------------------------------------------------------------- /source/Nyan-Cat/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Nyan-Cat/icon.png -------------------------------------------------------------------------------- /source/Nyan-Cat/index.js: -------------------------------------------------------------------------------- 1 | here.on("load", () => { 2 | // Mini Window 3 | here.miniWindow.data = { 4 | title: "Nyan Cat", 5 | detail: "I'm on your menubar now.🌈🐱", 6 | }; 7 | here.miniWindow.reload(); 8 | 9 | // Popover 10 | // here.popover = new here.WebViewPopover(); 11 | // here.popover.data = { 12 | // url: "http://www.nyan.cat/index.php?cat=original", 13 | // width: 772, 14 | // height: 400, 15 | // backgroundColor: "#ffffff", 16 | // foregroundColor: rgba(0, 0, 0, 0.5), 17 | // hideStatusBar: false, 18 | // }; 19 | // here.popover.reload(); 20 | 21 | // Menu Bar 22 | here.menuBar = new MenuBar(); 23 | var n = 1; 24 | var interval = setInterval(function () { 25 | n++; 26 | if (n == 7) n = 1; 27 | here.menuBar.setIcon("./gif/" + n + ".png"); 28 | // console.log(n); 29 | here.menuBar.reload(); 30 | }, 70); 31 | }); 32 | -------------------------------------------------------------------------------- /source/Nyan-Cat/menuBarIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Nyan-Cat/menuBarIcon.png -------------------------------------------------------------------------------- /source/People-News/README.md: -------------------------------------------------------------------------------- 1 | # 人民网新闻 2 | 3 | > 显示人民网国内、国际、经济、体育等新闻 4 | 5 | ## Development 6 | 7 | * Site: [http://people.cn/](http://people.cn/) 8 | * API: [http://rss.people.com.cn/](http://rss.people.com.cn/) 9 | * `国内新闻`, `国际新闻`, `经济新闻`, `体育新闻` 10 | 11 | ## License 12 | 13 | This is an open source plugin published under the MIT License -------------------------------------------------------------------------------- /source/People-News/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "人民网新闻", 3 | "version": "1.0.1", 4 | "configURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/source/People-News/config.json", 5 | "downloadURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/downloads/People-News.hereplugin", 6 | "description": "显示人民网国内、国际、经济、体育等新闻", 7 | "icon": "icon.png", 8 | "identifier": "app.here.peoplenews", 9 | "createdBy": "Here", 10 | "website": "https://here.app", 11 | "script": "index.js", 12 | "defaultCategory": "news", 13 | "displayOn": ["mini", "menuBar"] 14 | } 15 | -------------------------------------------------------------------------------- /source/People-News/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/People-News/icon.png -------------------------------------------------------------------------------- /source/People-News/menuBarIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/People-News/menuBarIcon.png -------------------------------------------------------------------------------- /source/Product-Hunt/README.md: -------------------------------------------------------------------------------- 1 | # Product Hunt 2 | 3 | > Show Product Hunt hot posts 4 | 5 | ## Development 6 | 7 | * Site: [https://producthunt.com/](https://producthunt.com/) 8 | * API: [https://api.producthunt.com/v1/posts?access_token=ebae349f8b26bb6a695e0aeda41075952142bb869db7c8a89fa7c48630d46988](https://api.producthunt.com/v1) 9 | 10 | ## License 11 | 12 | This is an open source plugin published under the MIT License -------------------------------------------------------------------------------- /source/Product-Hunt/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Product Hunt", 3 | "version": "1.0.2", 4 | "configURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/source/Product-Hunt/config.json", 5 | "downloadURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/downloads/Product-Hunt.hereplugin", 6 | "description": "Show hot posts", 7 | "icon": "icon.png", 8 | "identifier": "app.here.producthunt", 9 | "createdBy": "Here", 10 | "website": "https://here.app", 11 | "script": "index.js", 12 | "defaultCategory": "news", 13 | "displayOn": ["mini"] 14 | } 15 | -------------------------------------------------------------------------------- /source/Product-Hunt/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Product-Hunt/icon.png -------------------------------------------------------------------------------- /source/Progress/README.md: -------------------------------------------------------------------------------- 1 | # Progress of the Year 2 | 3 | > Progress of the Year 4 | 5 | ## Development 6 | 7 | This is a sample plugin 8 | 9 | ## License 10 | 11 | This is an open source plugin published under the MIT License -------------------------------------------------------------------------------- /source/Progress/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Progress of the Year", 3 | "version": "1.0.5", 4 | "configURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/source/Progress/config.json", 5 | "downloadURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/downloads/Progress.hereplugin", 6 | "description": "Progress of the Year", 7 | "identifier": "app.here.progress", 8 | "createdBy": "Here", 9 | "website": "https://here.app", 10 | "script": "index.js", 11 | "defaultCategory": "quick", 12 | "displayOn": ["mini", "menuBar", "dock"], 13 | "preferences": [ 14 | { 15 | "title": "Display Type", 16 | "type": "popup", 17 | "key": "displayType", 18 | "default": 2, 19 | "options": ["Week", "Month", "Year"] 20 | } 21 | ] 22 | } 23 | -------------------------------------------------------------------------------- /source/Progress/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Progress/icon.png -------------------------------------------------------------------------------- /source/Progress/locales/en.json: -------------------------------------------------------------------------------- 1 | { 2 | "Progress of the Year": "Progress of the Year", 3 | "Year": "Year", 4 | "Month": "Month", 5 | "Day": "Day", 6 | } -------------------------------------------------------------------------------- /source/Progress/locales/zh-Hans.json: -------------------------------------------------------------------------------- 1 | { 2 | "Progress of the Year": "年月日进度", 3 | "Year": "年", 4 | "Month": "月", 5 | "Day": "日", 6 | } -------------------------------------------------------------------------------- /source/RSSHub-Reader/README.md: -------------------------------------------------------------------------------- 1 | # RSSHub Reader 2 | 3 | > Show rss feeds from RSSHub APIs 4 | 5 | ## Development 6 | 7 | * API: [https://rsshub.app](https://rsshub.app) 8 | * Speed API: [https://rsshub.rssforever.com/ifanr](https://rsshub.rssforever.com/ifanr) 9 | 10 | ## License 11 | 12 | This is an open source plugin published under the MIT License -------------------------------------------------------------------------------- /source/RSSHub-Reader/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "RSSHub Reader", 3 | "version": "1.0.2", 4 | "configURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/source/RSSHub-Reader/config.json", 5 | "downloadURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/downloads/RSSHub-Reader.hereplugin", 6 | "description": "Show rss feeds from RSSHub APIs", 7 | "icon": "icon.png", 8 | "identifier": "app.here.rsshubreader", 9 | "createdBy": "Here", 10 | "website": "https://here.app", 11 | "script": "index.js", 12 | "defaultCategory": "news", 13 | "displayOn": ["mini", "menuBar"], 14 | "preferences": [ 15 | { 16 | "title": "API Name", 17 | "type": "input", 18 | "key": "apiName", 19 | "default": "爱范儿新闻" 20 | }, 21 | { 22 | "title": "API URL", 23 | "type": "input", 24 | "key": "apiUrl", 25 | "default": "https://rsshub.rssforever.com/ifanr/" 26 | }, 27 | { 28 | "title": "API Parameter", 29 | "type": "inupt", 30 | "key": "apiParameter", 31 | "default": "app" 32 | }, 33 | { 34 | "title": "查看文档说明", 35 | "type": "inupt", 36 | "key": "apiLink", 37 | "default": "docs.rsshub.app" 38 | } 39 | ] 40 | } 41 | -------------------------------------------------------------------------------- /source/RSSHub-Reader/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/RSSHub-Reader/icon.png -------------------------------------------------------------------------------- /source/RSSHub-Reader/menuBarIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/RSSHub-Reader/menuBarIcon.png -------------------------------------------------------------------------------- /source/Screensaver/README.md: -------------------------------------------------------------------------------- 1 | # ScreenSaver 2 | 3 | > Turn on ScreenSaver 4 | 5 | ## Development 6 | 7 | * Here [`hotKey API`](https://doc.here.app/#/jsAPI/hotKey) 8 | 9 | ## License 10 | 11 | This is an open source plugin published under the MIT License -------------------------------------------------------------------------------- /source/Screensaver/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ScreenSaver", 3 | "version": "1.0.4", 4 | "configURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/source/Screensaver/config.json", 5 | "downloadURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/downloads/Screensaver.hereplugin", 6 | "description": "Turn on ScreenSaver", 7 | "icon": "icon.png", 8 | "identifier": "app.here.screensaver", 9 | "createdBy": "Here", 10 | "website": "https://here.app", 11 | "script": "index.js", 12 | "defaultCategory": "quick", 13 | "displayOn": ["mini", "menubar"] 14 | } 15 | -------------------------------------------------------------------------------- /source/Screensaver/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Screensaver/icon.png -------------------------------------------------------------------------------- /source/Screensaver/index.js: -------------------------------------------------------------------------------- 1 | const i18n = require('i18n') 2 | const hotkey = require("hotkey"); 3 | 4 | here.on("load", () => { 5 | // Mini Window 6 | here.miniWindow.data = { 7 | title: __("Screen Saver"), 8 | detail: __("Click to turn on"), 9 | }; 10 | 11 | here.miniWindow.data.accessory = new here.SwitchAccessory({ 12 | isOn: false, 13 | onValueChange: (isOn) => { 14 | here.exec(`open -a ScreenSaverEngine`); 15 | }, 16 | }); 17 | 18 | here.miniWindow.reload(); 19 | 20 | // Menu Bar 21 | here.menuBar = new MenuBar(); 22 | here.menuBar.onClick(() => { 23 | here.exec(`open -a ScreenSaverEngine`); 24 | }); 25 | 26 | here.menuBar.reload(); 27 | 28 | // Bind hotkey 29 | const aHotKey = ["cmd", "shift", "esc"]; 30 | let aID = hotkey.bind(aHotKey, () => { 31 | // console.log("hot key fired!") 32 | here.exec(`open -a ScreenSaverEngine`); 33 | }); 34 | 35 | if (aID == undefined) { 36 | console.error("Failed to register hotkey."); 37 | } 38 | }); 39 | -------------------------------------------------------------------------------- /source/Screensaver/locales/en.json: -------------------------------------------------------------------------------- 1 | { 2 | "Screen Saver": "Screen Saver", 3 | "Click to turn on": "Click to turn on", 4 | } -------------------------------------------------------------------------------- /source/Screensaver/locales/zh-Hans.json: -------------------------------------------------------------------------------- 1 | { 2 | "Screen Saver": "屏幕保护程序", 3 | "Click to turn on": "点击打开" 4 | } -------------------------------------------------------------------------------- /source/Screensaver/menuBarIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Screensaver/menuBarIcon.png -------------------------------------------------------------------------------- /source/Sleep-Display/README.md: -------------------------------------------------------------------------------- 1 | # ScreenSaver 2 | 3 | > Turn on ScreenSaver 4 | 5 | ## Development 6 | 7 | * Here [`hotKey API`](https://doc.here.app/#/jsAPI/hotKey) 8 | 9 | ## License 10 | 11 | This is an open source plugin published under the MIT License -------------------------------------------------------------------------------- /source/Sleep-Display/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Sleep Display", 3 | "version": "1.0.0", 4 | "configURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/source/Sleep-Display/config.json", 5 | "downloadURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/downloads/Sleep-Display.hereplugin", 6 | "description": "Put display to sleep or wake it up.", 7 | "icon": "icon.png", 8 | "identifier": "app.here.sleepdisplay", 9 | "createdBy": "Here", 10 | "website": "https://here.app", 11 | "script": "index.js", 12 | "defaultCategory": "quick", 13 | "displayOn": ["mini", "menubar"] 14 | } 15 | -------------------------------------------------------------------------------- /source/Sleep-Display/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Sleep-Display/icon.png -------------------------------------------------------------------------------- /source/Sleep-Display/index.js: -------------------------------------------------------------------------------- 1 | const i18n = require('i18n') 2 | const hotkey = require("hotkey") 3 | const pm = require('pm') 4 | 5 | here.on("load", () => { 6 | // Mini Window 7 | here.miniWindow.data = { 8 | title: __("Sleep Display"), 9 | detail: __("Click to put display to sleep"), 10 | onClick: () => { 11 | pm.putDisplayToSleep(true) 12 | } 13 | }; 14 | 15 | here.miniWindow.reload(); 16 | 17 | // Menu Bar 18 | here.menuBar = new MenuBar(); 19 | here.menuBar.onClick(() => { 20 | pm.putDisplayToSleep(true) 21 | }); 22 | 23 | here.menuBar.reload(); 24 | }); 25 | -------------------------------------------------------------------------------- /source/Sleep-Display/locales/en.json: -------------------------------------------------------------------------------- 1 | { 2 | "Screen Saver": "Sleep Display", 3 | "Click to put display to sleep": "Click to put display to sleep" 4 | } -------------------------------------------------------------------------------- /source/Sleep-Display/locales/zh-Hans.json: -------------------------------------------------------------------------------- 1 | { 2 | "Screen Saver": "屏幕休眠", 3 | "Click to put display to sleep": "点击这里让屏幕休眠" 4 | } -------------------------------------------------------------------------------- /source/Sleep-Display/menuBarIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Sleep-Display/menuBarIcon.png -------------------------------------------------------------------------------- /source/Stocks/README.md: -------------------------------------------------------------------------------- 1 | # Stocks 2 | 3 | > Show stocks everywhere. 4 | 5 | ## Usage 6 | 7 | Stock code sample: 8 | 9 | * American Stock Market: 10 | * `gb_aapl` Apple 11 | * `gb_googl` Google 12 | * HongKong Stock Market: 13 | * `hk00700` Tencent 14 | * `hk09988` Alibaba 15 | * A股沪深: 16 | * `sh600519` 贵州茅台 17 | * `sh601398` 工商银行 18 | * A股创业板: 19 | * `sz300750` 宁德时代 20 | * `sz300418` 昆仑万维 21 | 22 | ## Development 23 | 24 | * Site: [https://finance.sina.com.cn/](https://finance.sina.com.cn/) 25 | * API: [https://hq.sinajs.cn/list=gb_aapl](https://hq.sinajs.cn/list=gb_aapl) 26 | 27 | ## License 28 | 29 | This is an open source plugin published under the MIT License -------------------------------------------------------------------------------- /source/Stocks/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Stocks", 3 | "version": "1.3.4", 4 | "configURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/source/Stocks/config.json", 5 | "downloadURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/downloads/Stocks.hereplugin", 6 | "description": "Show stocks everywhere.", 7 | "icon": "icon.png", 8 | "identifier": "app.here.stocks", 9 | "createdBy": "Here", 10 | "website": "https://here.app", 11 | "script": "index.js", 12 | "defaultCategory": "fav", 13 | "displayOn": ["mini", "menuBar", "dock"], 14 | "preferences": [ 15 | { 16 | "title": "Stock Name", 17 | "type": "text", 18 | "key": "stockName", 19 | "default": "Apple Inc." 20 | }, 21 | { 22 | "title": "Stock Code", 23 | "type": "text", 24 | "key": "stockCode", 25 | "default": "gb_AAPL" 26 | } 27 | ] 28 | } 29 | -------------------------------------------------------------------------------- /source/Stocks/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Stocks/icon.png -------------------------------------------------------------------------------- /source/Stocks/menuBarIcon-down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Stocks/menuBarIcon-down.png -------------------------------------------------------------------------------- /source/Stocks/menuBarIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Stocks/menuBarIcon.png -------------------------------------------------------------------------------- /source/Subscriptions/README.md: -------------------------------------------------------------------------------- 1 | # Subscriptions 2 | 3 | > Show and calculation on all your subscription services 4 | 5 | ## Usage 6 | 7 | Please rename `example.json` to `save.json` 8 | 9 | ## Development 10 | 11 | * Here [`process API`](https://doc.here.app/#/jsAPI/process) 12 | 13 | ## License 14 | 15 | This is an open source plugin published under the MIT License -------------------------------------------------------------------------------- /source/Subscriptions/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Subscriptions", 3 | "version": "1.0.3", 4 | "configURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/source/Subscriptions/config.json", 5 | "downloadURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/downloads/Subscriptions.hereplugin", 6 | "description": "Show and calculation on all your subscription services", 7 | "icon": "icon.png", 8 | "identifier": "app.here.subscriptions", 9 | "createdBy": "Here", 10 | "website": "https://here.app", 11 | "script": "index.js", 12 | "defaultCategory": "quick", 13 | "displayOn": ["mini"] 14 | } 15 | -------------------------------------------------------------------------------- /source/Subscriptions/example.json: -------------------------------------------------------------------------------- 1 | { 2 | "data": [ 3 | { 4 | "title": "iCloud", 5 | "cycle": "monthly", 6 | "price": 21, 7 | "currency": "CNY" 8 | }, 9 | { 10 | "title": "Evernote", 11 | "cycle": "annual", 12 | "price": 28.99, 13 | "currency": "USD" 14 | } 15 | ] 16 | } -------------------------------------------------------------------------------- /source/Subscriptions/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Subscriptions/icon.png -------------------------------------------------------------------------------- /source/Switch/README.md: -------------------------------------------------------------------------------- 1 | # Show Hidden Files 2 | 3 | > Show/Hide hidden system files 4 | 5 | ## Development 6 | 7 | * Here [`API`](https://doc.here.app/#/jsAPI/here?id=hereexecobj-callback) 8 | 9 | ## License 10 | 11 | This is an open source plugin published under the MIT License -------------------------------------------------------------------------------- /source/Switch/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Simple Switch", 3 | "version": "1.0.6", 4 | "configURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/source/Switch/config.json", 5 | "downloadURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/downloads/Switch.hereplugin", 6 | "description": "All in one simple switch", 7 | "identifier": "app.here.switch", 8 | "createdBy": "Here", 9 | "website": "https://here.app", 10 | "script": "index.js", 11 | "defaultCategory": "quick", 12 | "displayOn": ["mini", "menuBar"] 13 | } 14 | -------------------------------------------------------------------------------- /source/Switch/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Switch/icon.png -------------------------------------------------------------------------------- /source/Switch/index.js: -------------------------------------------------------------------------------- 1 | require(`./switches.js`); 2 | const i18n = require('i18n') 3 | 4 | here.on("load", () => { 5 | here.miniWindow.set({ 6 | title: "Simple Switch", 7 | detail: __("All in one Switches."), 8 | }); 9 | 10 | Promise.all([hideDesktopIconSwitch(), allFileHiddenSwitch(), doNotDisturbSwitch()]) 11 | .then((list) => { 12 | // Reload popover 13 | here.popover.set(list); 14 | 15 | // Reload Menu Bar 16 | here.menuBar.set({}); 17 | }) 18 | .catch((error) => { 19 | console.error(error); 20 | }); 21 | }); 22 | -------------------------------------------------------------------------------- /source/Switch/locales/en.json: -------------------------------------------------------------------------------- 1 | { 2 | "Show hidden files": "🙈Show hidden files", 3 | "Hide desktop icons": "🖥️Hide desktop icons", 4 | "Do Not Disturb": "🔕Do Not Disturb" 5 | } -------------------------------------------------------------------------------- /source/Switch/locales/zh-Hans.json: -------------------------------------------------------------------------------- 1 | { 2 | "Show hidden files": "🙈显示隐藏文件", 3 | "Hide desktop icons": "🖥️隐藏桌面图标", 4 | "Do Not Disturb": "🔕打开勿扰模式", 5 | "All in one Switches.": "开关功能合集", 6 | } -------------------------------------------------------------------------------- /source/Switch/menuBarIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Switch/menuBarIcon.png -------------------------------------------------------------------------------- /source/Techmeme-News/README.md: -------------------------------------------------------------------------------- 1 | # Techmeme News 2 | 3 | > Show Techmeme News hot news 4 | 5 | ## Development 6 | 7 | * Site: [https://www.techmeme.com/](https://www.techmeme.com/) 8 | * API: [https://www.techmeme.com/feed.xml](https://www.techmeme.com/feed.xml) 9 | * APISpeedy: [https://techmeme.apispeedy.com/](https://techmeme.apispeedy.com/) 10 | 11 | ## License 12 | 13 | This is an open source plugin published under the MIT License -------------------------------------------------------------------------------- /source/Techmeme-News/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Techmeme News", 3 | "version": "1.0.2", 4 | "configURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/source/Techmeme-News/config.json", 5 | "downloadURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/downloads/Techmeme-News.hereplugin", 6 | "description": "Show hot news", 7 | "icon": "icon.png", 8 | "identifier": "app.here.techmemenews", 9 | "createdBy": "Here", 10 | "website": "https://here.app", 11 | "script": "index.js", 12 | "defaultCategory": "news", 13 | "displayOn": ["mini"] 14 | } 15 | -------------------------------------------------------------------------------- /source/Techmeme-News/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Techmeme-News/icon.png -------------------------------------------------------------------------------- /source/Techmeme-News/index.js: -------------------------------------------------------------------------------- 1 | const _ = require("underscore"); 2 | const net = require("net"); 3 | 4 | function updateData() { 5 | const LIMIT = 10; 6 | 7 | here.miniWindow.data = { title: "Updating…" }; 8 | here.miniWindow.reload(); 9 | 10 | here.parseRSSFeed("https://techmeme.apispeedy.com/") 11 | .then((feed) => { 12 | if (feed.items.length <= 0) { 13 | return here.miniWindow.set({ title: "No item found." }); 14 | } 15 | 16 | if (feed.items.length > LIMIT) { 17 | feed.items = feed.items.slice(0, LIMIT); 18 | } 19 | 20 | const topFeed = feed.items[0]; 21 | // Mini Window 22 | here.miniWindow.data = { 23 | title: topFeed.title, 24 | detail: "Tech meme", 25 | onClick: () => { 26 | if (topFeed.link != undefined) { 27 | here.openURL(topFeed.link); 28 | } 29 | }, 30 | }; 31 | here.miniWindow.reload(); 32 | 33 | here.popover.data = _.map(feed.items, (item, index) => { 34 | return { 35 | title: item.title, 36 | onClick: () => { 37 | if (item.link != undefined) { 38 | here.openURL(item.link); 39 | } 40 | }, 41 | }; 42 | }); 43 | here.popover.reload(); 44 | }) 45 | .catch((error) => { 46 | console.error(`Error: ${JSON.stringify(error)}`); 47 | }); 48 | } 49 | 50 | here.on("load", () => { 51 | updateData(); 52 | // Update every 2 hours 53 | setInterval(updateData, 2 * 3600 * 1000); 54 | }); 55 | 56 | net.onChange((type) => { 57 | console.verbose("Connection type changed:", type); 58 | if (net.isReachable()) { 59 | updateData(); 60 | } 61 | }); 62 | -------------------------------------------------------------------------------- /source/TheTop/README.md: -------------------------------------------------------------------------------- 1 | # TheTop热门聚合 2 | 3 | > 显示TheTop热门聚合 4 | 5 | ## Development 6 | 7 | * Thanks to [the.top](https://the.top/) for API support 8 | * API: [https://the.top/cate](https://the.top/cate) 9 | 10 | ## License 11 | 12 | This is an open source plugin published under the MIT License -------------------------------------------------------------------------------- /source/TheTop/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "TheTop热门聚合", 3 | "version": "1.0.1", 4 | "configURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/source/TheTop/config.json", 5 | "downloadURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/downloads/TheTop.hereplugin", 6 | "description": "显示TheTop热门聚合", 7 | "icon": "icon.png", 8 | "identifier": "app.here.thetop", 9 | "createdBy": "Here", 10 | "website": "https://here.app", 11 | "script": "index.js", 12 | "defaultCategory": "news", 13 | "displayOn": ["mini", "menuBar"] 14 | } 15 | -------------------------------------------------------------------------------- /source/TheTop/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/TheTop/icon.png -------------------------------------------------------------------------------- /source/TheTop/menuBarIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/TheTop/menuBarIcon.png -------------------------------------------------------------------------------- /source/ToDoMVC/README.md: -------------------------------------------------------------------------------- 1 | # ToDoMVC 2 | 3 | > A ToDo webapp. 4 | 5 | ## Development 6 | 7 | * Here [`WebView API`](https://doc.here.app/#/jsAPI/popover?id=popover) 8 | 9 | ## License 10 | 11 | This is an open source plugin published under the MIT License -------------------------------------------------------------------------------- /source/ToDoMVC/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ToDoMVC", 3 | "version": "1.0.3", 4 | "configURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/source/ToDoMVC/config.json", 5 | "downloadURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/downloads/ToDoMVC.hereplugin", 6 | "description": "A ToDo webapp.", 7 | "icon": "icon.png", 8 | "identifier": "app.here.todomvc", 9 | "createdBy": "Here", 10 | "website": "https://here.app", 11 | "script": "index.js", 12 | "defaultCategory": "quick", 13 | "displayOn": ["mini", "menuBar"] 14 | } 15 | -------------------------------------------------------------------------------- /source/ToDoMVC/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/ToDoMVC/icon.png -------------------------------------------------------------------------------- /source/ToDoMVC/index.js: -------------------------------------------------------------------------------- 1 | here.on("load", () => { 2 | here.miniWindow.data = { 3 | title: "ToDoMVC", 4 | detail: "Double-click to edit a todo.", 5 | }; 6 | here.miniWindow.reload(); 7 | 8 | here.popover = new here.WebViewPopover(); 9 | here.popover.data = { 10 | url: "./vue/index.html", 11 | width: 375, 12 | height: 500, 13 | backgroundColor: "#f5f5f5", 14 | foregroundColor: rgba(0, 0, 0, 0.5), 15 | hideStatusBar: true, 16 | }; 17 | here.popover.reload(); 18 | }); 19 | -------------------------------------------------------------------------------- /source/ToDoMVC/menuBarIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/ToDoMVC/menuBarIcon.png -------------------------------------------------------------------------------- /source/ToDoMVC/vue/js/routes.js: -------------------------------------------------------------------------------- 1 | /*global app, Router */ 2 | 3 | (function (app, Router) { 4 | 5 | 'use strict'; 6 | 7 | var router = new Router(); 8 | 9 | ['all', 'active', 'completed'].forEach(function (visibility) { 10 | router.on(visibility, function () { 11 | app.visibility = visibility; 12 | }); 13 | }); 14 | 15 | router.configure({ 16 | notfound: function () { 17 | window.location.hash = ''; 18 | app.visibility = 'all'; 19 | } 20 | }); 21 | 22 | router.init(); 23 | 24 | })(app, Router); 25 | -------------------------------------------------------------------------------- /source/ToDoMVC/vue/js/store.js: -------------------------------------------------------------------------------- 1 | /*jshint unused:false */ 2 | 3 | (function (exports) { 4 | 5 | 'use strict'; 6 | 7 | var STORAGE_KEY = 'todos-vuejs'; 8 | 9 | exports.todoStorage = { 10 | fetch: function () { 11 | return JSON.parse(localStorage.getItem(STORAGE_KEY) || '[]'); 12 | }, 13 | save: function (todos) { 14 | localStorage.setItem(STORAGE_KEY, JSON.stringify(todos)); 15 | } 16 | }; 17 | 18 | })(window); 19 | -------------------------------------------------------------------------------- /source/ToDoMVC/vue/readme.md: -------------------------------------------------------------------------------- 1 | # Vue.js TodoMVC Example 2 | 3 | > Vue.js is a library for building interactive web interfaces. 4 | It provides data-driven, nestable view components with a simple and flexible API. 5 | 6 | > _[Vue.js - vuejs.org](http://vuejs.org)_ 7 | 8 | ## Learning Vue.js 9 | 10 | The [Vue.js website](http://vuejs.org/) is a great resource to get started. 11 | 12 | Here are some links you may find helpful: 13 | 14 | * [Official Guide](http://vuejs.org/guide/) 15 | * [API Reference](http://vuejs.org/api/) 16 | * [Examples](http://vuejs.org/examples/) 17 | * [Building Larger Apps with Vue.js](http://v1.vuejs.org/guide/application.html) 18 | 19 | Get help from other Vue.js users: 20 | 21 | * [Vue.js on Twitter](https://twitter.com/vuejs) 22 | * [Vue.js on Gitter](https://gitter.im/vuejs/vue) 23 | * [Vue.js Forum](http://forum.vuejs.org) 24 | 25 | _If you have other helpful links to share, or find any of the links above no longer work, please [let us know](https://github.com/tastejs/todomvc/issues)._ 26 | 27 | ## Credit 28 | 29 | This TodoMVC application was created by [Evan You](http://evanyou.me). 30 | -------------------------------------------------------------------------------- /source/V2EX/README.md: -------------------------------------------------------------------------------- 1 | # V2EX 2 | 3 | > 快速查看 V2EX 内容 4 | 5 | ## Usage 6 | 7 | 节点名称`Code`请填写`URL`缩写,如:[https://www.v2ex.com/go/programmer](https://www.v2ex.com/go/programmer) ,代码为:`programmer` 8 | 9 | ## Development 10 | 11 | * Site: [https://www.v2ex.com/](https://www.v2ex.com/) 12 | * API: [https://www.v2ex.com/api/topics/hot.json](https://www.v2ex.com/api/topics/hot.json) 13 | * APISpeedy: [https://v2ex.apispeedy.com/api/topics/hot.json](https://v2ex.apispeedy.com/api/topics/hot.json) 14 | 15 | ## License 16 | 17 | This is an open source plugin published under the MIT License -------------------------------------------------------------------------------- /source/V2EX/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "V2EX", 3 | "version": "1.0.6", 4 | "configURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/source/V2EX/config.json", 5 | "downloadURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/downloads/V2EX.hereplugin", 6 | "description": "快速查看 V2EX 内容", 7 | "icon": "icon.png", 8 | "identifier": "app.here.v2ex", 9 | "createdBy": "Here", 10 | "website": "https://here.app", 11 | "script": "index.js", 12 | "defaultCategory": "news", 13 | "displayOn": ["mini", "menuBar"], 14 | "preferences": [ 15 | { 16 | "title": "节点名称Code", 17 | "type": "text", 18 | "key": "nodeName", 19 | "default": "create" 20 | }, 21 | { 22 | "title": "说明", 23 | "type": "text", 24 | "key": "readme", 25 | "default": "Code填写URL缩写,如:create, programmer, all4all" 26 | } 27 | ] 28 | } 29 | -------------------------------------------------------------------------------- /source/V2EX/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/V2EX/icon.png -------------------------------------------------------------------------------- /source/V2EX/menuBarIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/V2EX/menuBarIcon.png -------------------------------------------------------------------------------- /source/Waerfa/README.md: -------------------------------------------------------------------------------- 1 | # Mac玩儿法 2 | 3 | > 显示Mac玩儿法最新文章 4 | 5 | ## Development 6 | 7 | * Mac玩儿法 RSS Feed:https://www.waerfa.com/feed 8 | 9 | ## License 10 | 11 | This is an open source plugin published under the MIT License -------------------------------------------------------------------------------- /source/Waerfa/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Mac玩儿法", 3 | "version": "1.0.1", 4 | "configURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/source/Waerfa/config.json", 5 | "downloadURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/downloads/Waerfa.hereplugin", 6 | "description": "显示Mac玩儿法最新文章", 7 | "icon": "icon.png", 8 | "identifier": "app.here.waerfa", 9 | "createdBy": "Waerfa", 10 | "website": "https://www.waerfa.com", 11 | "script": "index.js", 12 | "defaultCategory": "news", 13 | "displayOn": ["mini", "menuBar"], 14 | "preferences": [ 15 | { 16 | "title": "显示文章数量", 17 | "type": "text", 18 | "key": "postSum", 19 | "default": "30" 20 | } 21 | ] 22 | } 23 | -------------------------------------------------------------------------------- /source/Waerfa/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Waerfa/icon.png -------------------------------------------------------------------------------- /source/Waerfa/index.js: -------------------------------------------------------------------------------- 1 | const _ = require("underscore"); 2 | const net = require("net"); 3 | const pref = require("pref"); 4 | 5 | const json = pref.all(); 6 | 7 | var postSum = 30; 8 | 9 | console.log(json["postSum"]); 10 | if (json == undefined) { 11 | console.log("No prefs found."); 12 | } 13 | if (json["postSum"] != undefined) { 14 | postSum = json["postSum"]; 15 | } 16 | 17 | function updateData() { 18 | const LIMIT = postSum; 19 | 20 | here.miniWindow.data = { title: "Updating…" }; 21 | here.miniWindow.reload(); 22 | 23 | here.parseRSSFeed("https://www.waerfa.com/feed") 24 | .then((feed) => { 25 | // console.log(JSON.stringify(feed.items[0])) 26 | if (feed.items.length <= 0) { 27 | return here.miniWindow.set({ title: "No item found." }); 28 | } 29 | 30 | if (feed.items.length > LIMIT) { 31 | feed.items = feed.items.slice(0, LIMIT); 32 | } 33 | 34 | const topFeed = feed.items[0]; 35 | // Mini Window 36 | here.miniWindow.data = { 37 | title: topFeed.title, 38 | detail: "Mac玩儿法", 39 | onClick: () => { 40 | here.openURL("https://www.waerfa.com/"); 41 | }, 42 | }; 43 | here.miniWindow.reload(); 44 | 45 | here.popover.data = _.map(feed.items, (item, index) => { 46 | return { 47 | title: item.title, 48 | onClick: () => { 49 | if (item.link != undefined) { 50 | here.openURL(item.link); 51 | } 52 | }, 53 | }; 54 | }); 55 | here.popover.reload(); 56 | }) 57 | .catch((error) => { 58 | console.error(`Error: ${JSON.stringify(error)}`); 59 | }); 60 | } 61 | 62 | here.on("load", () => { 63 | updateData(); 64 | // Update every 2 hours 65 | setInterval(updateData, 2 * 3600 * 1000); 66 | }); 67 | 68 | net.onChange((type) => { 69 | console.verbose("Connection type changed:", type); 70 | if (net.isReachable()) { 71 | updateData(); 72 | } 73 | }); 74 | -------------------------------------------------------------------------------- /source/Waerfa/menuBarIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Waerfa/menuBarIcon.png -------------------------------------------------------------------------------- /source/WanQu/README.md: -------------------------------------------------------------------------------- 1 | # 湾区日报 2 | 3 | > 显示湾区日报每日文章 4 | 5 | ## Development 6 | 7 | * Here [`net API`](https://doc.here.app/#/jsAPI/net) 8 | 9 | ## License 10 | 11 | This is an open source plugin published under the MIT License -------------------------------------------------------------------------------- /source/WanQu/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "湾区日报", 3 | "version": "1.0.2", 4 | "configURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/source/WanQu/config.json", 5 | "downloadURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/downloads/WanQu.hereplugin", 6 | "description": "显示湾区日报每日文章", 7 | "icon": "icon.png", 8 | "identifier": "app.here.wanqu", 9 | "createdBy": "Here", 10 | "website": "https://here.app", 11 | "script": "index.js", 12 | "defaultCategory": "news", 13 | "displayOn": ["mini"] 14 | } 15 | -------------------------------------------------------------------------------- /source/WanQu/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/WanQu/icon.png -------------------------------------------------------------------------------- /source/WanQu/index.js: -------------------------------------------------------------------------------- 1 | const _ = require("underscore"); 2 | const net = require("net"); 3 | 4 | function updateData() { 5 | const LIMIT = 10; 6 | 7 | here.miniWindow.data = { title: "Updating…" }; 8 | here.miniWindow.reload(); 9 | 10 | here.parseRSSFeed("https://wanqu.co/feed") 11 | .then((feed) => { 12 | // console.log(JSON.stringify(feed.items[0])) 13 | if (feed.items.length <= 0) { 14 | return here.miniWindow.set({ title: "No item found." }); 15 | } 16 | 17 | if (feed.items.length > LIMIT) { 18 | feed.items = feed.items.slice(0, LIMIT); 19 | } 20 | 21 | const topFeed = feed.items[0]; 22 | // Mini Window 23 | here.miniWindow.data = { 24 | title: topFeed.title, 25 | detail: "湾区日报", 26 | onClick: () => { 27 | if (topFeed.link != undefined) { 28 | here.openURL(topFeed.link); 29 | } 30 | }, 31 | }; 32 | here.miniWindow.reload(); 33 | 34 | here.popover.data = _.map(feed.items, (item, index) => { 35 | return { 36 | title: item.title, 37 | onClick: () => { 38 | if (item.link != undefined) { 39 | here.openURL(item.link); 40 | } 41 | }, 42 | }; 43 | }); 44 | here.popover.reload(); 45 | }) 46 | .catch((error) => { 47 | console.error(`Error: ${JSON.stringify(error)}`); 48 | }); 49 | } 50 | 51 | here.on("load", () => { 52 | updateData(); 53 | // Update every 2 hours 54 | setInterval(updateData, 2 * 3600 * 1000); 55 | }); 56 | 57 | net.onChange((type) => { 58 | console.verbose("Connection type changed:", type); 59 | if (net.isReachable()) { 60 | updateData(); 61 | } 62 | }); 63 | -------------------------------------------------------------------------------- /source/WeXin-Hot-Search/README.md: -------------------------------------------------------------------------------- 1 | # 微信热搜榜 2 | 3 | > 显示微信热搜关键词 4 | 5 | ## Development 6 | 7 | * Site: [https://weixin.sogou.com/](https://weixin.sogou.com/) 8 | * API: [https://weixin.sogou.com/pcindex/pc/web/web.js](https://weixin.sogou.com/pcindex/pc/web/web.js) 9 | 10 | ## License 11 | 12 | This is an open source plugin published under the MIT License -------------------------------------------------------------------------------- /source/WeXin-Hot-Search/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "微信热搜榜", 3 | "version": "1.0.2", 4 | "configURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/source/WeXin-Hot-Search/config.json", 5 | "downloadURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/downloads/WeXin-Hot-Search.hereplugin", 6 | "description": "显示微信热搜关键词", 7 | "icon": "icon.png", 8 | "identifier": "app.here.weixinhotsearch", 9 | "createdBy": "Here", 10 | "website": "https://here.app", 11 | "script": "index.js", 12 | "defaultCategory": "news", 13 | "displayOn": ["mini", "menuBar"] 14 | } 15 | -------------------------------------------------------------------------------- /source/WeXin-Hot-Search/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/WeXin-Hot-Search/icon.png -------------------------------------------------------------------------------- /source/WeXin-Hot-Search/index.js: -------------------------------------------------------------------------------- 1 | const _ = require("underscore"); 2 | const http = require("http"); 3 | const net = require("net"); 4 | 5 | function updateData() { 6 | const LIMIT = 10; 7 | 8 | here.miniWindow.set({ title: "Updating…" }); 9 | 10 | http.get("https://weixin.sogou.com/pcindex/pc/web/web.js") 11 | .then(function (response) { 12 | const json = response.data; 13 | if (json == undefined) { 14 | return here.miniWindow.set({ title: "Invalid data." }); 15 | } 16 | 17 | let entryList = json.topwords; 18 | if (entryList.length <= 1) { 19 | return here.miniWindow.set({ title: "Entrylist is empty." }); 20 | } 21 | 22 | if (entryList.length > LIMIT) { 23 | entryList = entryList.slice(0, LIMIT); 24 | } 25 | 26 | entryList = _.map(entryList, (entry) => { 27 | entry.word = entry.word; 28 | return entry; 29 | }); 30 | 31 | const topFeed = entryList[0]; 32 | // Mini Window 33 | here.miniWindow.data = { 34 | title: topFeed.word, 35 | detail: "微信热搜", 36 | onClick: () => { 37 | if (topFeed.word != undefined) { 38 | here.openURL("https://news.sogou.com/news?query=" + topFeed.word); 39 | } 40 | }, 41 | }; 42 | here.miniWindow.reload(); 43 | 44 | here.popover.data = _.map(entryList, (entry, index) => { 45 | return { 46 | title: index + 1 + ". " + entry.word, 47 | onClick: () => { 48 | here.openURL("https://news.sogou.com/news?query=" + entry.word); 49 | }, 50 | }; 51 | }); 52 | here.popover.reload(); 53 | }) 54 | .catch(function (error) { 55 | console.error(`Error: ${JSON.stringify(error)}`); 56 | here.miniWindow.set({ title: JSON.stringify(error) }); 57 | }); 58 | } 59 | 60 | here.on("load", () => { 61 | updateData(); 62 | // Update every 2 hours 63 | setInterval(updateData, 2 * 3600 * 1000); 64 | }); 65 | 66 | net.onChange((type) => { 67 | console.verbose("Connection type changed:", type); 68 | if (net.isReachable()) { 69 | updateData(); 70 | } 71 | }); 72 | -------------------------------------------------------------------------------- /source/WeXin-Hot-Search/menuBarIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/WeXin-Hot-Search/menuBarIcon.png -------------------------------------------------------------------------------- /source/Weather/README.md: -------------------------------------------------------------------------------- 1 | # Weather 2 | 3 | > Show world weather 4 | 5 | ## Development 6 | 7 | * City Name: `New York`, `newyork` 8 | * API: [https://weather.herecdn.com/newyork?unitGroup=us&include=fcst%2Ccurrent&iconSet=icons2](https://weather.herecdn.com/newyork?unitGroup=us&include=fcst%2Ccurrent&iconSet=icons2) 9 | 10 | ## License 11 | 12 | This is an open source plugin published under the MIT License -------------------------------------------------------------------------------- /source/Weather/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Weather", 3 | "version": "1.0.5", 4 | "configURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/source/Weather/config.json", 5 | "downloadURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/downloads/Weather.hereplugin", 6 | "description": "Show world weather", 7 | "icon": "icon.png", 8 | "identifier": "app.here.weather", 9 | "createdBy": "Here", 10 | "website": "https://here.app", 11 | "script": "index.js", 12 | "defaultCategory": "fav", 13 | "displayOn": ["mini", "menuBar", "dock"], 14 | "preferences": [ 15 | { 16 | "title": "Location", 17 | "type": "text", 18 | "key": "location", 19 | "default": "newyork" 20 | }, 21 | { 22 | "title": "Degree Units", 23 | "type": "popup", 24 | "key": "temperature", 25 | "default": 0, 26 | "options": ["℃ - Celsius", "℉ - Fahrenheit"] 27 | } 28 | ] 29 | } 30 | -------------------------------------------------------------------------------- /source/Weather/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Weather/icon.png -------------------------------------------------------------------------------- /source/Weather/images/README: -------------------------------------------------------------------------------- 1 | These are the color icons for a style that is dominated by a single, puffy cloud 2 | -------------------------------------------------------------------------------- /source/Weather/images/clear-day.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Weather/images/clear-day.png -------------------------------------------------------------------------------- /source/Weather/images/clear-night.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Weather/images/clear-night.png -------------------------------------------------------------------------------- /source/Weather/images/cloudy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Weather/images/cloudy.png -------------------------------------------------------------------------------- /source/Weather/images/fog.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Weather/images/fog.png -------------------------------------------------------------------------------- /source/Weather/images/hail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Weather/images/hail.png -------------------------------------------------------------------------------- /source/Weather/images/partly-cloudy-day.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Weather/images/partly-cloudy-day.png -------------------------------------------------------------------------------- /source/Weather/images/partly-cloudy-night.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Weather/images/partly-cloudy-night.png -------------------------------------------------------------------------------- /source/Weather/images/rain-snow-showers-day.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Weather/images/rain-snow-showers-day.png -------------------------------------------------------------------------------- /source/Weather/images/rain-snow-showers-night.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Weather/images/rain-snow-showers-night.png -------------------------------------------------------------------------------- /source/Weather/images/rain-snow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Weather/images/rain-snow.png -------------------------------------------------------------------------------- /source/Weather/images/rain.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Weather/images/rain.png -------------------------------------------------------------------------------- /source/Weather/images/showers-day.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Weather/images/showers-day.png -------------------------------------------------------------------------------- /source/Weather/images/showers-night.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Weather/images/showers-night.png -------------------------------------------------------------------------------- /source/Weather/images/sleet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Weather/images/sleet.png -------------------------------------------------------------------------------- /source/Weather/images/snow-showers-day.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Weather/images/snow-showers-day.png -------------------------------------------------------------------------------- /source/Weather/images/snow-showers-night.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Weather/images/snow-showers-night.png -------------------------------------------------------------------------------- /source/Weather/images/snow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Weather/images/snow.png -------------------------------------------------------------------------------- /source/Weather/images/thunder-rain.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Weather/images/thunder-rain.png -------------------------------------------------------------------------------- /source/Weather/images/thunder-showers-day.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Weather/images/thunder-showers-day.png -------------------------------------------------------------------------------- /source/Weather/images/thunder-showers-night.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Weather/images/thunder-showers-night.png -------------------------------------------------------------------------------- /source/Weather/images/thunder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Weather/images/thunder.png -------------------------------------------------------------------------------- /source/Weather/images/wind.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Weather/images/wind.png -------------------------------------------------------------------------------- /source/Weather/locales/en.json: -------------------------------------------------------------------------------- 1 | { 2 | "City not found, please check settings.": "City not found, please check settings.", 3 | } -------------------------------------------------------------------------------- /source/Weather/locales/zh-Hans.json: -------------------------------------------------------------------------------- 1 | { 2 | "City not found, please check settings.": "没有找到该城市,请设置如:Beijing", 3 | } -------------------------------------------------------------------------------- /source/Weather/menuBarIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Weather/menuBarIcon.png -------------------------------------------------------------------------------- /source/Weibo-Hot-Search/README.md: -------------------------------------------------------------------------------- 1 | # 微博热搜榜 2 | 3 | > 显示微博热搜关键词 4 | 5 | ## Development 6 | 7 | * Site: [http://weibo.com/](http://weibo.com/) 8 | * API: [https://api.weibo.cn/2/guest/page](https://api.weibo.cn/2/guest/page) 9 | 10 | ## License 11 | 12 | This is an open source plugin published under the MIT License -------------------------------------------------------------------------------- /source/Weibo-Hot-Search/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "微博热搜榜", 3 | "version": "1.0.3", 4 | "configURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/source/Weibo-Hot-Search/config.json", 5 | "downloadURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/downloads/Weibo-Hot-Search.hereplugin", 6 | "description": "显示微博热搜关键词", 7 | "icon": "icon.png", 8 | "identifier": "app.here.weibohotsearch", 9 | "createdBy": "Here", 10 | "website": "https://here.app", 11 | "script": "index.js", 12 | "defaultCategory": "news", 13 | "displayOn": ["mini", "menuBar"] 14 | } 15 | -------------------------------------------------------------------------------- /source/Weibo-Hot-Search/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Weibo-Hot-Search/icon.png -------------------------------------------------------------------------------- /source/Weibo-Hot-Search/menuBarIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/Weibo-Hot-Search/menuBarIcon.png -------------------------------------------------------------------------------- /source/YuTang/README.md: -------------------------------------------------------------------------------- 1 | # 鱼塘热门 2 | 3 | > 显示鱼塘最新热门内容:“鱼塘TOP榜”,“鱼塘推荐榜”,“鱼塘最新榜” 4 | 5 | ## Development 6 | 7 | * Thanks to [mo.fish](https://mo.fish/) for API support 8 | * API: [https://www.tophub.fun:8888/v2/GetAllInfoGzip?id=1065](https://www.tophub.fun:8888/v2/GetAllInfoGzip?id=1065) 9 | 10 | ## License 11 | 12 | This is an open source plugin published under the MIT License -------------------------------------------------------------------------------- /source/YuTang/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "鱼塘热榜", 3 | "version": "1.0.3", 4 | "configURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/source/YuTang/config.json", 5 | "downloadURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/downloads/YuTang.hereplugin", 6 | "description": "显示鱼塘热榜内容", 7 | "icon": "icon.png", 8 | "identifier": "app.here.yutang", 9 | "createdBy": "HereCN", 10 | "website": "https://here.app", 11 | "appcast": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/source/YuTangappcast.xml", 12 | "script": "index.js", 13 | "defaultCategory": "news", 14 | "displayOn": ["mini", "menuBar"] 15 | } 16 | -------------------------------------------------------------------------------- /source/YuTang/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/YuTang/icon.png -------------------------------------------------------------------------------- /source/YuTang/menuBarIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/YuTang/menuBarIcon.png -------------------------------------------------------------------------------- /source/ZhiHu/README.md: -------------------------------------------------------------------------------- 1 | # 知乎热榜 2 | 3 | > 显示知乎热门话题 4 | 5 | ## Development 6 | 7 | * Site: [https://www.zhihu.com/](https://www.zhihu.com/) 8 | * API: [https://www.zhihu.com/api/v3/explore/guest/feeds?limit=10](https://www.zhihu.com/api/v3/explore/guest/feeds?limit=10) 9 | 10 | ## License 11 | 12 | This is an open source plugin published under the MIT License -------------------------------------------------------------------------------- /source/ZhiHu/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "知乎热榜", 3 | "version": "1.0.4", 4 | "configURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/source/ZhiHu/config.json", 5 | "downloadURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/downloads/ZhiHu.hereplugin", 6 | "description": "显示知乎热门话题", 7 | "icon": "icon.png", 8 | "identifier": "app.here.zhihu", 9 | "createdBy": "Here", 10 | "website": "https://here.app", 11 | "script": "index.js", 12 | "defaultCategory": "news", 13 | "displayOn": ["mini", "menuBar"] 14 | } 15 | -------------------------------------------------------------------------------- /source/ZhiHu/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/ZhiHu/icon.png -------------------------------------------------------------------------------- /source/ZhiHu/menuBarIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/ZhiHu/menuBarIcon.png -------------------------------------------------------------------------------- /source/cnBeta/README.md: -------------------------------------------------------------------------------- 1 | # cnBeta 2 | 3 | > 显示 [cnBeta]((https://cnbeta.com/)) 实时热文 4 | 5 | ## Development 6 | 7 | * API: [https://m.cnbeta.com/touch/default/timeline.json?page=1](https://m.cnbeta.com/touch/default/timeline.json?page=1) 8 | 9 | ## License 10 | 11 | This is an open source plugin published under the MIT License -------------------------------------------------------------------------------- /source/cnBeta/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "cnBeta", 3 | "version": "1.0.8", 4 | "configURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/source/cnBeta/config.json", 5 | "downloadURL": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/downloads/cnBeta.hereplugin", 6 | "description": "显示cnBeta实时热文", 7 | "icon": "icon.png", 8 | "identifier": "app.here.cnbeta", 9 | "createdBy": "Here", 10 | "website": "https://here.app", 11 | "appcast": "https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/master/source//apcast.xml", 12 | "script": "index.js", 13 | "defaultCategory": "news", 14 | "displayOn": ["mini", "menuBar"] 15 | } 16 | -------------------------------------------------------------------------------- /source/cnBeta/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/cnBeta/icon.png -------------------------------------------------------------------------------- /source/cnBeta/menuBarIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hereappdev/Here-Official-Plugins/b41e8e562b85695a96138400210923734eebc45c/source/cnBeta/menuBarIcon.png --------------------------------------------------------------------------------