Files
fluxer/settings
NoLogicAlan 092268281a refactor: centralize shared utilities, fix voice intent, and improve error visibility
- extract `cleanId()` to `Utils.mjs` and remove 97+ inline `String(x).replace(/\D/g, "")` duplicates

- add `VoiceStateResolver.mjs` with `iterateVoiceStates`, `hasHumansInChannel`, `getChannelsWithHumans` — eliminates 12+ duplicated voice-state-iteration blocks across `Player`, `PlayerManager`, `GatewayHandler`, `Dashboard`

- add `UI.mjs` for shared color, emoji, and timeout constants

- move `parseInlineProvider` to `providers.mjs`, `getMessageGuildId` to `MessageHandler.mjs`

- fix `VoiceStateCache.removeGuild` and `TrackOptionsManager` cache deletion mutating Maps during iteration

- fix `checkVoiceChannels` now async returning `{channelId, alreadyInVoice, hasHumans}` — all callers updated

- fix `FluxerRevoice` global `console.log` monkey-patch replaced with scoped `withSuppressedLiveKitLogs(fn)`

- fix `Player._get247Mode()` settings resolution chain

- fix `runnables.mjs` validators were no-ops

- promote `Player` magic numbers to named static constants

- replace all silent `catch (_) {}` with `logger.warn()` throughout

- remove unused deps: `express`, `genius-lyrics`, `ws`

- add `@file` JSDoc headers to all modules
2026-06-15 16:56:10 +03:00
..
2026-04-14 02:23:18 +03:00

WIP Web Dashboard for Remix

Control Remix through a web interface and set server settings and similar.

Installation instructions will follow soon™️

Setup

  1. Create a mysql server with the following table:
CREATE TABLE `ksiTokens` (
`user` varchar(26) NOT NULL,
`id` varchar(50) NOT NULL,
`token` varchar(70) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL,
`createdAt` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

CREATE TABLE `logins` (
`user` text NOT NULL,
`id` varchar(50) NOT NULL,
`token` varchar(70) NOT NULL,
`verified` tinyint(1) NOT NULL,
`createdAt` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
  1. Fill out the connection details in config.json in the remix root directory (See config.example.json)
  2. SSL setup:
  • Create a certificate. For example using Let's Encrypt
  • Find the path to your private key and certificate pem files. Certbot uses /etc/letsencrypt/live/remix.fairuse.org/privkey.pem for the private key and /etc/letsencrypt/live/remix.fairuse.org/fullchain.pem for the certificate file. Fill in the paths in the config file
  • set useSSL in config.json to true
  • Make sure to configure the ports correctly. HTTPS connects to port 443 so make sure to set webPort accordingly.

Credits for Website design:

  • NoLogicAlan
  • ophx
  • ShadowLp174
  • Fantic