Spaces:
Running
Running
Upload 10 files
Browse files- Dockerfile +26 -0
- README.md +41 -10
- booruSama.json +31 -0
- buyinfo.json +6 -0
- host.json +4 -0
- iizhi.json +34 -0
- jmComic.json +28 -0
- nginx.conf +50 -0
- pay.json +6 -0
- update.json +6 -0
Dockerfile
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# 使用基于Alpine的官方Nginx镜像
|
2 |
+
FROM nginx:alpine
|
3 |
+
|
4 |
+
# 创建缓存目录并赋予适当的权限
|
5 |
+
RUN mkdir -p /var/cache/nginx/client_temp && \
|
6 |
+
mkdir -p /var/cache/nginx/proxy_temp && \
|
7 |
+
mkdir -p /var/cache/nginx/fastcgi_temp && \
|
8 |
+
mkdir -p /var/cache/nginx/scgi_temp && \
|
9 |
+
mkdir -p /var/cache/nginx/uwsgi_temp && \
|
10 |
+
chown -R nginx:nginx /var/cache/nginx
|
11 |
+
|
12 |
+
# 复制配置文件
|
13 |
+
COPY nginx.conf /etc/nginx/nginx.conf
|
14 |
+
COPY . /usr/share/nginx/html
|
15 |
+
|
16 |
+
# 设置工作目录的权限
|
17 |
+
RUN chown -R nginx:nginx /usr/share/nginx/html
|
18 |
+
|
19 |
+
# 设置用户为nginx,以确保以正确的权限运行
|
20 |
+
USER nginx
|
21 |
+
|
22 |
+
# 暴露必要的端口
|
23 |
+
EXPOSE 7860
|
24 |
+
|
25 |
+
# 启动Nginx
|
26 |
+
CMD ["nginx", "-g", "daemon off;"]
|
README.md
CHANGED
@@ -1,10 +1,41 @@
|
|
1 |
-
---
|
2 |
-
title:
|
3 |
-
emoji:
|
4 |
-
colorFrom:
|
5 |
-
colorTo: green
|
6 |
-
sdk: docker
|
7 |
-
pinned: false
|
8 |
-
---
|
9 |
-
|
10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
title: Configuration Files
|
3 |
+
emoji: ⚙️
|
4 |
+
colorFrom: blue
|
5 |
+
colorTo: green
|
6 |
+
sdk: docker
|
7 |
+
pinned: false
|
8 |
+
---
|
9 |
+
|
10 |
+
# Configuration Files Repository
|
11 |
+
|
12 |
+
This repository contains various configuration files for different applications and services. These configurations are designed to provide customizable settings for various software components.
|
13 |
+
|
14 |
+
## Contents
|
15 |
+
|
16 |
+
- **Application Configs**: JSON configuration files for different applications
|
17 |
+
- **Web Server**: Nginx configuration for web hosting
|
18 |
+
- **Docker**: Container configuration for easy deployment
|
19 |
+
|
20 |
+
## Features
|
21 |
+
|
22 |
+
- Modular configuration structure
|
23 |
+
- Easy to customize and deploy
|
24 |
+
- Docker support for containerization
|
25 |
+
- Web server ready configurations
|
26 |
+
|
27 |
+
## Usage
|
28 |
+
|
29 |
+
These configuration files can be used to:
|
30 |
+
- Set up application parameters
|
31 |
+
- Configure web services
|
32 |
+
- Deploy applications in containers
|
33 |
+
- Customize application behavior
|
34 |
+
|
35 |
+
## Technical Details
|
36 |
+
|
37 |
+
- Built with Docker and Nginx
|
38 |
+
- Supports various configuration formats
|
39 |
+
- Designed for easy deployment and management
|
40 |
+
|
41 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
booruSama.json
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"banner": "功能解锁",
|
3 |
+
"host": "cdn.bitvpn.us",
|
4 |
+
"planId": "ef3c43c6daa411ee965e5254001e7c00",
|
5 |
+
"skuId": "ef440afcdaa411ee9e165254001e7c00",
|
6 |
+
"enableCustomBuy":true,
|
7 |
+
"customBuyLink":"https://afdian.com/item/b6c0cd5a2dd311ef992052540025c377",
|
8 |
+
"updateLink":"http://pixiv.wiki",
|
9 |
+
"lastVersion":"1.0.0",
|
10 |
+
"ad":[
|
11 |
+
{
|
12 |
+
"adPicUrl":"https://img.alicdn.com/imgextra/i1/2215461207111/O1CN01LTiPrs22OtMshGaJ1_!!2215461207111.png",
|
13 |
+
"adLink":"https://sdn.bitvpn.us",
|
14 |
+
"adTitle":"BitVPN",
|
15 |
+
"adContent":"A truly decentralized service"
|
16 |
+
}
|
17 |
+
],
|
18 |
+
"guestAdDisplayCount" : 15,
|
19 |
+
"vipAdDisplayCount": 30,
|
20 |
+
"enableAds": true,
|
21 |
+
"plans": [
|
22 |
+
{
|
23 |
+
"price": 6,
|
24 |
+
"description": "点击跳转相关平台,完成操作后点击自动消息回复获取解锁码,解锁码框输入后重启应用解锁相关功能。",
|
25 |
+
"title": "功能套餐",
|
26 |
+
"duration_seconds": 2592000
|
27 |
+
}
|
28 |
+
],
|
29 |
+
"redeem_strict_mode": false,
|
30 |
+
"order_service_url":"https://hook.pixiv.digital/uu"
|
31 |
+
}
|
buyinfo.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"buy_title": "功能解锁",
|
3 |
+
"buy_intro": "test",
|
4 |
+
"buy_title_inner": "功能解锁",
|
5 |
+
"buy_temp_b":"b"
|
6 |
+
}
|
host.json
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"banner": "功能解锁",
|
3 |
+
"host": "cdn.bitvpn.us"
|
4 |
+
}
|
iizhi.json
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"banner": "功能解锁",
|
3 |
+
"host": "cdn.bitvpn.us",
|
4 |
+
"planId": "ef3c43c6daa411ee965e5254001e7c00",
|
5 |
+
"skuId": "ef440afcdaa411ee9e165254001e7c00",
|
6 |
+
"enableCustomBuy":true,
|
7 |
+
"customBuyLink":"https://afdian.com/item/d7e483e8314611efbe0952540025c377",
|
8 |
+
"updateLink":"https://bitvpn.us/app/mika",
|
9 |
+
"iizhiSpaceUrl":"https://rogerxavier-iizhiapi.hf.space/getPanInfo",
|
10 |
+
"lastVersion":"1.0.1",
|
11 |
+
"ad":[
|
12 |
+
{
|
13 |
+
"adPicUrl":"https://img.alicdn.com/imgextra/i1/2215461207111/O1CN01LTiPrs22OtMshGaJ1_!!2215461207111.png",
|
14 |
+
"adLink":"https://sdn.bitvpn.us",
|
15 |
+
"adTitle":"BitVPN",
|
16 |
+
"adContent":"A truly decentralized service"
|
17 |
+
}
|
18 |
+
],
|
19 |
+
"guestAdDisplayCount" : 15,
|
20 |
+
"vipAdDisplayCount": 30,
|
21 |
+
"enableAds": true,
|
22 |
+
"plans": [
|
23 |
+
{
|
24 |
+
"price": 6,
|
25 |
+
"description": "点击跳转爱发电,下单后点击爱发电自动消息回复获取兑换码,兑换码框输入后重启应用解锁高级功能。",
|
26 |
+
"title": "高级功能套餐",
|
27 |
+
"duration_seconds": 2592000
|
28 |
+
}
|
29 |
+
],
|
30 |
+
"redeem_strict_mode": false,
|
31 |
+
"order_service_url":"https://hook.pixiv.digital/uu",
|
32 |
+
"annasFastDownloadUrl":"https://annas.bitvpn.us/dyn/api/fast_download.json",
|
33 |
+
"annas_key":"Bfz99wCQAF7uq3LxzyscZStES5dR2"
|
34 |
+
}
|
jmComic.json
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"updateLink": "http://pixiv.digital",
|
3 |
+
"lastVersion": "1.0.2",
|
4 |
+
"ad": [
|
5 |
+
{
|
6 |
+
"adPicUrl": "https://img.alicdn.com/imgextra/i1/2215461207111/O1CN01LTiPrs22OtMshGaJ1_!!2215461207111.png",
|
7 |
+
"adLink": "https://sdn.bitvpn.us",
|
8 |
+
"adTitle": "BitVPN",
|
9 |
+
"adContent": "A truly decentralized service"
|
10 |
+
}
|
11 |
+
],
|
12 |
+
"guestAdDisplayCount": 5,
|
13 |
+
"enableAds": true,
|
14 |
+
"jmUrls": [
|
15 |
+
"https://www.cdnblackmyth.club",
|
16 |
+
"https://www.cdnmhws.cc",
|
17 |
+
"https://www.jmapiproxyxxx.vip",
|
18 |
+
"https://www.cdnmhwscc.org"
|
19 |
+
],
|
20 |
+
"imageUrls": [
|
21 |
+
"https://cdn-msp.jmapiproxy3.cc",
|
22 |
+
"https://cdn-msp3.jmapiproxy3.cc",
|
23 |
+
"https://cdn-msp2.jmapiproxy1.cc",
|
24 |
+
"https://cdn-msp3.jmapiproxy3.cc",
|
25 |
+
"https://cdn-msp2.jmapiproxy4.cc",
|
26 |
+
"https://cdn-msp2.jmapiproxy3.cc"
|
27 |
+
]
|
28 |
+
}
|
nginx.conf
ADDED
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
pid /tmp/nginx.pid;
|
2 |
+
|
3 |
+
events {
|
4 |
+
worker_connections 1024;
|
5 |
+
}
|
6 |
+
|
7 |
+
http {
|
8 |
+
server {
|
9 |
+
listen 7860;
|
10 |
+
server_name localhost;
|
11 |
+
|
12 |
+
|
13 |
+
location /iizhi.json {
|
14 |
+
alias /usr/share/nginx/html/iizhi.json; # 指定jmComic.json的路径
|
15 |
+
default_type application/json; # 设置返回类型为JSON
|
16 |
+
}
|
17 |
+
|
18 |
+
location /booruSama.json {
|
19 |
+
alias /usr/share/nginx/html/booruSama.json; # 指定jmComic.json的路径
|
20 |
+
default_type application/json; # 设置返回类型为JSON
|
21 |
+
}
|
22 |
+
|
23 |
+
location /buyinfo.json {
|
24 |
+
alias /usr/share/nginx/html/buyinfo.json; # 指定jmComic.json的路径
|
25 |
+
default_type application/json; # 设置返回类型为JSON
|
26 |
+
}
|
27 |
+
location /host.json {
|
28 |
+
alias /usr/share/nginx/html/host.json; # 指定路径
|
29 |
+
default_type application/json; # 设置返回类型为JSON
|
30 |
+
}
|
31 |
+
|
32 |
+
location /pay.json {
|
33 |
+
alias /usr/share/nginx/html/pay.json; # 指定路径
|
34 |
+
default_type application/json; # 设置返回类型为JSON
|
35 |
+
}
|
36 |
+
|
37 |
+
location /update.json {
|
38 |
+
alias /usr/share/nginx/html/update.json; # 指定路径
|
39 |
+
default_type application/json; # 设置返回类型为JSON
|
40 |
+
}
|
41 |
+
|
42 |
+
location /jmComic.json {
|
43 |
+
alias /usr/share/nginx/html/jmComic.json; # 指定jmComic.json的路径
|
44 |
+
default_type application/json; # 设置返回类型为JSON
|
45 |
+
}
|
46 |
+
|
47 |
+
|
48 |
+
|
49 |
+
}
|
50 |
+
}
|
pay.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"pay_amount": "6.6",
|
3 |
+
"pay_info": "点击\"购买\"后将会自动复制相关链接至剪贴板,完成操作后自动返回功能解锁信息等,其他购买方式照旧。",
|
4 |
+
"pay_host": "pay.flexbooru.art",
|
5 |
+
"pay_account": "https://afdian.com/item/be8a06c62bdc11efbcbd52540025c377"
|
6 |
+
}
|
update.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"version_code": 1206,
|
3 |
+
"version_name": "2.8.1.c1206",
|
4 |
+
"url": "https://flexbooru.art",
|
5 |
+
"is_available_store": true
|
6 |
+
}
|