发布应用 Glance

Signed-off-by: Meng Sen <qyg2297248353@gmail.com>
This commit is contained in:
新疆萌森软件开发工作室 2025-01-24 13:09:19 +08:00
parent fbdb683e23
commit c0ad37656b
13 changed files with 216 additions and 0 deletions

1
.github/README.md vendored
View File

@ -76,6 +76,7 @@
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/ghost/logo.png" width="22"/> | Ghost | https://ghost.org/ | 用于现代出版、会员制、订阅和通讯的人博客系统 | | | 🟢 | <img height="22" src="https://file.lifebus.top/apps/ghost/logo.png" width="22"/> | Ghost | https://ghost.org/ | 用于现代出版、会员制、订阅和通讯的人博客系统 | |
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/gitea/logo.png" width="22"/> | Gitea | https://gitea.io/ | 私有、快速、可靠的 DevOps 平台 | Gitea | | 🟢 | <img height="22" src="https://file.lifebus.top/apps/gitea/logo.png" width="22"/> | Gitea | https://gitea.io/ | 私有、快速、可靠的 DevOps 平台 | Gitea |
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/gitea/logo.png" width="22"/> | Gitea Runner | https://gitea.io/ | 【Runner】私有、快速、可靠的 DevOps 平台 | Gitea | | 🟢 | <img height="22" src="https://file.lifebus.top/apps/gitea/logo.png" width="22"/> | Gitea Runner | https://gitea.io/ | 【Runner】私有、快速、可靠的 DevOps 平台 | Gitea |
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/glance/logo.png" width="22"/> | Glance | https://github.com/glanceapp/glance/ | 一个自托管的仪表板,将所有您的订阅源放在一个地方 | |
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/halo/logo.png" width="22"/> | Halo | https://halo.run/ | 强大易用的开源建站工具 | | | 🟢 | <img height="22" src="https://file.lifebus.top/apps/halo/logo.png" width="22"/> | Halo | https://halo.run/ | 强大易用的开源建站工具 | |
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/homarr/logo.png" width="22"/> | Homarr | https://homarr.dev/ | 一个时尚、现代化的仪表板 | | | 🟢 | <img height="22" src="https://file.lifebus.top/apps/homarr/logo.png" width="22"/> | Homarr | https://homarr.dev/ | 一个时尚、现代化的仪表板 | |
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/ikaros/logo.png" width="22"/> | ikaros | https://github.com/Suwmlee/ikaros/ | 打通下载软件与媒体服务,安心享受影片 | | | 🟢 | <img height="22" src="https://file.lifebus.top/apps/ikaros/logo.png" width="22"/> | ikaros | https://github.com/Suwmlee/ikaros/ | 打通下载软件与媒体服务,安心享受影片 | |

View File

@ -71,6 +71,7 @@
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/ghost/logo.png" width="22"/> | Ghost | https://ghost.org/ | 用于现代出版、会员制、订阅和通讯的人博客系统 | | | 🟢 | <img height="22" src="https://file.lifebus.top/apps/ghost/logo.png" width="22"/> | Ghost | https://ghost.org/ | 用于现代出版、会员制、订阅和通讯的人博客系统 | |
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/gitea/logo.png" width="22"/> | Gitea | https://gitea.io/ | 私有、快速、可靠的 DevOps 平台 | Gitea | | 🟢 | <img height="22" src="https://file.lifebus.top/apps/gitea/logo.png" width="22"/> | Gitea | https://gitea.io/ | 私有、快速、可靠的 DevOps 平台 | Gitea |
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/gitea/logo.png" width="22"/> | Gitea Runner | https://gitea.io/ | 【Runner】私有、快速、可靠的 DevOps 平台 | Gitea | | 🟢 | <img height="22" src="https://file.lifebus.top/apps/gitea/logo.png" width="22"/> | Gitea Runner | https://gitea.io/ | 【Runner】私有、快速、可靠的 DevOps 平台 | Gitea |
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/glance/logo.png" width="22"/> | Glance | https://github.com/glanceapp/glance/ | 一个自托管的仪表板,将所有您的订阅源放在一个地方 | |
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/halo/logo.png" width="22"/> | Halo | https://halo.run/ | 强大易用的开源建站工具 | | | 🟢 | <img height="22" src="https://file.lifebus.top/apps/halo/logo.png" width="22"/> | Halo | https://halo.run/ | 强大易用的开源建站工具 | |
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/homarr/logo.png" width="22"/> | Homarr | https://homarr.dev/ | 一个时尚、现代化的仪表板 | | | 🟢 | <img height="22" src="https://file.lifebus.top/apps/homarr/logo.png" width="22"/> | Homarr | https://homarr.dev/ | 一个时尚、现代化的仪表板 | |
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/ikaros/logo.png" width="22"/> | ikaros | https://github.com/Suwmlee/ikaros/ | 打通下载软件与媒体服务,安心享受影片 | | | 🟢 | <img height="22" src="https://file.lifebus.top/apps/ikaros/logo.png" width="22"/> | ikaros | https://github.com/Suwmlee/ikaros/ | 打通下载软件与媒体服务,安心享受影片 | |

View File

@ -0,0 +1,68 @@
server:
port: 8080
assets-path: /app/assets
pages:
- name: Home
columns:
- size: small
widgets:
- type: calendar
- type: rss
limit: 10
collapse-after: 3
cache: 3h
feeds:
- url: https://ciechanow.ski/atom.xml
- url: https://www.joshwcomeau.com/rss.xml
title: Josh Comeau
- url: https://samwho.dev/rss.xml
- url: https://awesomekling.github.io/feed.xml
- url: https://ishadeed.com/feed.xml
title: Ahmad Shadeed
- type: twitch-channels
channels:
- theprimeagen
- cohhcarnage
- christitustech
- blurbs
- asmongold
- jembawls
- size: full
widgets:
- type: hacker-news
- type: videos
channels:
- UCR-DXc1voovS8nhAvccRZhg # Jeff Geerling
- UCv6J_jJa8GJqFwQNgNrMuww # ServeTheHome
- UCOk-gHyjcWZNj3Br4oxwh0A # Techno Tim
- type: reddit
subreddit: selfhosted
- size: small
widgets:
- type: weather
location: London, United Kingdom
- type: markets
markets:
- symbol: SPY
name: S&P 500
- symbol: BTC-USD
name: Bitcoin
- symbol: NVDA
name: NVIDIA
- symbol: AAPL
name: Apple
- symbol: MSFT
name: Microsoft
- symbol: GOOGL
name: Google
- symbol: AMD
name: AMD
- symbol: RDDT
name: Reddit

View File

@ -0,0 +1,17 @@
additionalProperties:
formFields:
- default: "/home/app_name"
edit: true
envKey: APP_NAME_ROOT_PATH
labelZh: 数据持久化路径
labelEn: Data persistence path
required: true
type: text
- default: 8080
edit: true
envKey: PANEL_APP_PORT_HTTP
labelZh: WebUI 端口
labelEn: WebUI port
required: true
rule: paramPort
type: number

View File

@ -0,0 +1,25 @@
networks:
1panel-network:
external: true
services:
glance:
image: glanceapp/glance:v0.6.4
container_name: ${CONTAINER_NAME}
labels:
createdBy: "Apps"
restart: always
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:8080
env_file:
- ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env}
- ${ENV_FILE:-/etc/1panel/envs/default.env}
volumes:
- ${APP_NAME_ROOT_PATH}/app/glance.yml:/app/glance.yml
- ${APP_NAME_ROOT_PATH}/app/assets:/app/assets
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
environment:
- TZ=Asia/Shanghai

View File

@ -0,0 +1,2 @@
# copyright© 2024 XinJiang Ms Studio
ENV_FILE=.env

View File

@ -0,0 +1,2 @@
# copyright© 2024 XinJiang Ms Studio
TZ=Asia/Shanghai

View File

@ -0,0 +1,22 @@
#!/bin/bash
if [ -f .env ]; then
source .env
# setup-1 add default values
CURRENT_DIR=$(pwd)
sed -i '/^ENV_FILE=/d' .env
sed -i '/^GLOBAL_ENV_FILE=/d' .env
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
echo "GLOBAL_ENV_FILE=${CURRENT_DIR}/envs/global.env" >> .env
mkdir -p "$APP_NAME_ROOT_PATH"
mkdir -p "$APP_NAME_ROOT_PATH/app"
cp ./conf/glance.yml "$APP_NAME_ROOT_PATH/app/glance.yml"
echo "Check Finish."
else
echo "Error: .env file not found."
fi

View File

@ -0,0 +1,10 @@
#!/bin/bash
if [ -f .env ]; then
source .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi

View File

@ -0,0 +1,24 @@
#!/bin/bash
if [ -f .env ]; then
source .env
# setup-1 add default values
CURRENT_DIR=$(pwd)
sed -i '/^ENV_FILE=/d' .env
sed -i '/^GLOBAL_ENV_FILE=/d' .env
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
echo "GLOBAL_ENV_FILE=${CURRENT_DIR}/envs/global.env" >> .env
mkdir -p "$APP_NAME_ROOT_PATH"
mkdir -p "$APP_NAME_ROOT_PATH/app"
if [ ! -f "$APP_NAME_ROOT_PATH/app/glance.yml" ]; then
cp ./conf/glance.yml "$APP_NAME_ROOT_PATH/app/glance.yml"
fi
echo "Check Finish."
else
echo "Error: .env file not found."
fi

30
apps/glance/README.md Normal file
View File

@ -0,0 +1,30 @@
# Glance
一个自托管的仪表板,将所有您的订阅源放在一个地方
![Glance](https://file.lifebus.top/imgs/glance_cover.png)
![](https://img.shields.io/badge/%E6%96%B0%E7%96%86%E8%90%8C%E6%A3%AE%E8%BD%AF%E4%BB%B6%E5%BC%80%E5%8F%91%E5%B7%A5%E4%BD%9C%E5%AE%A4-%E6%8F%90%E4%BE%9B%E6%8A%80%E6%9C%AF%E6%94%AF%E6%8C%81-blue)
## 小部件
+ RSS 订阅源
+ 子版块帖子
+ 天气
+ 书签
+ 黑客新闻
+ Lobsters
+ 最新特定频道的 YouTube 视频
+ 闹钟
+ 日历
+ 股票
+ iframe
+ Twitch 频道和热门游戏
+ GitHub 发布
+ 代码库概览
+ 站点监控
+ 搜索框
---
![Ms Studio](https://file.lifebus.top/imgs/ms_blank_001.png)

14
apps/glance/data.yml Normal file
View File

@ -0,0 +1,14 @@
additionalProperties:
key: glance
name: Glance
tags:
- WebSite
- Local
shortDescZh: 一个自托管的仪表板,将所有您的订阅源放在一个地方
shortDescEn: A self-hosted dashboard that puts all your feeds in one place
type: website
crossVersionUpdate: true
limit: 0
website: https://github.com/glanceapp/glance/
github: https://github.com/glanceapp/glance/
document: https://github.com/glanceapp/glance/

BIN
apps/glance/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB