diff --git a/extension/entrypoints/options/sources.ts b/extension/entrypoints/options/sources.ts index 8ea5a9e..7f96ddc 100644 --- a/extension/entrypoints/options/sources.ts +++ b/extension/entrypoints/options/sources.ts @@ -28,7 +28,6 @@ export const SOURCE_APPS: SourceDescriptor[] = [ { id: 'popfeed', name: 'Popfeed', host: 'popfeed.social' }, { id: 'sifa', name: 'Sifa', host: 'sifa.id' }, { id: 'blento', name: 'Blento', host: 'blento.app' }, - { id: 'lichen', name: 'Lichen', host: 'lichen.wiki' }, { id: 'offprint', name: 'Offprint', host: 'offprint.app' }, { id: 'pckt', name: 'pckt', host: 'pckt.blog' }, { id: 'standardReader', name: 'Standard Reader', host: 'standard-reader.app' }, diff --git a/extension/lib/homePage.ts b/extension/lib/homePage.ts index ab4eb91..ee9c7e9 100644 --- a/extension/lib/homePage.ts +++ b/extension/lib/homePage.ts @@ -29,7 +29,6 @@ const BUILTIN_HOME: Record = { popfeed: 'https://popfeed.social/', sifa: 'https://sifa.id/', blento: 'https://blento.app/', - lichen: 'https://lichen.wiki/', offprint: 'https://offprint.app/', pckt: 'https://pckt.blog/', standardReader: 'https://standard-reader.app/', diff --git a/extension/lib/rules.ts b/extension/lib/rules.ts index 214b49c..858128f 100644 --- a/extension/lib/rules.ts +++ b/extension/lib/rules.ts @@ -219,7 +219,6 @@ const HOST_BY_SOURCE: Record = { popfeed: 'popfeed.social', sifa: 'sifa.id', blento: 'blento.app', - lichen: 'lichen.wiki', standardReader: 'standard-reader.app', taproot: 'atproto.at', offprint: 'offprint.app', diff --git a/packages/waypoints-react/src/waypointIcons.tsx b/packages/waypoints-react/src/waypointIcons.tsx index 74dc22b..e2172a8 100644 --- a/packages/waypoints-react/src/waypointIcons.tsx +++ b/packages/waypoints-react/src/waypointIcons.tsx @@ -230,16 +230,6 @@ export const MuSVG = () => ( ); -// Lichen wordmark — from lichen.wiki's /public/logo.svg, recolored to -// currentColor so it inherits the accent like the rest of the catalog. -export const LichenSVG = () => ( - - - - - -); - // Sprout mark for Taproot — inlined from lucide-react (atproto.at ships no // icon-size logo). Kept local so this catalog stays free of third-party // React deps the extension bundler can't resolve from the parent project. @@ -308,7 +298,6 @@ export const WAYPOINT_ICONS: Record = { popfeed: , sifa: , blento: , - lichen: , offprint: , pckt: , standardReader: , diff --git a/packages/waypoints/src/reverseParsers.ts b/packages/waypoints/src/reverseParsers.ts index e322ded..7a528f9 100644 --- a/packages/waypoints/src/reverseParsers.ts +++ b/packages/waypoints/src/reverseParsers.ts @@ -22,7 +22,6 @@ export type SourceApp = | 'popfeed' | 'sifa' | 'blento' - | 'lichen' | 'standardReader' | 'taproot' | 'offprint' @@ -417,38 +416,6 @@ function matchBlento(host: string, parts: string[]): ReverseMatch | null { }; } -/** - * Lichen wikis: `/@handle` is a profile, `/@handle/slug` is a wiki record - * (`wiki.lichen.wiki/`). - */ -function matchLichen(host: string, parts: string[]): ReverseMatch | null { - if (host !== 'lichen.wiki') return null; - if (!parts[0] || !parts[0].startsWith('@')) return null; - const handle = parts[0].slice(1); - if (!handle) return null; - const did = handle.startsWith('did:') ? handle : undefined; - - if (parts[1]) { - const rkey = parts[1]; - return { - source: 'lichen', - parsed: { - type: 'record', - uri: `at://${handle}/wiki.lichen.wiki/${rkey}`, - handle, - did, - collection: 'wiki.lichen.wiki', - rkey, - }, - }; - } - - return { - source: 'lichen', - parsed: { type: 'profile', uri: `at://${handle}`, handle, did }, - }; -} - /** * Standard Reader: `/u/` is a profile (document list) and * `/a//` is a document. The document route omits the @@ -547,7 +514,6 @@ export function matchSupportedUrl(url: URL): ReverseMatch | null { matchPopfeed(host, parts) || matchSifa(host, parts) || matchBlento(host, parts) || - matchLichen(host, parts) || matchStandardReader(host, parts) || matchTaproot(host, url.pathname) ); @@ -608,7 +574,6 @@ export const SUPPORTED_HOSTS: string[] = [ 'popfeed.social', 'sifa.id', 'blento.app', - 'lichen.wiki', 'standard-reader.app', 'atproto.at', ]; diff --git a/packages/waypoints/src/waypoints.data.ts b/packages/waypoints/src/waypoints.data.ts index d85543e..158c176 100644 --- a/packages/waypoints/src/waypoints.data.ts +++ b/packages/waypoints/src/waypoints.data.ts @@ -18,8 +18,7 @@ export type RedirectCompatFamily = | 'streamplace' | 'popfeed' | 'sifa' - | 'blento' - | 'lichen'; + | 'blento'; export type WaypointData = { id: string; @@ -118,11 +117,6 @@ export const COMPAT_FAMILIES: Record = { name: 'Blento', description: 'Blento profiles.', }, - lichen: { - id: 'lichen', - name: 'Lichen', - description: 'Lichen wikis.', - }, }; export const COMPAT_FAMILY_ORDER: RedirectCompatFamily[] = [ @@ -137,7 +131,6 @@ export const COMPAT_FAMILY_ORDER: RedirectCompatFamily[] = [ 'popfeed', 'sifa', 'blento', - 'lichen', ]; export type WaypointCategoryData = { @@ -632,25 +625,6 @@ export const WAYPOINT_DESTINATIONS_DATA: Record = { expectedCollections: ['app.blento.'], }, - lichen: { - id: 'lichen', - name: 'Lichen', - description: (collection) => { - if (collection === 'wiki.lichen.wiki') return 'View wiki on lichen.wiki'; - return 'View profile on lichen.wiki'; - }, - getUrl: (handle, collection, rkey) => { - if (collection === 'wiki.lichen.wiki' && rkey) { - return `https://lichen.wiki/@${handle}/${rkey}`; - } - return `https://lichen.wiki/@${handle}`; - }, - supportedTypes: ['post', 'profile', 'list', 'record'], - category: 'atmosphereApps', - redirectCompat: ['lichen'], - expectedCollections: ['wiki.lichen.'], - }, - anisotaReader: { id: 'anisotaReader', name: 'Anisota Reader', @@ -781,7 +755,6 @@ export const WAYPOINT_ORDER = [ 'popfeed', 'sifa', 'blento', - 'lichen', 'anisotaReader', 'offprint', 'pckt', @@ -930,10 +903,6 @@ const RECOMMENDED_NAMESPACE_PREFIXES: Record = { waypointIds: ['leaflet', 'anisotaReader', 'offprint', 'pckt', 'pdsls'], label: 'Recommended for Publications', }, - 'wiki.lichen': { - waypointIds: ['lichen', 'aturiExplore', 'pdsls'], - label: 'Recommended for Lichen', - }, 'sh.tangled': { waypointIds: ['tangled', 'pdsls', 'atptools'], label: 'Recommended for Tangled', diff --git a/src/utils/reverseParsers.ts b/src/utils/reverseParsers.ts index e322ded..7a528f9 100644 --- a/src/utils/reverseParsers.ts +++ b/src/utils/reverseParsers.ts @@ -22,7 +22,6 @@ export type SourceApp = | 'popfeed' | 'sifa' | 'blento' - | 'lichen' | 'standardReader' | 'taproot' | 'offprint' @@ -417,38 +416,6 @@ function matchBlento(host: string, parts: string[]): ReverseMatch | null { }; } -/** - * Lichen wikis: `/@handle` is a profile, `/@handle/slug` is a wiki record - * (`wiki.lichen.wiki/`). - */ -function matchLichen(host: string, parts: string[]): ReverseMatch | null { - if (host !== 'lichen.wiki') return null; - if (!parts[0] || !parts[0].startsWith('@')) return null; - const handle = parts[0].slice(1); - if (!handle) return null; - const did = handle.startsWith('did:') ? handle : undefined; - - if (parts[1]) { - const rkey = parts[1]; - return { - source: 'lichen', - parsed: { - type: 'record', - uri: `at://${handle}/wiki.lichen.wiki/${rkey}`, - handle, - did, - collection: 'wiki.lichen.wiki', - rkey, - }, - }; - } - - return { - source: 'lichen', - parsed: { type: 'profile', uri: `at://${handle}`, handle, did }, - }; -} - /** * Standard Reader: `/u/` is a profile (document list) and * `/a//` is a document. The document route omits the @@ -547,7 +514,6 @@ export function matchSupportedUrl(url: URL): ReverseMatch | null { matchPopfeed(host, parts) || matchSifa(host, parts) || matchBlento(host, parts) || - matchLichen(host, parts) || matchStandardReader(host, parts) || matchTaproot(host, url.pathname) ); @@ -608,7 +574,6 @@ export const SUPPORTED_HOSTS: string[] = [ 'popfeed.social', 'sifa.id', 'blento.app', - 'lichen.wiki', 'standard-reader.app', 'atproto.at', ]; diff --git a/src/utils/waypointIcons.tsx b/src/utils/waypointIcons.tsx index 6e56149..63f5313 100644 --- a/src/utils/waypointIcons.tsx +++ b/src/utils/waypointIcons.tsx @@ -230,16 +230,6 @@ export const MuSVG = () => ( ); -// Lichen wordmark — from lichen.wiki's /public/logo.svg, recolored to -// currentColor so it inherits the accent like the rest of the catalog. -export const LichenSVG = () => ( - - - - - -); - // Sprout mark for Taproot — inlined from lucide-react (atproto.at ships no // icon-size logo). Kept local so this catalog stays free of third-party // React deps the extension bundler can't resolve from the parent project. @@ -308,7 +298,6 @@ export const WAYPOINT_ICONS: Record = { popfeed: , sifa: , blento: , - lichen: , offprint: , pckt: , standardReader: , diff --git a/src/utils/waypoints.data.ts b/src/utils/waypoints.data.ts index d85543e..158c176 100644 --- a/src/utils/waypoints.data.ts +++ b/src/utils/waypoints.data.ts @@ -18,8 +18,7 @@ export type RedirectCompatFamily = | 'streamplace' | 'popfeed' | 'sifa' - | 'blento' - | 'lichen'; + | 'blento'; export type WaypointData = { id: string; @@ -118,11 +117,6 @@ export const COMPAT_FAMILIES: Record = { name: 'Blento', description: 'Blento profiles.', }, - lichen: { - id: 'lichen', - name: 'Lichen', - description: 'Lichen wikis.', - }, }; export const COMPAT_FAMILY_ORDER: RedirectCompatFamily[] = [ @@ -137,7 +131,6 @@ export const COMPAT_FAMILY_ORDER: RedirectCompatFamily[] = [ 'popfeed', 'sifa', 'blento', - 'lichen', ]; export type WaypointCategoryData = { @@ -632,25 +625,6 @@ export const WAYPOINT_DESTINATIONS_DATA: Record = { expectedCollections: ['app.blento.'], }, - lichen: { - id: 'lichen', - name: 'Lichen', - description: (collection) => { - if (collection === 'wiki.lichen.wiki') return 'View wiki on lichen.wiki'; - return 'View profile on lichen.wiki'; - }, - getUrl: (handle, collection, rkey) => { - if (collection === 'wiki.lichen.wiki' && rkey) { - return `https://lichen.wiki/@${handle}/${rkey}`; - } - return `https://lichen.wiki/@${handle}`; - }, - supportedTypes: ['post', 'profile', 'list', 'record'], - category: 'atmosphereApps', - redirectCompat: ['lichen'], - expectedCollections: ['wiki.lichen.'], - }, - anisotaReader: { id: 'anisotaReader', name: 'Anisota Reader', @@ -781,7 +755,6 @@ export const WAYPOINT_ORDER = [ 'popfeed', 'sifa', 'blento', - 'lichen', 'anisotaReader', 'offprint', 'pckt', @@ -930,10 +903,6 @@ const RECOMMENDED_NAMESPACE_PREFIXES: Record = { waypointIds: ['leaflet', 'anisotaReader', 'offprint', 'pckt', 'pdsls'], label: 'Recommended for Publications', }, - 'wiki.lichen': { - waypointIds: ['lichen', 'aturiExplore', 'pdsls'], - label: 'Recommended for Lichen', - }, 'sh.tangled': { waypointIds: ['tangled', 'pdsls', 'atptools'], label: 'Recommended for Tangled',