Update default blossom servers and relay lists

Add blossom.ditto.pub and blossom.dreamith.to to the top of all blossom
server lists. Add relay.dreamith.to below relay.ditto.pub and remove
relay.damus.io and purplerelay.com from deploy relay lists.
This commit is contained in:
Alex Gleason committed 2026-04-03 23:59:20 -05:00
1 parent d2673effd8
commit 269047d742
8 files changed
+34 -27

No files matched your search

+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "shakespeare.diy",
"version": "9.10.4",
"version": "9.11.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "shakespeare.diy",
"version": "9.10.4",
"version": "9.11.0",
"license": "AGPL-3.0-or-later",
"dependencies": {
"@capacitor/app": "^8.1.0",
+2 -2
View File
@@ -86,7 +86,7 @@ export function AddCustomProviderDialog({
name: customName.trim(),
gateway: customGateway.trim() || 'shakespeare.to',
relayUrls: customRelayUrls.length > 0 ? customRelayUrls : ['wss://relay.ditto.pub'],
blossomServers: customBlossomServers.length > 0 ? customBlossomServers : ['https://blossom.primal.net/'],
blossomServers: customBlossomServers.length > 0 ? customBlossomServers : ['https://blossom.ditto.pub/', 'https://blossom.dreamith.to/'],
};
} else if (customProviderType === 'netlify') {
if (!customApiKey.trim()) return;
@@ -269,7 +269,7 @@ export function AddCustomProviderDialog({
items={customBlossomServers}
onChange={setCustomBlossomServers}
protocol="https"
placeholder="blossom.primal.net"
placeholder="blossom.ditto.pub"
/>
</>
) : (
+2 -1
View File
@@ -3,9 +3,10 @@ import { DeploySettingsContext, type DeploySettings, type DeployProvider } from
import { useFS } from '@/hooks/useFS';
import { useFSPaths } from '@/hooks/useFSPaths';
import { readDeploySettings, writeDeploySettings } from '@/lib/configUtils';
import { DEFAULT_NSITE_PROVIDER } from '@/lib/deployProviderPresets';
const DEFAULT_SETTINGS: DeploySettings = {
providers: [],
providers: [DEFAULT_NSITE_PROVIDER],
};
export function DeploySettingsProvider({ children }: { children: ReactNode }) {
+1 -1
View File
@@ -152,7 +152,7 @@ export function ProviderConfigDialog({
items={localProvider.blossomServers ?? []}
onChange={(servers) => setLocalProvider({ ...localProvider, blossomServers: servers })}
protocol="https"
placeholder="blossom.primal.net"
placeholder="blossom.ditto.pub"
required
/>
</>
+2 -1
View File
@@ -14,8 +14,9 @@ export function useUploadFile() {
const uploader = new BlossomUploader({
servers: [
'https://blossom.primal.net/',
'https://blossom.ditto.pub/',
'https://blossom.dreamith.to/',
'https://blossom.primal.net/',
],
signer: user.signer,
});
+22
View File
@@ -1,5 +1,27 @@
import type { NsiteProvider } from '@/contexts/DeploySettingsContext';
import type { PresetDeployProvider } from './deploy/types';
/** Default nsite provider configuration, pre-configured for new users. */
export const DEFAULT_NSITE_PROVIDER: NsiteProvider = {
id: 'nsite',
name: 'nsite',
type: 'nsite',
gateway: 'shakespeare.to',
relayUrls: [
'wss://relay.ditto.pub',
'wss://relay.dreamith.to',
'wss://relay.nsite.lol',
'wss://relay.nosto.re',
'wss://relay.primal.net',
],
blossomServers: [
'https://blossom.ditto.pub',
'https://blossom.dreamith.to',
'https://blossom.primal.net',
'https://cdn.sovbit.host',
],
};
export const PRESET_DEPLOY_PROVIDERS: PresetDeployProvider[] = [
{
id: 'shakespeare',
+1 -1
View File
@@ -45,7 +45,7 @@ export class BlossomUploadTool implements Tool<BlossomUploadParams> {
});
const uploader = new BlossomUploader({
servers: ['https://blossom.primal.net/', 'https://blossom.ditto.pub/'],
servers: ['https://blossom.ditto.pub/', 'https://blossom.dreamith.to/', 'https://blossom.primal.net/'],
signer: this.signer,
});
+2 -19
View File
@@ -9,7 +9,7 @@ import { useVercelOAuth } from '@/hooks/useVercelOAuth';
import { useCurrentUser } from '@/hooks/useCurrentUser';
import type { DeployProvider } from '@/contexts/DeploySettingsContext';
import type { PresetDeployProvider } from '@/lib/deploy/types';
import { PRESET_DEPLOY_PROVIDERS } from '@/lib/deployProviderPresets';
import { PRESET_DEPLOY_PROVIDERS, DEFAULT_NSITE_PROVIDER } from '@/lib/deployProviderPresets';
import { ExternalFavicon } from '@/components/ExternalFavicon';
import { ProviderConfigDialog } from '@/components/ProviderConfigDialog';
import { AddDeployProviderDialog } from '@/components/AddDeployProviderDialog';
@@ -202,24 +202,7 @@ export function DeploySettings() {
...(preset.proxy && { proxy: true }),
};
} else if (preset.type === 'nsite') {
newProvider = {
id: preset.id, // Use preset ID for presets
name: preset.name,
type: 'nsite',
gateway: 'shakespeare.to',
relayUrls: [
'wss://relay.ditto.pub',
'wss://relay.nsite.lol',
'wss://relay.nosto.re',
'wss://relay.primal.net',
'wss://relay.damus.io',
'wss://purplerelay.com',
],
blossomServers: [
'https://blossom.primal.net',
'https://cdn.sovbit.host',
],
};
newProvider = { ...DEFAULT_NSITE_PROVIDER };
} else if (preset.type === 'netlify') {
newProvider = {
id: preset.id, // Use preset ID for presets