deer social fork for personal usage. but you might see a use idk. github mirror

replace deer.social with social.daniela.lol on site

Changed files
+48 -41
deer-static-about
functions
profile
[handleOrDID]
post
src
web
+6 -2
app.config.js
··· 18 18 const IS_DEV = !IS_TESTFLIGHT || !IS_PRODUCTION 19 19 20 20 const ASSOCIATED_DOMAINS = [ 21 - 'applinks:deer.social', 21 + 'applinks:social.daniela.lol', 22 22 // When testing local services, enter an ngrok (et al) domain here. It must use a standard HTTP/HTTPS port. 23 23 ...(IS_DEV || IS_TESTFLIGHT ? [] : []), 24 24 ] ··· 63 63 'Used to save images to your library.', 64 64 NSPhotoLibraryUsageDescription: 65 65 'Used for profile pictures, posts, and other kinds of content', 66 - CFBundleSpokenName: 'deer.social', 66 + CFBundleSpokenName: 'social.daniela.lol', 67 67 CFBundleLocalizations: [ 68 68 'en', 69 69 'an', ··· 159 159 action: 'VIEW', 160 160 autoVerify: true, 161 161 data: [ 162 + { 163 + scheme: 'https', 164 + host: 'social.daniela.lol', 165 + }, 162 166 { 163 167 scheme: 'https', 164 168 host: 'deer.social',
+3 -3
deer-static-about/index.html
··· 7 7 name="viewport" 8 8 content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1.00001, viewport-fit=cover" 9 9 /> 10 - <title>deer.social | about</title> 11 - <meta http-equiv="refresh" content="0;url=https://github.com/a-viv-a/deer-social"> 10 + <title>social.daniela.lol | about</title> 11 + <meta http-equiv="refresh" content="0;url=https://github.com/danielah05/deer-social"> 12 12 13 13 <link rel="preload" as="font" type="font/woff2" href="/static/media/InterVariable.c504db5c06caaf7cdfba.woff2" crossorigin> 14 14 ··· 16 16 <link rel="stylesheet" href="sakura.css" type="text/css"> 17 17 </head> 18 18 <script type="text/javascript"> 19 - window.location.href = "https://github.com/a-viv-a/deer-social"; 19 + window.location.href = "https://github.com/danielah05/deer-social"; 20 20 </script> 21 21 <body> 22 22 <h1>redirecting to github readme...</h1>
+3 -3
functions/profile/[handleOrDID].ts
··· 81 81 <meta name="twitter:card" content="summary_large_image" /> 82 82 ` 83 83 : view.avatar 84 - ? html`<meta name="twitter:card" content="summary" />` 85 - : '' 84 + ? html`<meta name="twitter:card" content="summary" />` 85 + : '' 86 86 element.append( 87 87 html` 88 - <meta property="og:site_name" content="deer.social" /> 88 + <meta property="og:site_name" content="social.daniela.lol" /> 89 89 <meta property="og:type" content="profile" /> 90 90 <meta property="profile:username" content="${view.handle}" /> 91 91 <meta property="og:url" content="${this.url}" />
+12 -12
functions/profile/[handleOrDID]/post/[rkey].ts
··· 130 130 const embedElems = !embed 131 131 ? '' 132 132 : AppBskyEmbedImages.isView(embed) 133 - ? html`${embed.images.map( 134 - i => html`<meta property="og:image" content="${i.thumb}" />`, 135 - )} 136 - <meta name="twitter:card" content="summary_large_image" /> ` 137 - : // TODO: in the future, embed videos 138 - 'thumbnail' in embed && embed.thumbnail 139 - ? html` 140 - <meta property="og:image" content="${embed.thumbnail}" /> 141 - <meta name="twitter:card" content="summary_large_image" /> 142 - ` 143 - : html`<meta name="twitter:card" content="summary" />` 133 + ? html`${embed.images.map( 134 + i => html`<meta property="og:image" content="${i.thumb}" />`, 135 + )} 136 + <meta name="twitter:card" content="summary_large_image" /> ` 137 + : // TODO: in the future, embed videos 138 + 'thumbnail' in embed && embed.thumbnail 139 + ? html` 140 + <meta property="og:image" content="${embed.thumbnail}" /> 141 + <meta name="twitter:card" content="summary_large_image" /> 142 + ` 143 + : html`<meta name="twitter:card" content="summary" />` 144 144 145 145 element.append( 146 146 html` 147 - <meta property="og:site_name" content="deer.social" /> 147 + <meta property="og:site_name" content="social.daniela.lol" /> 148 148 <meta property="og:type" content="article" /> 149 149 <meta property="profile:username" content="${author.handle}" /> 150 150 <meta property="og:url" content="${this.url}" />
+1 -1
src/lib/constants.ts
··· 11 11 export const BSKY_SERVICE_DID = 'did:web:bsky.social' 12 12 export const PUBLIC_BSKY_SERVICE = 'https://public.api.bsky.app' 13 13 export const DEFAULT_SERVICE = BSKY_SERVICE 14 - export const HELP_DESK_URL = `https://github.com/a-viv-a/deer-social/issues/new/choose` 14 + export const HELP_DESK_URL = `https://github.com/danielah05/deer-social/issues/new/choose` 15 15 export const EMBED_SERVICE = 'https://embed.bsky.app' 16 16 export const EMBED_SCRIPT = `${EMBED_SERVICE}/static/embed.js` 17 17 export const BSKY_DOWNLOAD_URL = 'https://bsky.app/download'
+3 -3
src/lib/strings/embed-player.ts
··· 9 9 ? // @ts-ignore only for web 10 10 window.location.host === 'localhost:8100' 11 11 ? 'http://localhost:8100' 12 - : 'https://deer.social' 12 + : 'https://social.daniela.lol' 13 13 : __DEV__ && !process.env.JEST_WORKER_ID 14 - ? 'http://localhost:8100' 15 - : 'https://deer.social' 14 + ? 'http://localhost:8100' 15 + : 'https://social.daniela.lol' 16 16 17 17 export const embedPlayerSources = [ 18 18 'youtube',
+1 -1
src/lib/strings/headings.ts
··· 1 1 export function bskyTitle(page: string, unreadCountLabel?: string) { 2 2 const unreadPrefix = unreadCountLabel ? `(${unreadCountLabel}) ` : '' 3 - return `${unreadPrefix}${page} — deer.social` 3 + return `${unreadPrefix}${page} — social.daniela.lol` 4 4 }
+6 -3
src/lib/strings/url-helpers.ts
··· 7 7 import {startUriToStarterPackUri} from '#/lib/strings/starter-pack' 8 8 import {logger} from '#/logger' 9 9 10 - export const BSKY_APP_HOST = 'https://deer.social' 10 + export const BSKY_APP_HOST = 'https://social.daniela.lol' 11 11 const BSKY_TRUSTED_HOSTS = [ 12 12 'deer\\.social', 13 + 'social\\.daniela\\.lol', 13 14 'bsky\\.app', 14 15 'bsky\\.social', 15 16 'blueskyweb\\.xyz', ··· 80 81 81 82 export function toShareUrl(url: string): string { 82 83 if (!url.startsWith('https')) { 83 - const urlp = new URL('https://deer.social') 84 + const urlp = new URL('https://social.daniela.lol') 84 85 urlp.pathname = url 85 86 url = urlp.toString() 86 87 } ··· 95 96 return ( 96 97 url.startsWith('https://bsky.app/') || 97 98 (url.startsWith('https://deer.social/') && 98 - !url.startsWith('https://deer.social/about')) 99 + !url.startsWith('https://deer.social/about')) || 100 + (url.startsWith('https://social.daniela.lol/') && 101 + !url.startsWith('https://social.daniela.lol/about')) 99 102 ) 100 103 } 101 104
+2 -2
src/screens/Settings/AboutSettings.tsx
··· 78 78 <Layout.Content> 79 79 <SettingsList.Container> 80 80 <SettingsList.LinkItem 81 - to="https://deer.social/about/tos" 81 + to="https://social.daniela.lol/about/tos" 82 82 label={_(msg`Terms of Service`)}> 83 83 <SettingsList.ItemIcon icon={NewspaperIcon} /> 84 84 <SettingsList.ItemText> ··· 86 86 </SettingsList.ItemText> 87 87 </SettingsList.LinkItem> 88 88 <SettingsList.LinkItem 89 - to="https://deer.social/about/privacy" 89 + to="https://social.daniela.lol/about/privacy" 90 90 label={_(msg`Privacy Policy`)}> 91 91 <SettingsList.ItemIcon icon={NewspaperIcon} /> 92 92 <SettingsList.ItemText>
+1 -1
src/state/persisted/schema.ts
··· 206 206 showLinkInHandle: false, 207 207 deerVerification: { 208 208 enabled: false, 209 - // https://deer.social/profile/did:plc:p2cp5gopk7mgjegy6wadk3ep/post/3lndyqyyr4k2k 209 + // https://social.daniela.lol/profile/did:plc:p2cp5gopk7mgjegy6wadk3ep/post/3lndyqyyr4k2k 210 210 trusted: [ 211 211 'did:plc:z72i7hdynmk6r22z27h6tvur', 212 212 'did:plc:eclio37ymobqex2ncko63h4r',
+1 -1
src/view/com/auth/SplashScreen.web.tsx
··· 166 166 ]}> 167 167 <InlineLinkText 168 168 label={_(msg`Read the patches and contribute`)} 169 - to="https://github.com/a-viv-a/deer-social"> 169 + to="https://github.com/danielah05/deer-social"> 170 170 <Trans>Github</Trans> 171 171 </InlineLinkText> 172 172
+2 -2
src/view/screens/PrivacyPolicy.tsx
··· 39 39 The Privacy Policy has been moved to{' '} 40 40 <TextLink 41 41 style={pal.link} 42 - href="https://deer.social/about/privacy" 43 - text="deer.social/about/privacy" 42 + href="https://social.daniela.lol/about/privacy" 43 + text="social.daniela.lol/about/privacy" 44 44 /> 45 45 </Trans> 46 46 </Text>
+2 -2
src/view/screens/TermsOfService.tsx
··· 38 38 <Trans>The Terms of Service have been moved to</Trans>{' '} 39 39 <TextLink 40 40 style={pal.link} 41 - href="https://deer.social/about/tos" 42 - text="deer.social/about/tos" 41 + href="https://social.daniela.lol/about/tos" 42 + text="social.daniela.lol/about/tos" 43 43 /> 44 44 </Text> 45 45 </View>
+2 -2
src/view/shell/Drawer.tsx
··· 695 695 <InlineLinkText 696 696 style={[a.text_md]} 697 697 label={_(msg`Terms of Service`)} 698 - to="https://deer.social/about/tos"> 698 + to="https://social.daniela.lol/about/tos"> 699 699 <Trans>Terms of Service</Trans> 700 700 </InlineLinkText> 701 701 <InlineLinkText 702 702 style={[a.text_md]} 703 - to="https://deer.social/about/privacy" 703 + to="https://social.daniela.lol/about/privacy" 704 704 label={_(msg`Privacy Policy`)}> 705 705 <Trans>Privacy Policy</Trans> 706 706 </InlineLinkText>
+2 -2
src/view/shell/desktop/RightNav.tsx
··· 110 110 </> 111 111 )} 112 112 <InlineLinkText 113 - to="https://deer.social/about/privacy" 113 + to="https://social.daniela.lol/about/privacy" 114 114 label={_(msg`Privacy`)}> 115 115 {_(msg`Privacy`)} 116 116 </InlineLinkText> 117 117 {' • '} 118 118 <InlineLinkText 119 - to="https://deer.social/about/tos" 119 + to="https://social.daniela.lol/about/tos" 120 120 label={_(msg`Terms`)}> 121 121 {_(msg`Terms`)} 122 122 </InlineLinkText>
+1 -1
web/index.html
··· 105 105 "> 106 106 <h1 lang="en">JavaScript Required</h1> 107 107 <p lang="en">This is a heavily interactive web application, and JavaScript is required. Simple HTML interfaces are possible, but that is not what this is. 108 - <p lang="en">Learn more about Bluesky at <a href="https://bsky.social">bsky.social</a> and <a href="https://atproto.com">atproto.com</a>, or this fork at <a href="https://github.com/a-viv-a/deer-social">github.com/a-viv-a/deer.social</a>. 108 + <p lang="en">Learn more about Bluesky at <a href="https://bsky.social">bsky.social</a> and <a href="https://atproto.com">atproto.com</a>, or this fork at <a href="https://github.com/danielah05/deer-social">github.com/danielah05/deer-social</a>. 109 109 </noscript> 110 110 111 111 <!-- The root element for your Expo app. -->