1import{r as c,j as s,L as u}from"./react-gTT5W6Oa.js";import{b as y,c as x,G as j,d as h,g as b,e as N,h as w,i as I,j as k,k as S,l as G,s as E,S as v}from"./seoStats-ykzqFYfG.js";import{f as T,G as p}from"./guidesSource-ygQ6pnCC.js";import{q as L,l as D,V as M}from"./icons-Dfdhs6vj.js";import{g as C,b as R,R as A,M as P}from"./index-C4E0xGvw.js";import"./ClosingCta-CYnQPZuF.js";import"./firebase-storage-DU3VKB4Z.js";import"./firebase-Cguphzoy.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"02655f2e9f52616c6fb2eaebcfff8822eedeefc7"};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="ab05f731-5d5e-4124-9bcb-c544be38ae05",e._sentryDebugIdIdentifier="sentry-dbid-ab05f731-5d5e-4124-9bcb-c544be38ae05")}catch{}})();function U(e){return y($(e))}function $(e){if(!e.templated)return q(e.html);const t=T(e.slug);return t?x(t.page()):e.description}function q(e){return e.replace(/<[^>]*>/g," ")}const O={"indie-builder-launch-playbook":"check","where-to-submit-your-startup":"pin","product-hunt-alternatives":"sparkles","dofollow-listed-on-badge":"link","agent-readable-product-discovery":"robot","indie-builders-directory":"grid","how-to-launch-an-app":"box","how-to-launch-a-saas-product":"coin","marketing-for-apps":"users","how-to-validate-a-product-idea":"eye"};function m(e){return O[e]??"message"}function z(e,t){const r=t.toLowerCase().split(/\s+/).filter(Boolean);if(r.length===0)return!0;const i=[e.title,e.description,e.dek??"",e.category??""].join(" ").toLowerCase();return r.every(o=>i.includes(o))}function W(e,t={}){const r=(t.query??"").trim();return e.filter(i=>(!t.category||i.category===t.category)&&z(i,r))}function _(e){return e.find(t=>t.featured)??null}function F(e){const t=_(e);return e.filter(r=>r!==t)}function H(e){const t=(e.query??"").trim();return t&&e.category?`Nothing under ${e.category} matches â${t}â.`:t?`No guide matches â${t}â.`:"Nothing here yet."}function B({guides:e}){const[t,r]=c.useState(""),[i,o]=c.useState(null),n=c.useMemo(()=>W(e,{query:t,category:i}),[e,t,i]),l=_(n),f=F(n),d=!!(t.trim()||i);return s.jsxs("div",{className:"lib",children:[s.jsxs("div",{className:"lib__find",children:[s.jsxs("div",{className:"lib__search",children:[s.jsx(L,{size:18,stroke:2,"aria-hidden":"true"}),s.jsx("label",{className:"sr-only",htmlFor:"guide-search",children:"Search guides"}),s.jsx("input",{id:"guide-search",type:"search",className:"lib__input",placeholder:"Search guides â launching, llms.txt, do-followâ¦",value:t,onChange:a=>r(a.target.value)})]}),s.jsxs("div",{className:"lib__chips",role:"radiogroup","aria-label":"Filter guides by subject",children:[s.jsx("button",{type:"button",role:"radio","aria-checked":i===null,className:`lib__chip${i===null?" lib__chip--on":""}`,onClick:()=>o(null),children:"All"}),j.map(a=>s.jsx("button",{type:"button",role:"radio","aria-checked":i===a,className:`lib__chip${i===a?" lib__chip--on":""}`,onClick:()=>o(i===a?null:a),children:a},a))]})]}),s.jsx("p",{className:"sr-only",role:"status",children:d?`${n.length} of ${e.length} guides`:""}),l&&s.jsxs("section",{className:"lib__featured","aria-labelledby":"lib-start",children:[s.jsx("h2",{className:"lib__eyebrow",id:"lib-start",children:"Start here"}),s.jsxs(u,{to:b(l.slug),className:"lib__lead",children:[s.jsx("span",{className:"lib__lead-ico",children:s.jsx(h,{name:m(l.slug),size:22})}),s.jsxs("span",{className:"lib__lead-text",children:[s.jsx("span",{className:"lib__lead-title",children:l.title}),s.jsx("span",{className:"lib__lead-desc",children:l.dek??l.description}),s.jsx(g,{guide:l})]}),s.jsx(D,{size:20,stroke:2,"aria-hidden":"true",className:"lib__lead-go"})]})]}),s.jsxs("section",{className:"lib__all","aria-labelledby":"lib-all",children:[s.jsx("h2",{className:"lib__eyebrow",id:"lib-all",children:d?`${n.length} ${n.length===1?"guide":"guides"}`:"All guides"}),n.length===0?s.jsxs("p",{className:"empty",children:[H({query:t,category:i})," ",s.jsx("button",{type:"button",className:"linklike",onClick:()=>{r(""),o(null)},children:"Show every guide"}),"."]}):s.jsx("ul",{className:"lib__grid",children:f.map(a=>s.jsx("li",{className:"lib__item",children:s.jsxs(u,{to:b(a.slug),className:"lib__card",children:[s.jsx("span",{className:"lib__card-ico",children:s.jsx(h,{name:m(a.slug),size:20})}),s.jsxs("span",{className:"lib__card-text",children:[s.jsx("span",{className:"lib__card-title",children:a.title}),s.jsx("span",{className:"lib__card-desc",children:a.description}),s.jsx(g,{guide:a})]})]})},a.slug))})]})]})}function g({guide:e}){return s.jsxs("span",{className:"lib__meta",children:[e.category&&s.jsx("span",{className:"lib__tag",children:e.category}),s.jsxs("span",{className:"lib__min",children:[s.jsx(M,{size:14,stroke:2,"aria-hidden":"true"}),U(e)," min"]})]})}function Y(){return{hideStats:!0,hero:{pill:"Written to stay true",pillIcon:"check",h1:w,lede:N},next:{title:"Elsewhere on the directory",sub:"What a listing is, how a machine reads it, and the form that takes a minute.",compact:!0,links:[{title:"Why list here",desc:"What a listing gets you: a do-follow link, a page assistants can read, and investors browsing by who is raising.",to:"/for-builders"},{title:"API and MCP",desc:"How an agent reads the directory without a key, and how to let yours add your listing for you.",to:"/mcp"},{title:"The badge",desc:"Optional, gates nothing, and shows a rank that changes rather than a static graphic.",to:"/badge"},{title:"Who runs this",desc:"One person, no investors, and where the money comes from.",to:"/about"}]},closing:{heading:"List what you are building",sub:"Free, reviewed before it appears, and permanent â no launch day to prepare for.",ctaLabel:"Submit a product",ctaTo:"/submit"}}}function te(){C({title:k,description:I,path:S,jsonLd:G(p)});const{data:e}=R(P),t=c.useMemo(()=>E(e),[e]);return s.jsx(A,{children:s.jsx(v,{content:Y(),stats:t,children:s.jsx(B,{guides:p})})})}export{te as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.