mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-05 16:23:36 +00:00
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.
96 lines
2.7 KiB
TypeScript
96 lines
2.7 KiB
TypeScript
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',
|
|
type: 'shakespeare',
|
|
name: 'Shakespeare Deploy',
|
|
description: 'Deploy to Shakespeare hosting with Nostr authentication',
|
|
baseURL: 'https://shakespeare.diy',
|
|
requiresNostr: true,
|
|
},
|
|
{
|
|
id: 'nsite',
|
|
type: 'nsite',
|
|
name: 'nsite',
|
|
description: 'Deploy to Nostr as a static website',
|
|
// No baseURL for nsite - uses Rocket icon fallback
|
|
},
|
|
{
|
|
id: 'netlify',
|
|
type: 'netlify',
|
|
name: 'Netlify',
|
|
description: 'Deploy to Netlify',
|
|
baseURL: 'https://api.netlify.com/api/v1',
|
|
apiKeyLabel: 'Personal Access Token',
|
|
apiKeyURL: 'https://app.netlify.com/user/applications#personal-access-tokens',
|
|
proxy: true,
|
|
},
|
|
{
|
|
id: 'vercel',
|
|
type: 'vercel',
|
|
name: 'Vercel',
|
|
description: 'Deploy to Vercel',
|
|
baseURL: 'https://api.vercel.com',
|
|
apiKeyLabel: 'Access Token',
|
|
apiKeyURL: 'https://vercel.com/account/tokens',
|
|
proxy: true,
|
|
},
|
|
{
|
|
id: 'cloudflare',
|
|
type: 'cloudflare',
|
|
name: 'Cloudflare',
|
|
description: 'Deploy to Cloudflare Workers',
|
|
baseURL: 'https://api.cloudflare.com/client/v4',
|
|
apiKeyLabel: 'API Token',
|
|
apiKeyURL: 'https://dash.cloudflare.com/profile/api-tokens',
|
|
accountIdLabel: 'Account ID',
|
|
accountIdURL: 'https://developers.cloudflare.com/fundamentals/account/find-account-and-zone-ids/',
|
|
proxy: true,
|
|
},
|
|
{
|
|
id: 'deno',
|
|
type: 'deno',
|
|
name: 'Deno Deploy',
|
|
description: 'Deploy to Deno Deploy',
|
|
baseURL: 'https://api.deno.com/v1',
|
|
apiKeyLabel: 'Access Token',
|
|
apiKeyURL: 'https://dash.deno.com/account#access-tokens',
|
|
organizationIdLabel: 'Organization ID',
|
|
organizationIdURL: 'https://dash.deno.com/orgs',
|
|
proxy: true,
|
|
},
|
|
{
|
|
id: 'railway',
|
|
type: 'railway',
|
|
name: 'Railway',
|
|
description: 'Deploy to Railway',
|
|
baseURL: 'https://backboard.railway.com',
|
|
apiKeyLabel: 'API Token',
|
|
apiKeyURL: 'https://railway.app/account/tokens',
|
|
proxy: true,
|
|
},
|
|
];
|