fork of https://forged.synth.download/sd/pds-dash but with my cool and awesome customization!
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

don't ignore config.ts

Ruben 8d6522e6 f7127854

+45 -4
+1 -4
.gitignore
··· 149 149 .yarn/unplugged 150 150 .yarn/build-state.yml 151 151 .yarn/install-state.gz 152 - .pnp.* 153 - 154 - # Config files 155 - config.ts 152 + .pnp.*
+44
config.ts
··· 1 + /** 2 + * Configuration module for the PDS Dashboard 3 + */ 4 + export class Config { 5 + /** 6 + * The base URL of the PDS (Personal Data Server). 7 + * @default none 8 + */ 9 + static readonly PDS_URL: string = "https://pds.synth.download"; 10 + 11 + /** 12 + * Theme to be used 13 + * @default "default" 14 + */ 15 + static readonly THEME: string = "synthdownload"; 16 + 17 + /** 18 + * The base URL of the frontend service for linking to replies/quotes/accounts etc. 19 + * @default "https://deer.social" // or https://bsky.app if you're boring 20 + */ 21 + static readonly FRONTEND_URL: string = "https://deer.social"; 22 + 23 + /** 24 + * Maximum number of posts to fetch from the PDS per request 25 + * Should be around 20 for about 10 users on the pds 26 + * The more users you have, the lower the number should be 27 + * since sorting is slow and is done on the frontend 28 + * @default 20 29 + */ 30 + static readonly MAX_POSTS: number = 20; 31 + 32 + /** 33 + * Footer text for the dashboard, you probably want to change this. Supports HTML. 34 + * @default "<a href='https://git.witchcraft.systems/scientific-witchery/pds-dash' target='_blank'>Source</a> (<a href='https://github.com/witchcraft-systems/pds-dash/' target='_blank'>github mirror</a>)" 35 + */ 36 + static readonly FOOTER_TEXT: string = 37 + "<a href='https://synth.download' target='_blank'>Site</a> <span>•</span> <a href='https://forged.synth.download/sd/pds-dash' target='_blank'>Source</a>"; 38 + 39 + /** 40 + * Whether to show the posts with timestamps that are in the future. 41 + * @default false 42 + */ 43 + static readonly SHOW_FUTURE_POSTS: boolean = false; 44 + }