Files
Djeex 054dd25079 Rename the project to Instameex
Renames the app throughout: page titles, eyebrow/version labels,
Docker startup banner, main.py's header docstring, and the repo
links in the footer (now pointing at git.djeex.fr/Djeex/instameex
and github.com/Djeex/instameex, matching the renamed Gitea/GitHub
repos). Docker image and container are now named "instameex" too
(docker/compose.yaml), replacing the old instagram-hdr naming.

Adds the new logo: logo.svg is wired up as the favicon on both
pages, and logo-long.svg replaces the plain-text "Instameex" eyebrow
on the upload page as a properly sized wordmark.

The startup banner box width was recalculated by hand for the new
content (name plus Source:/Mirror: links instead of the old
license/upstream-credit lines), verified against a real container
rebuild so the border characters stay aligned.

kostis-kounadis/instagram-hdr-assembler references are left alone
throughout (README and banner): that's the separate upstream project
this app's gain-map logic is adapted from, not this app's own name.
2026-08-01 16:07:43 +02:00

31 lines
1.3 KiB
Bash
Executable File

#!/bin/sh
set -e
CYAN="\033[1;36m"
NC="\033[0m"
VERSION=$(cat /app/VERSION)
echo -e "${CYAN}╭──────────────────────────────────────────────╮${NC}"
echo -e "${CYAN}${NC} Instam${CYAN}eex${NC} - Version ${VERSION} ${CYAN}${NC}"
echo -e "${CYAN}├──────────────────────────────────────────────┤${NC}"
echo -e "${CYAN}${NC} Source: https://git.djeex.fr/Djeex/instameex ${CYAN}${NC}"
echo -e "${CYAN}${NC} Mirror: https://github.com/Djeex/instameex ${CYAN}${NC}"
echo -e "${CYAN}╰──────────────────────────────────────────────╯${NC}"
echo -e "[~] Checking required external tools..."
missing=""
for tool in ultrahdr_app exiftool; do
if ! command -v "$tool" >/dev/null 2>&1; then
missing="$missing $tool"
fi
done
if [ -n "$missing" ]; then
echo -e "[!] Missing required tools:$missing"
exit 1
fi
echo -e "[✓] Required tools found: ultrahdr_app, exiftool"
echo -e "[~] Starting Instameex web server..."
exec gunicorn --bind 0.0.0.0:5000 --workers 1 --threads 4 --timeout 120 main:app