feat:添加wewe-rss到列表

This commit is contained in:
okxlin 2024-12-12 14:34:58 +08:00
parent a5d4ee30fc
commit 3027be5e0c
12 changed files with 363 additions and 0 deletions

View File

@ -0,0 +1,9 @@
AUTH_CODE="password"
CONTAINER_NAME="wewe-rss"
CRON_EXPRESSION="35 5,17 * * *"
DATABASE_TYPE="sqlite"
DATA_PATH="./data"
FEED_MODE="fulltext"
MAX_REQUEST_PER_MINUTE=60
PANEL_APP_PORT_HTTP=40332
SERVER_ORIGIN_URL="http://1.2.3.4:40332"

View File

@ -0,0 +1,62 @@
additionalProperties:
formFields:
- default: "40332"
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number
- default: "./data"
edit: true
envKey: DATA_PATH
labelEn: Data Path
labelZh: 数据路径
required: true
type: text
- default: "sqlite"
disabled: true
envKey: DATABASE_TYPE
labelEn: Database Type
labelZh: 数据库类型
required: true
type: text
- default: "password"
edit: true
envKey: AUTH_CODE
labelEn: Auth Code
labelZh: 授权码
random: true
required: true
rule: paramComplexity
type: password
- default: "http://1.2.3.4:40332"
edit: true
envKey: SERVER_ORIGIN_URL
labelEn: External URL
labelZh: 外部访问地址
required: true
type: text
- default: "fulltext"
edit: true
envKey: FEED_MODE
labelEn: Feed Mode
labelZh: 提取模式
required: false
type: text
- default: "35 5,17 * * *"
edit: true
envKey: CRON_EXPRESSION
labelEn: Cron Expression
labelZh: 定时更新表达式
required: false
type: text
- default: "60"
edit: true
envKey: MAX_REQUEST_PER_MINUTE
labelEn: Max Requests Per Minute
labelZh: 每分钟最大请求次数
required: false
type: number

View File

@ -0,0 +1,24 @@
services:
wewe-rss:
image: "cooderl/wewe-rss-sqlite:v2.5.0"
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:4000"
environment:
- DATABASE_TYPE=${DATABASE_TYPE}
- AUTH_CODE=${AUTH_CODE}
- FEED_MODE=${FEED_MODE}
- CRON_EXPRESSION=${CRON_EXPRESSION}
- MAX_REQUEST_PER_MINUTE=${MAX_REQUEST_PER_MINUTE}
- SERVER_ORIGIN_URL=${SERVER_ORIGIN_URL}
volumes:
- ${DATA_PATH}:/app/data
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

30
apps/wewe-rss/README.md Normal file
View File

@ -0,0 +1,30 @@
# WeWe RSS
更优雅的微信公众号订阅方式。
## 使用方式
1. 进入账号管理,点击添加账号,微信扫码登录微信读书账号。
<img width="400" src="https://github.com/cooderl/wewe-rss/raw/main/assets/preview2.png"/>
2. 进入公众号源,点击添加,通过提交微信公众号分享链接,订阅微信公众号。
**添加频率过高容易被封控等24小时解封**
<img width="400" src="https://github.com/cooderl/wewe-rss/raw/main/assets/preview3.png"/>
## 账号状态说明
- 今日小黑屋
> 账号被封控,等一天恢复
> 如果账号正常,可以通过重启服务/容器清除小黑屋记录
- 禁用
> 不使用该账号
- 失效
> 账号登录状态失效,需要重新登录
## 风险声明
为了确保本项目的持久运行,某些接口请求将通过`weread.111965.xyz`进行转发。请放心,该转发服务不会保存任何数据。

19
apps/wewe-rss/data.yml Normal file
View File

@ -0,0 +1,19 @@
name: WeWe RSS
tags:
- 建站
title: 更优雅的微信公众号订阅方式
description: 更优雅的微信公众号订阅方式
additionalProperties:
key: wewe-rss
name: WeWe RSS
tags:
- Website
shortDescZh: 更优雅的微信公众号订阅方式
shortDescEn: A more elegant way to subscribe to WeChat
type: website
crossVersionUpdate: true
limit: 0
recommend: 0
website: https://github.com/cooderl/wewe-rss
github: https://github.com/cooderl/wewe-rss
document: https://github.com/cooderl/wewe-rss

View File

@ -0,0 +1,14 @@
AUTH_CODE="password"
CONTAINER_NAME="wewe-rss"
CRON_EXPRESSION="35 5,17 * * *"
FEED_MODE="fulltext"
MAX_REQUEST_PER_MINUTE=60
PANEL_APP_PORT_HTTP=40332
PANEL_DB_HOST="mysql"
PANEL_DB_HOST_NAME="mysql"
PANEL_DB_NAME="wewe-rss"
PANEL_DB_PORT=3306
PANEL_DB_TYPE="mysql"
PANEL_DB_USER="wewe-rss"
PANEL_DB_USER_PASSWORD="wewe-rss"
SERVER_ORIGIN_URL="http://1.2.3.4:40332"

View File

@ -0,0 +1,88 @@
additionalProperties:
formFields:
- child:
default: ""
envKey: PANEL_DB_HOST
required: true
type: service
default: mysql
envKey: PANEL_DB_TYPE
labelEn: Database Service
labelZh: 数据库服务
required: true
type: apps
values:
- label: MySQL
value: mysql
- label: LocalMySQL
value: localmysql
- default: "wewe-rss"
envKey: PANEL_DB_NAME
labelEn: Database
labelZh: 数据库名
random: true
required: true
rule: paramCommon
type: text
- default: "wewe-rss"
envKey: PANEL_DB_USER
labelEn: User
labelZh: 数据库用户
random: true
required: true
rule: paramCommon
type: text
- default: "wewe-rss"
envKey: PANEL_DB_USER_PASSWORD
labelEn: Password
labelZh: 数据库用户密码
random: true
required: true
rule: paramComplexity
type: password
- default: "40332"
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number
- default: "password"
edit: true
envKey: AUTH_CODE
labelEn: Auth Code
labelZh: 授权码
random: true
required: true
rule: paramComplexity
type: password
- default: "http://1.2.3.4:40332"
edit: true
envKey: SERVER_ORIGIN_URL
labelEn: External URL
labelZh: 外部访问地址
required: true
type: text
- default: "fulltext"
edit: true
envKey: FEED_MODE
labelEn: Feed Mode
labelZh: 提取模式
required: false
type: text
- default: "35 5,17 * * *"
edit: true
envKey: CRON_EXPRESSION
labelEn: Cron Expression
labelZh: 定时更新表达式
required: false
type: text
- default: "60"
edit: true
envKey: MAX_REQUEST_PER_MINUTE
labelEn: Max Requests Per Minute
labelZh: 每分钟最大请求次数
required: false
type: number

View File

@ -0,0 +1,22 @@
services:
wewe-rss:
image: "cooderl/wewe-rss:latest"
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:4000"
environment:
- DATABASE_URL=${PANEL_DB_TYPE}://${PANEL_DB_USER}:${PANEL_DB_USER_PASSWORD}@${PANEL_DB_HOST}:${PANEL_DB_PORT}/${PANEL_DB_NAME}?schema=public&connect_timeout=30&pool_timeout=30&socket_timeout=30
- AUTH_CODE=${AUTH_CODE}
- FEED_MODE=${FEED_MODE}
- CRON_EXPRESSION=${CRON_EXPRESSION}
- MAX_REQUEST_PER_MINUTE=${MAX_REQUEST_PER_MINUTE}
- SERVER_ORIGIN_URL=${SERVER_ORIGIN_URL}
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

View File

@ -0,0 +1,9 @@
AUTH_CODE="password"
CONTAINER_NAME="wewe-rss"
CRON_EXPRESSION="35 5,17 * * *"
DATABASE_TYPE="sqlite"
DATA_PATH="./data"
FEED_MODE="fulltext"
MAX_REQUEST_PER_MINUTE=60
PANEL_APP_PORT_HTTP=40332
SERVER_ORIGIN_URL="http://1.2.3.4:40332"

View File

@ -0,0 +1,62 @@
additionalProperties:
formFields:
- default: "40332"
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number
- default: "./data"
edit: true
envKey: DATA_PATH
labelEn: Data Path
labelZh: 数据路径
required: true
type: text
- default: "sqlite"
disabled: true
envKey: DATABASE_TYPE
labelEn: Database Type
labelZh: 数据库类型
required: true
type: text
- default: "password"
edit: true
envKey: AUTH_CODE
labelEn: Auth Code
labelZh: 授权码
random: true
required: true
rule: paramComplexity
type: password
- default: "http://1.2.3.4:40332"
edit: true
envKey: SERVER_ORIGIN_URL
labelEn: External URL
labelZh: 外部访问地址
required: true
type: text
- default: "fulltext"
edit: true
envKey: FEED_MODE
labelEn: Feed Mode
labelZh: 提取模式
required: false
type: text
- default: "35 5,17 * * *"
edit: true
envKey: CRON_EXPRESSION
labelEn: Cron Expression
labelZh: 定时更新表达式
required: false
type: text
- default: "60"
edit: true
envKey: MAX_REQUEST_PER_MINUTE
labelEn: Max Requests Per Minute
labelZh: 每分钟最大请求次数
required: false
type: number

View File

@ -0,0 +1,24 @@
services:
wewe-rss:
image: "cooderl/wewe-rss-sqlite:latest"
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:4000"
environment:
- DATABASE_TYPE=${DATABASE_TYPE}
- AUTH_CODE=${AUTH_CODE}
- FEED_MODE=${FEED_MODE}
- CRON_EXPRESSION=${CRON_EXPRESSION}
- MAX_REQUEST_PER_MINUTE=${MAX_REQUEST_PER_MINUTE}
- SERVER_ORIGIN_URL=${SERVER_ORIGIN_URL}
volumes:
- ${DATA_PATH}:/app/data
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

BIN
apps/wewe-rss/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB