import{t as e}from"./got-BBDj7u1e.mjs";import{t}from"./utils-CDwhWknA.mjs";const n={path:`/notes/source/:source`,categories:[`social-media`],example:`/crossbell/notes/source/xlog`,parameters:{source:`N`},features:{requireConfig:!1,requirePuppeteer:!1,antiCrawler:!1,supportBT:!1,supportPodcast:!1,supportScihub:!1},radar:[{source:[`crossbell.io/*`],target:`/notes`}],name:`Notes of source`,maintainers:[`DIYgod`],handler:r,url:`crossbell.io/*`};async function r(n){let r=n.req.param(`source`),i=await e(`https://indexer.crossbell.io/v1/notes`,{searchParams:{sources:r,includeCharacter:!0}});return{title:`Crossbell Notes from `+r,link:`https://crossbell.io/`,item:i.data?.list?.map(e=>t(e))}}export{n as route};