chore(release): add LICENSE and root .env.example for BYOK packaging

Co-Authored-By: BotTony329 <[email protected]>
This commit is contained in:
BotTony329
2026-08-22 15:10:45 +10:00
co-authored by BotTony329
parent e142399b30
commit 15734bd912
2 changed files with 62 additions and 0 deletions
+40
View File
@@ -0,0 +1,40 @@
# ─── Required deployment secret ─────────────────────────────────────────────
# Encrypts user-provided AI provider credentials (BYOK) into HttpOnly session
# cookies. It does NOT contain any AI API key itself. Generate a long random
# string, e.g.: openssl rand -base64 32
APP_ENCRYPTION_KEY=
# ─── Persistent object storage for generated/uploaded images ────────────────
# On Vercel: create a Blob store and this token is injected automatically.
# Locally without a token, files fall back to ./.data (dev only).
BLOB_READ_WRITE_TOKEN=
# ─── Optional deployment-default providers ──────────────────────────────────
# Users normally connect their own providers in-app via AI Settings (BYOK).
# These env vars are an OPTIONAL operator fallback used only when a user has
# no session configuration of their own. User BYOK settings always win.
# Image generation fallback: "gemini" | "generic-rest"
# IMAGE_PROVIDER=gemini
# GEMINI_API_KEY=
# IMAGE_MODEL=gemini-2.5-flash-image
# IMAGE_API_BASE_URL=
# IMAGE_API_KEY=
# Background-removal fallback (users can instead configure this in AI Settings)
# BACKGROUND_REMOVAL_PROVIDER=remove-bg
# BACKGROUND_REMOVAL_API_KEY=
# BACKGROUND_REMOVAL_API_BASE_URL=https://api.remove.bg/v1.0/removebg
# BACKGROUND_REMOVAL_MODEL=background-removal
# Manga Agent LLM fallback (OpenAI-compatible; defaults target DeepSeek)
# AGENT_API_KEY=
# AGENT_API_BASE_URL=https://api.deepseek.com
# AGENT_MODEL=deepseek-chat
# ─── Development only ───────────────────────────────────────────────────────
# Set to "1" to allow private-network provider URLs (localhost model servers
# like Ollama/LM Studio) in local development. Never set in production —
# hosted serverless can't reach your localhost anyway, and allowing private
# ranges there would open SSRF.
# ALLOW_PRIVATE_NETWORKS=1
+22
View File
@@ -0,0 +1,22 @@
MIT License
Copyright (c) 2026 BotTony329 (https://github.com/BotTony329)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice, this permission notice and the attribution in
NOTICE.md shall be included in all copies or substantial portions of the
Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.