/** * Configuration module for the PDS Dashboard */ export class Config { /** * The base URL of the PDS (Personal Data Server). * @default none */ static readonly PDS_URL: string = "https://pds.solanaceae.net"; /** * Theme to be used * @default "default" */ static readonly THEME: string = "dark"; /** * The base URL of the frontend service for linking to replies/quotes/accounts etc. * @default "https://deer.social" // or https://bsky.app if you're boring */ // static readonly FRONTEND_URL: string = "https://deer.social"; static readonly FRONTEND_URL: string = "https://reddwarf.app"; /** * The base URL of the frontend service for linking to user profiles. * @default "https://deer.social/profile" or whatever. (needs /profile since aturi doesn't use that path) */ static readonly FRONTEND_PROFILE_URL: string = "https://aturi.to"; /** * Maximum number of posts to fetch from the PDS per request * Should be around 20 for about 10 users on the pds * The more users you have, the lower the number should be * since sorting is slow and is done on the frontend * @default 20 */ static readonly MAX_POSTS: number = 20; /** * Footer text for the dashboard, you probably want to change this. Supports HTML. * @default "Source (github mirror)" */ static readonly FOOTER_TEXT: string = "Source (Forked with <3 from selfhosted.social)"; /** * Whether to show the posts with timestamps that are in the future. * @default false */ static readonly SHOW_FUTURE_POSTS: boolean = false; }