All Projects → wt365 → florus

wt365 / florus

Licence: MIT License
a piece of Javascript code applied to the Scriptable App, displaying date, lunar date, weekday, year progress, weather information, events reminder, funds valuation, stock quotes, as well as random motto, via widget in iOS 14 or 15.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to florus

pixel-widget
Scriptable Widget inspired by Pixel's "At a Glance" widget.
Stars: ✭ 96 (+269.23%)
Mutual labels:  scriptable
ScriptableMC-Engine
Create TypeScript/JavaScript plugins for Minecraft 1.16 Bukkit/Spigot/Paper
Stars: ✭ 36 (+38.46%)
Mutual labels:  scriptable
pynfogen
Scriptable MediaInfo-fed NFO Generator for Movies and TV
Stars: ✭ 23 (-11.54%)
Mutual labels:  scriptable
Widget-Blur
This script for the Scriptable app creates widget backgrounds that appear to be transparent. You can also optionally emulate the light or dark blur effect used in the Batteries widget from Apple.
Stars: ✭ 113 (+334.62%)
Mutual labels:  scriptable
nhl-my-team-ios-widget
"NHL-MyTeam" Scriptable iOS widget 🏒
Stars: ✭ 16 (-38.46%)
Mutual labels:  scriptable
scripts
Loon & Quantumult X & Surge 脚本,Scriptable脚本,签到、解锁、机场流量查询、京东金融白条提额
Stars: ✭ 43 (+65.38%)
Mutual labels:  scriptable
Driftwood
Driftwood 2D Tiling Game Engine and Development Suite
Stars: ✭ 23 (-11.54%)
Mutual labels:  scriptable
scriptable-widgets
A small collection of my Scriptable iOS widgets.
Stars: ✭ 35 (+34.62%)
Mutual labels:  scriptable
Perspec
Scriptable desktop app to correct the perspective of images
Stars: ✭ 523 (+1911.54%)
Mutual labels:  scriptable
Bloop
A light weight scratch pad inspired and derived from https://github.com/IvanMathy/Boop.
Stars: ✭ 54 (+107.69%)
Mutual labels:  scriptable
Covid-19 Ampel
Covid-19_Ampel | Zeigt neben der 7-Tage-Inzidenz weitere Infos zu einer Region.
Stars: ✭ 33 (+26.92%)
Mutual labels:  scriptable
telekom-data-usage-widget
Telekom Datennutzung Widget für iOS 14
Stars: ✭ 61 (+134.62%)
Mutual labels:  scriptable
ios-scriptable-tsx
在 vscode 上使用 typescript 和 jsx 开发 ios 小组件的小框架.基于 Scriptable app.
Stars: ✭ 113 (+334.62%)
Mutual labels:  scriptable
corona-widget-at
COVID-19 incidence widget for iOS within Austria 🇦🇹
Stars: ✭ 16 (-38.46%)
Mutual labels:  scriptable

Florus

Florus is a piece of Javascript code applied to the Scriptable App, displaying date, lunar date, weekday, year progress, weather information, events reminder, funds valuation, stock quotes, as well as random motto, via widget in iOS 14 or 15.

Florus是一则应用于Scriptable App的Javascript脚本,它可以在iOS14或15小组件中实现:

  • 显示日期、星期、农历、全年进度
  • 显示指定位置的天气状况、温度、三小时内降雨/降雪提醒
  • 显示日历中事项或自编事项的倒数天数
  • 显示指定基金的估值
  • 显示指定股票的行情
  • 从一言数据库中随机显示一句话及其出处
  • 支持小、中、大三种尺寸,不同尺寸下显示适合的内容容量
  • 支持黑色调与白色调两种配色方案,亦可自动切换

食用方法

  1. 将florus.js中的全部代码复制。(手机视图中或需点击View code展开后再点击florus.js可见。)
  2. iOS14或15用户安装Scriptable App。打开App,点击右上角 +号 新建脚本,将已复制的代码粘贴入。
  3. 将代码中设置区内的位置纬度经度提醒事项模式自编提醒事项金融功能开关基金/股票代码配色方案改成自己需要的。
  4. 点击左上角 Done ,保存脚本后可长按对其重命名(比如 Florus )。
  5. 长按iOS14桌面空白处,点击左上角 +号 添加小组件,选择Scriptable。建议中尺寸,其它尺寸亦可。
  6. 长按刚才添加的组件,点击编辑小组件,Script处选择 Florus 即可。

设置说明

  • 位置设置 latlon:纬度和经度,用于显示天气。
  • 提醒事项模式 EM:可选值 0 或 1
    • EM=0 时为自编事项(默认)。请按样例格式自行在脚本里(Events段)添加事项,可添加任意多行,无需按时间顺序,会自动排序后显示未来最近的3项(中尺寸)、4项(小尺寸)或6项(大尺寸)。
    • EM=1 时为从日历中读取事项(须授权同意Scriptable访问日历)。
  • 金融功能开关 FF:可选值 0, 1, 2
    • FF=0 时不开启金融功能(默认),将正常显示提醒事项。
    • FF=1 时开启基金估值显示,请设置一组基金代码Fcodes
    • FF=2 时开启股票行情显示,请设置一组股票代码Fcodes
    • 金融功能开启(FF=1或FF=2)时,中、小尺寸下将不显示提醒事项,中尺寸显示最多3项基金估值或6项股票行情,小尺寸显示最多4项基金估值/股票行情;大尺寸将同时显示最多6项提醒事项和最多6项基金估值/股票行情。
  • 配色方案 cs:可选值 0, 1, 2
    • cs=0 时为黑色调。
    • cs=1 时为白色调。
    • cs=2 时为自动切换色调(默认)。

注意事项

  • 推荐使用中尺寸组件,但小尺寸和大尺寸也同样支持。另外,作者机型为iPhone12,其他设备可自行适当调整字号大小。
  • 农历已支持到2023年底,2024年前会再更新。
  • 作者比较懒,更多好玩的功能我想到了再慢慢加……

designed and coded with love by Tingyu.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].