Skip to content

Commit 9d8c86e

Browse files
committed
Publish ZenFlip iPad PWA
1 parent c8a2946 commit 9d8c86e

12 files changed

Lines changed: 229 additions & 1 deletion

.github/workflows/pages.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Deploy ZenFlip to GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
workflow_dispatch:
8+
9+
permissions:
10+
contents: read
11+
pages: write
12+
id-token: write
13+
14+
concurrency:
15+
group: pages
16+
cancel-in-progress: true
17+
18+
jobs:
19+
deploy:
20+
environment:
21+
name: github-pages
22+
url: ${{ steps.deployment.outputs.page_url }}
23+
runs-on: ubuntu-latest
24+
steps:
25+
- name: Checkout
26+
uses: actions/checkout@v4
27+
28+
- name: Configure Pages
29+
uses: actions/configure-pages@v5
30+
with:
31+
enablement: true
32+
33+
- name: Upload static site
34+
uses: actions/upload-pages-artifact@v3
35+
with:
36+
path: .
37+
38+
- name: Deploy
39+
id: deployment
40+
uses: actions/deploy-pages@v4

.nojekyll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

README.md

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,32 @@
1-
# zenflip-focus-clock
1+
# ZenFlip 翻页专注时钟
2+
3+
一款专为 iPad 横屏与全屏学习场景设计的黑白翻页专注计时器,集成今日/明日计划清单、专注记录、趋势统计与本地数据备份。
4+
5+
## 在线使用
6+
7+
[打开 ZenFlip](https://lifengian.github.io/zenflip-focus-clock/)
8+
9+
## 主要功能
10+
11+
- 黑色背景、白色数字的全屏翻页时钟
12+
- 精确记录小时、分钟和秒
13+
- 开始、暂停、继续、保存与放弃本次专注
14+
- 今日与明日任务清单
15+
- 每日专注记录与趋势统计
16+
- 数据导出与导入
17+
- 屏幕常亮支持
18+
- PWA 离线缓存
19+
- 适配 iPad 横屏、竖屏和主屏幕启动
20+
21+
## 安装到 iPad
22+
23+
1. 使用 Safari 打开在线地址。
24+
2. 点击 Safari 工具栏中的“分享”按钮。
25+
3. 选择“添加到主屏幕”。
26+
4. 开启“作为网页 App 打开”,然后点击“添加”。
27+
28+
首次成功打开后,应用会缓存到设备。计时记录、任务和统计数据均保存在当前设备的浏览器本地,不会上传到 GitHub。
29+
30+
## 隐私
31+
32+
ZenFlip 不包含账号系统、广告或第三方分析服务。所有学习数据默认仅保存在使用者自己的设备中。

apple-touch-icon.png

5.06 KB
Loading

assets/index-CRHJQosC.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/index-KJpHnDvQ.js

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

icon-192.png

5.41 KB
Loading

icon-512-maskable.png

16.7 KB
Loading

icon-512.png

16.7 KB
Loading

index.html

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<!doctype html>
2+
<html lang="zh-CN">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, viewport-fit=cover" />
6+
<meta name="theme-color" content="#000000" />
7+
<meta name="color-scheme" content="dark" />
8+
<meta name="apple-mobile-web-app-capable" content="yes" />
9+
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
10+
<meta name="apple-mobile-web-app-title" content="翻页专注" />
11+
<meta name="description" content="适用于 iPad 的全屏翻页专注计时器与计划清单" />
12+
<link rel="manifest" href="./manifest.json" />
13+
<link rel="apple-touch-icon" href="./apple-touch-icon.png" />
14+
<link rel="icon" href="./icon-192.png" />
15+
<title>翻页专注</title>
16+
<script type="module" crossorigin src="./assets/index-KJpHnDvQ.js"></script>
17+
<link rel="stylesheet" crossorigin href="./assets/index-CRHJQosC.css">
18+
</head>
19+
<body>
20+
<div id="root"></div>
21+
</body>
22+
</html>

0 commit comments

Comments
 (0)