···11+// please change the branding if you are not it hosting on reddwarf.app
22+export const HOST_TITLE = "Red Dwarf"
33+// also replace favicon files and defaultpfp.png and check LogoSvg.tsx
44+// todo generate manifest.json and index.html from this file
55+// todo have the bottom left and right blurbs on the desktop (should move it to settings for mobile) also customizable
66+17export const FORCED_LABELER_DIDS = [
28 "did:plc:ar7c4by46qjdydhdevvrndac" // bluesky moderation
39];
+5-4
src/routes/__root.tsx
···1818import { Toaster } from "sonner";
1919import { KeepAliveOutlet, KeepAliveProvider } from "tanstack-router-keepalive";
20202121+import { HOST_TITLE } from "~/../policy";
2122import { Composer } from "~/components/Composer";
2223import { DefaultCatchBoundary } from "~/components/DefaultCatchBoundary";
2324import { Import } from "~/components/Import";
···4546 content: "width=device-width, initial-scale=1",
4647 },
4748 ...seo({
4848- title: "Red Dwarf",
4949+ title: HOST_TITLE,
4950 description: `Distributed Bluesky Client`,
5051 }),
5152 ],
···260261 }}
261262 />
262263 <span className="font-extrabold text-2xl text-gray-900 dark:text-gray-100">
263263- Red Dwarf{" "}
264264+ {HOST_TITLE}{" "}
264265 {/* <span className="text-gray-500 dark:text-gray-400 text-sm">
265266 lite
266267 </span> */}
···663664 <Login />
664665 <div className="flex-1"></div>
665666 <p className="text-xs text-gray-400 dark:text-gray-500 text-justify mx-4 mb-4">
666666- Red Dwarf is a Bluesky client that does not rely on any Bluesky API
667667+ {HOST_TITLE} is a Bluesky client that does not rely on any Bluesky API
667668 App Servers. Instead, it uses Microcosm to fetch records directly
668669 from each users' PDS (via Slingshot) and connect them using
669670 backlinks (via Constellation)
···854855 }}
855856 />
856857 <span className="font-bold text-lg text-gray-900 dark:text-gray-100">
857857- Red Dwarf{" "}
858858+ {HOST_TITLE}{" "}
858859 {/* <span className="text-gray-500 dark:text-gray-400 text-sm">
859860 lite
860861 </span> */}
+5-4
src/routes/search.tsx
···44import { useAtom } from "jotai";
55import { useEffect,useMemo } from "react";
6677+import { HOST_TITLE } from "~/../policy";
78import { Header } from "~/components/Header";
89import { Import } from "~/components/Import";
910import {
···5960 }, [lycanExists, authed, lycanReady, refetch]);
60616162 const maintext = !lycanExists
6262- ? "Sorry we dont have search. But instead, you can load some of these types of content into Red Dwarf:"
6363+ ? `Sorry we dont have search. But instead, you can load some of these types of content into ${HOST_TITLE}:`
6364 : authed
6465 ? lycanReady
6565- ? "Lycan Search is enabled and ready! Type to search posts you've interacted with in the past. You can also load some of these types of content into Red Dwarf:"
6666- : "Sorry, while Lycan Search is enabled, you are not indexed. Index below please. You can load some of these types of content into Red Dwarf:"
6767- : "Sorry, while Lycan Search is enabled, you are unauthed. Please log in to use Lycan. You can load some of these types of content into Red Dwarf:";
6666+ ? `Lycan Search is enabled and ready! Type to search posts you've interacted with in the past. You can also load some of these types of content into ${HOST_TITLE}:`
6767+ : `Sorry, while Lycan Search is enabled, you are not indexed. Index below please. You can load some of these types of content into ${HOST_TITLE}:`
6868+ : `Sorry, while Lycan Search is enabled, you are unauthed. Please log in to use Lycan. You can load some of these types of content into ${HOST_TITLE}:`;
68696970 async function index(opts: {
7071 agent?: Agent;
+5-4
src/routes/settings.tsx
···33import { Slider, Switch } from "radix-ui";
44import { useEffect, useState } from "react";
5566+import { HOST_TITLE } from "~/../policy";
67import { Header } from "~/components/Header";
78import Login from "~/components/Login";
89import {
···8990 atom={constellationURLAtom}
9091 title={"Constellation"}
9192 description={
9292- "Customize the Constellation instance to be used by Red Dwarf"
9393+ "Customize the Constellation instance to be used by " + HOST_TITLE
9394 }
9495 init={defaultconstellationURL}
9596 />
9697 <TextInputSetting
9798 atom={slingshotURLAtom}
9899 title={"Slingshot"}
9999- description={"Customize the Slingshot instance to be used by Red Dwarf"}
100100+ description={"Customize the Slingshot instance to be used by " + HOST_TITLE}
100101 init={defaultslingshotURL}
101102 />
102103 <TextInputSetting
103104 atom={imgCDNAtom}
104105 title={"Image CDN"}
105106 description={
106106- "Customize the Constellation instance to be used by Red Dwarf"
107107+ "Customize the Constellation instance to be used by " + HOST_TITLE
107108 }
108109 init={defaultImgCDN}
109110 />
110111 <TextInputSetting
111112 atom={videoCDNAtom}
112113 title={"Video CDN"}
113113- description={"Customize the Slingshot instance to be used by Red Dwarf"}
114114+ description={"Customize the Slingshot instance to be used by " + HOST_TITLE}
114115 init={defaultVideoCDN}
115116 />
116117 <TextInputSetting