mirror of
https://github.com/arch3rPro/1Panel-Appstore.git
synced 2026-05-07 17:42:11 +08:00
Remake Repository
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
CONTAINER_NAME="blinko"
|
||||
NEXTAUTH_SECRET="my_ultra_secure_nextauth_secret"
|
||||
NEXTAUTH_URL="http://1.2.3.4:1111"
|
||||
NEXT_PUBLIC_BASE_URL="http://1.2.3.4:1111"
|
||||
PANEL_APP_PORT_HTTP=1111
|
||||
PANEL_DB_HOST="postgresql"
|
||||
PANEL_DB_HOST_NAME="postgresql"
|
||||
PANEL_DB_NAME="blinko"
|
||||
PANEL_DB_PORT=5432
|
||||
PANEL_DB_USER="blinko"
|
||||
PANEL_DB_USER_PASSWORD="blinko"
|
||||
@@ -0,0 +1,70 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: "1111"
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: HTTP Port
|
||||
labelZh: HTTP 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: "http://1.2.3.4:1111"
|
||||
envKey: NEXTAUTH_URL
|
||||
labelEn: NextAuth URL
|
||||
labelZh: 基本 URL
|
||||
required: true
|
||||
rule: paramExtUrl
|
||||
type: text
|
||||
- default: "http://1.2.3.4:1111"
|
||||
envKey: NEXT_PUBLIC_BASE_URL
|
||||
labelEn: Next Public Base URL
|
||||
labelZh: 公共基本 URL
|
||||
required: true
|
||||
rule: paramExtUrl
|
||||
type: text
|
||||
- default: "my_ultra_secure_nextauth_secret"
|
||||
envKey: NEXTAUTH_SECRET
|
||||
labelEn: NextAuth Secret
|
||||
labelZh: NextAuth 密钥
|
||||
random: true
|
||||
required: true
|
||||
rule: paramComplexity
|
||||
type: password
|
||||
- default: ""
|
||||
envKey: PANEL_DB_HOST
|
||||
key: postgresql
|
||||
labelEn: PostgreSQL Database Service
|
||||
labelZh: PostgreSQL 数据库服务
|
||||
required: true
|
||||
type: service
|
||||
- default: "5432"
|
||||
edit: true
|
||||
envKey: PANEL_DB_PORT
|
||||
labelEn: Database Port Number
|
||||
labelZh: 数据库端口号
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: "blinko"
|
||||
envKey: PANEL_DB_NAME
|
||||
labelEn: Database
|
||||
labelZh: 数据库名
|
||||
random: true
|
||||
required: true
|
||||
rule: paramCommon
|
||||
type: text
|
||||
- default: "blinko"
|
||||
envKey: PANEL_DB_USER
|
||||
labelEn: User
|
||||
labelZh: 数据库用户
|
||||
random: true
|
||||
required: true
|
||||
rule: paramCommon
|
||||
type: text
|
||||
- default: "blinko"
|
||||
envKey: PANEL_DB_USER_PASSWORD
|
||||
labelEn: Password
|
||||
labelZh: 数据库用户密码
|
||||
random: true
|
||||
required: true
|
||||
rule: paramComplexity
|
||||
type: password
|
||||
@@ -0,0 +1,35 @@
|
||||
services:
|
||||
blinko:
|
||||
image: "blinkospace/blinko:1.0.3"
|
||||
container_name: ${CONTAINER_NAME}
|
||||
environment:
|
||||
NODE_ENV: production
|
||||
NEXTAUTH_URL: ${NEXTAUTH_URL}
|
||||
NEXT_PUBLIC_BASE_URL: ${NEXT_PUBLIC_BASE_URL}
|
||||
NEXTAUTH_SECRET: ${NEXTAUTH_SECRET}
|
||||
DATABASE_URL: postgresql://${PANEL_DB_USER}:${PANEL_DB_USER_PASSWORD}@${PANEL_DB_HOST}:${PANEL_DB_PORT}/${PANEL_DB_NAME}
|
||||
depends_on:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
volumes:
|
||||
- "./data:/app/.blinko"
|
||||
restart: always
|
||||
logging:
|
||||
options:
|
||||
max-size: "10m"
|
||||
max-file: "3"
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP}:1111"
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:1111/"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 5
|
||||
start_period: 30s
|
||||
networks:
|
||||
- 1panel-network
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
@@ -0,0 +1,49 @@
|
||||
|
||||
# Blinko - 开源、自托管的笔记应用
|
||||
|
||||
Blinko 是一个创新的开源项目,专为那些想要快速捕捉和组织灵感的人设计。它允许用户在灵感闪现的瞬间无缝记录想法,确保不错过任何创意火花。
|
||||
|
||||
[在线演示](https://demo.blinko.space) •
|
||||
[文档](https://docs.blinko.space/introduction) •
|
||||
|
||||
> 在线演示账号: username:blinko password:blinko
|
||||
|
||||
## 🚀主要特性
|
||||
- 🤖**AI 增强笔记检索**:通过 Blinko 的先进 AI 驱动的 RAG(检索增强生成)技术,你可以使用自然语言查询快速搜索和访问笔记,轻松找到所需内容。支持 OpenAI、Azure OpenAI 和 Ollama。
|
||||
|
||||
- 🔒**数据所有权**:你的隐私至关重要。所有笔记和数据都安全存储在你的自托管环境中,确保对信息的完全控制。
|
||||
|
||||
- 🚀**高效快速**:即时捕捉想法并以纯文本形式存储以便于访问,完全支持 Markdown 格式,便于快速排版和分享。
|
||||
|
||||
- 💡**轻量架构,多端支持**:基于 Tauri 构建的 Blinko 采用简洁轻量的架构,在保持卓越速度和效率的同时,并且支持Macos,Windows,Android,Linux等多平台。
|
||||
|
||||
- 🔓**开放协作**:作为开源项目,Blinko 欢迎社区贡献。所有代码都在 GitHub 上公开透明,培养协作和持续改进的精神。
|
||||
|
||||
## 🤖 AI 模型支持
|
||||
### OpenAI
|
||||
- 支持 OpenAI API
|
||||
- 支持自定义 API 地址
|
||||
- 支持 Azure OpenAI
|
||||
|
||||
### Ollama
|
||||
- 支持本地部署
|
||||
- 默认地址:http://127.0.0.1:11434
|
||||
- 支持所有 Ollama 模型
|
||||
- 完全免费,无需 API Key
|
||||
|
||||
## 📦快速开始(Docker Compose)
|
||||
|
||||
```bash
|
||||
curl -s https://raw.githubusercontent.com/blinko-space/blinko/main/install.sh | bash
|
||||
```
|
||||
|
||||
## 环境配置
|
||||
|
||||
您可以通过设置不同的选项在运行时配置Blinko服务器。这些选项既可以作为环境变量定义,也可以作为命令行参数在启动服务器时指定。如果两种方法同时使用,命令行参数将优先于环境变量。以下是可用的配置选项列表:
|
||||
|
||||
| 环境变量 | 描述 |
|
||||
|------------------------|------------------------------------------------|
|
||||
| NEXTAUTH_URL | 指定应用程序的基础URL,通常是部署站点的根URL,用于身份验证回调和重定向。 |
|
||||
| NEXT_PUBLIC_BASE_URL | 定义应用程序的公共基础URL,用作前端和API请求的基础路径。 |
|
||||
| NEXTAUTH_SECRET | 用于加密会话和身份验证令牌的密钥,以确保用户数据的安全性。 |
|
||||
| DATABASE_URL | 数据库连接URL,用于连接和访问Blinko的数据库。 |
|
||||
@@ -0,0 +1,19 @@
|
||||
name: Blinko
|
||||
tags:
|
||||
- 实用工具
|
||||
title: 一款开源、自托管的个人笔记工具
|
||||
description: 一款开源、自托管的个人笔记工具
|
||||
additionalProperties:
|
||||
key: blinko
|
||||
name: Blinko
|
||||
tags:
|
||||
- Tool
|
||||
shortDescZh: 一款开源、自托管的个人笔记工具
|
||||
shortDescEn: An open-source, self-hosted personal note tool
|
||||
type: tool
|
||||
crossVersionUpdate: true
|
||||
limit: 0
|
||||
recommend: 0
|
||||
website: https://blinko-demo.vercel.app
|
||||
github: https://github.com/blinko-space/blinko
|
||||
document: https://blinko-doc.vercel.app/intro.html
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 18 KiB |
Reference in New Issue
Block a user