Files
Felitendo ff0d3108fe feat: merge the web dashboard into the monorepo as ftstore admin
FTStore now holds both halves of the product:

  ios/   the swift app — the fork of claration/Feather, unchanged apart
         from its new home
  web/   FTStore Admin, formerly its own repository. serves the
         dashboard at /admin, the ftstore.json feed and IPA downloads

app-repo.json and Images/ stay at the repo root on purpose: the former is
a published AltStore source whose raw.githubusercontent URL is what
installed copies resolve updates through, so moving it would break every
subscriber.

The admin server is renamed throughout: package ftstore-admin, images
ghcr.io/<owner>/ftstore-admin-{app,worker}, postgres role/db ftstore,
session cookie ftstore_session, temp dir /tmp/ftstore, backup type
ftstore-settings, outbound user-agent FTStoreAdmin. backups written under the old
name still import, and compose is pinned to name: ftstore so the
volume prefix does not follow the directory name.

apply-rebrand.sh gains a relocation step: upstream's tree is rooted at
the repo root while ours lives in ios/, so a merge drops Feather's files
next to ios/ and the script folds them in before renaming. it never
touches web/. still idempotent.

release tags are namespaced — v* for the app, web-v* for the server —
so a server release no longer triggers a macOS build or rewrites
app-repo.json. workflows are prefixed ios-/web- and path-filtered.
2026-08-03 10:25:03 +02:00

39 lines
1.1 KiB
Bash

# Database
DATABASE_URL="postgresql://ftstore:ftstore@localhost:5432/ftstore?schema=public"
# Telegram (TDLib)
TELEGRAM_API_ID=
TELEGRAM_API_HASH=
TELEGRAM_PHONE=
TELEGRAM_CHANNELS=channel1,channel2
# GitHub
# Only a fallback for the FTStore Manager proxy (/api/ftstore-app/*). IPAs, the
# feed and tweak icons are all served from this server; repositories to scrape
# are configured per source in Settings → Channels, each with its own token.
GITHUB_TOKEN=
# Optional: token used only by /api/ftstore-app/*.
# Falls back to GITHUB_TOKEN when left blank. The FTStore app repo is hardcoded.
FTSTORE_APP_GITHUB_TOKEN=
# App Store
APPSTORE_COUNTRY=us
# Application
NODE_ENV=development
PORT=3000
SCAN_INTERVAL_MINUTES=30
JSON_REGEN_INTERVAL_MINUTES=60
CLEANUP_INTERVAL_HOURS=24
MAX_VERSIONS_PER_APP=5
TEMP_DIR=/tmp/ftstore
LOG_RETENTION_DAYS=30
# Local storage for IPA files and tweak icons. Must be the same volume in the
# app and worker containers.
STORAGE_DIR=/app/storage
# Total-size cap in GiB. The scraper stops downloading once stored IPAs reach
# it; manual dashboard uploads are never blocked. 0 = unlimited.
MAX_STORAGE_GB=0