mirror of
https://github.com/elripalda/psgfx.git
synced 2026-10-18 02:00:34 +02:00
- Redesigned interface: larger, glass style with a chromatic rim, animated view/tab switches, search in the app list, Icon/Background/Music/Name tabs. - Connecting moved into a centred pop-up with step-by-step instructions; the header shows a connection button instead of the IP field. - Home layout preview: the selected tile keeps its white outline on every side, the row slides when the selection moves, Games/Media fade, and the background crossfades. - Hiding or moving a tile off the current tab selects the next one, with Undo. - Community icons: browse, use, share and report icons per game. The server (community-server/, PHP) checks uploads, saves them to a public GitHub repo with thumbnails and a site mirror, and has a moderation page. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01B3zQD8DZVn9N7NJ6NHPLGg
23 lines
943 B
PHP
23 lines
943 B
PHP
<?php
|
|
// PSGFX community icons - settings. Copy this file to config.php and fill it in.
|
|
// config.php holds your GitHub key: never share it or put it on GitHub.
|
|
|
|
// The GitHub repository the icons are saved to, as "owner/name". It must be public.
|
|
const GITHUB_REPO = 'elripalda/psgfx-community';
|
|
const GITHUB_BRANCH = 'main';
|
|
|
|
// A fine-grained personal access token with access to ONLY that repository,
|
|
// permission "Contents: Read and write". See SETUP.md.
|
|
const GITHUB_TOKEN = 'github_pat_PASTE_YOURS_HERE';
|
|
|
|
// Password for mod.php, where you review and delete icons. Pick a long one.
|
|
const ADMIN_PASSWORD = 'change-me-to-something-long';
|
|
|
|
// Limits per person (by IP address).
|
|
const UPLOADS_PER_HOUR = 10;
|
|
const UPLOADS_PER_DAY = 30;
|
|
// An icon is hidden after this many different people report it, until you look at it in mod.php.
|
|
const REPORTS_TO_HIDE = 3;
|
|
// Largest file accepted, in bytes.
|
|
const MAX_UPLOAD_BYTES = 6 * 1024 * 1024;
|