PageSourceSearch

https://sensemaker-frontend.pages.dev/assets/SelfHostView-BmGQQkoH.js

js sensemaker-frontend.pages.dev collected 2026-10-03 05:32:23 UTC 9,078 bytes, 1 lines download raw bytes

1import{d as i,u as r,c as a,a as t,t as e,b as o,e as n,f as c,w as m,r as g,o as f,_}from"./index-c0NKlNcN.js";const x={class:"bg-gray-50 py-8"},u={class:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8"},p={class:"bg-white rounded-lg shadow-lg p-8"},h={class:"text-3xl font-bold text-gray-900 mb-8 text-center"},b={class:"space-y-8"},v={class:"bg-blue-50 rounded-lg p-6"},y={class:"text-2xl font-semibold text-blue-900 mb-4"},w={class:"text-blue-800 text-lg leading-relaxed"},H={class:"bg-yellow-50 border border-yellow-200 rounded-lg p-4 mt-4"},k={class:"flex items-start gap-2"},D={class:"text-yellow-900 font-medium mb-2"},B={class:"text-yellow-800 text-sm mb-2"},j={class:"border-l-4 border-democratic-red pl-6"},C={class:"text-2xl font-semibold text-gray-800 mb-4"},P={class:"space-y-4"},T={class:"bg-gray-50 rounded-lg p-4"},F={class:"text-lg font-medium text-gray-800 mb-2"},V={class:"text-gray-700 mb-3"},z={href:"https://github.com/bestian/sensemaker-backend",target:"_blank",rel:"noopener noreferrer",class:"inline-flex items-center px-4 py-2 bg-gray-800 text-white font-medium rounded-lg hover:bg-gray-700 transition-colors duration-200 mt-3"},N={class:"bg-gray-50 rounded-lg p-4"},I={class:"text-lg font-medium text-gray-800 mb-2"},L={class:"text-gray-700 mb-3"},M={class:"bg-yellow-50 border-l-4 border-yellow-400 p-3 mb-3"},R={class:"text-yellow-800 text-sm"},S={class:"text-gray-700 text-sm space-y-1 ml-4"},E={class:"border-l-4 border-jade-green pl-6"},K={class:"text-2xl font-semibold text-gray-800 mb-4"},U={class:"space-y-4"},W={class:"bg-gray-50 rounded-lg p-4"},q={class:"text-lg font-medium text-gray-800 mb-2"},A={class:"text-gray-700 mb-3"},G={href:"https://github.com/g0v/sensemaker-frontend",target:"_blank",rel:"noopener noreferrer",class:"inline-flex items-center px-4 py-2 bg-gray-800 text-white font-medium rounded-lg hover:bg-gray-700 transition-colors duration-200 mt-3"},J={class:"bg-gray-50 rounded-lg p-4"},O={class:"text-lg font-medium text-gray-800 mb-2"},Q={class:"text-gray-700 mb-3"},X={class:"bg-gray-900 p-3 rounded font-mono text-xs"},Y={class:"bg-gray-50 rounded-lg p-4"},Z={class:"text-lg font-medium text-gray-800 mb-2"},$={class:"text-gray-700 mb-3"},tt={class:"text-gray-700 text-sm space-y-1 ml-4"},st={class:"bg-green-50 rounded-lg p-6"},et={class:"text-2xl font-semibold text-green-900 mb-4"},ot={class:"grid md:grid-cols-2 gap-4"},lt={class:"space-y-3"},nt={class:"flex items-start gap-2"},dt={class:"font-medium text-green-800"},it={class:"text-green-700 text-sm"},rt={class:"flex items-start gap-2"},at={class:"font-medium text-green-800"},ct={class:"text-green-700 text-sm"},mt={class:"space-y-3"},gt={class:"flex items-start gap-2"},ft={class:"font-medium text-green-800"},_t={class:"text-green-700 text-sm"},xt={class:"flex items-start gap-2"},ut={class:"font-medium text-green-800"},pt={class:"text-green-700 text-sm"},ht={class:"bg-yellow-50 rounded-lg p-6"},bt={class:"text-2xl font-semibold text-yellow-900 mb-4"},vt={class:"text-yellow-800 mb-4"},yt={class:"text-yellow-800 space-y-2 ml-4"},wt={class:"text-center mt-8"},Ht=i({__name:"SelfHostView",setup(kt){const{t:s}=r();return(Dt,l)=>{const d=g("router-link");return f(),a("div",x,[t("div",u,[t("div",p,[t("h1",h,e(o(s)("selfHost.title")),1),t("div",b,[t("div",v,[t("h2",y,e(o(s)("selfHost.overviewTitle")),1),t("p",w,e(o(s)("selfHost.overviewDescription")),1),t("div",H,[t("div",k,[l[0]||(l[0]=t("div",{class:"w-5 h-5 bg-yellow-500 text-white rounded-full flex items-center justify-center text-sm font-bold mt-0.5"},"💰",-1)),t("div",null,[t("h3",D,e(o(s)("selfHost.paidPlanTitle")),1),t("p",B,e(o(s)("selfHost.paidPlanDescription")),1)])])])]),t("div",j,[t("h2",C,e(o(s)("selfHost.backendTitle")),1),t("div",P,[t("div",T,[t("h3",F,e(o(s)("selfHost.step1Backend")),1),t("p",V,e(o(s)("selfHost.step1BackendDesc")),1),t("a",z,[l[1]||(l[1]=t("svg",{xmlns:"http://www.w3.org/2000/svg",class:"w-5 h-5 mr-2",fill:"currentColor",viewBox:"0 0 24 24"},[t("path",{d:"M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 4.624-5.479 4.862.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"})],-1)),n(" "+e(o(s)("selfHost.viewBackendProject")),1)])]),t("div",N,[t("h3",I,e(o(s)("selfHost.step2Backend")),1),t("p",L,e(o(s)("selfHost.step2BackendDesc")),1
1),t("div",M,[t("p",R,[t("strong",null,e(o(s)("selfHost.importantNote")),1)])]),t("ul",S,[t("li",null,"• "+e(o(s)("selfHost.cloudflareLogin")),1),t("li",null,"• "+e(o(s)("selfHost.createWorker")),1),t("li",null,"• "+e(o(s)("selfHost.uploadCode")),1),t("li",null,"• "+e(o(s)("selfHost.setEnvVars")),1),t("li",null,"• "+e(o(s)("selfHost.upgradePlan")),1)])])])]),t("div",E,[t("h2",K,e(o(s)("selfHost.frontendTitle")),1),t("div",U,[t("div",W,[t("h3",q,e(o(s)("selfHost.step1Frontend")),1),t("p",A,e(o(s)("selfHost.step1FrontendDesc")),1),t("a",G,[l[2]||(l[2]=t("svg",{xmlns:"http://www.w3.org/2000/svg",class:"w-5 h-5 mr-2",fill:"currentColor",viewBox:"0 0 24 24"},[t("path",{d:"M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 4.624-5.479 4.862.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"})],-1)),n(" "+e(o(s)("selfHost.viewFrontendProject")),1)])]),t("div",J,[t("h3",O,e(o(s)("selfHost.step2Frontend")),1),t("p",Q,e(o(s)("selfHost.step2FrontendDesc")),1),t("div",X,[n(" // "+e(o(s)("selfHost.originalURL")),1),l[3]||(l[3]=t("br",null,null,-1)),l[4]||(l[4]=n(" // https://sensemaker-backend.bestian123.workers.dev/api/sensemake",-1)),l[5]||(l[5]=t("br",null,null,-1)),l[6]||(l[6]=t("br",null,null,-1)),n(" // "+e(o(s)("selfHost.yourURL")),1),l[7]||(l[7]=t("br",null,null,-1)),l[8]||(l[8]=n(" // https://your-worker.your-subdomain.workers.dev/api/sensemake ",-1))])]),t("div",Y,[t("h3",Z,e(o(s)("selfHost.step3Frontend")),1),t("p",$,e(o(s)("selfHost.step3FrontendDesc")),1),t("ul",tt,[t("li",null,[l[9]||(l[9]=n("• ",-1)),t("strong",null,e(o(s)("selfHost.cloudflarePages")),1)])])])])]),t("div",st,[t("h2",et,e(o(s)("selfHost.advantagesTitle")),1),t("div",ot,[t("div",lt,[t("div",nt,[l[10]||(l[10]=t("div",{class:"w-6 h-6 bg-green-500 text-white rounded-full flex items-center justify-center text-sm font-bold mt-0.5"},"✓",-1)),t("div",null,[t("h4",dt,e(o(s)("selfHost.fullControl")),1),t("p",it,e(o(s)("selfHost.fullControlDesc")),1)])]),t("div",rt,[l[11]||(l[11]=t("div",{class:"w-6 h-6 bg-green-500 text-white rounded-full flex items-center justify-center text-sm font-bold mt-0.5"},"✓",-1)),t("div",null,[t("h4",at,e(o(s)("selfHost.apiKeyProtection")),1),t("p",ct,e(o(s)("selfHost.apiKeyProtectionDesc")),1)])])]),t("div",mt,[t("div",gt,[l[12]||(l[12]=t("div",{class:"w-6 h-6 bg-green-500 text-white rounded-full flex items-center justify-center text-sm font-bold mt-0.5"},"✓",-1)),t("div",null,[t("h4",ft,e(o(s)("selfHost.customizable")),1),t("p",_t,e(o(s)("selfHost.customizableDesc")),1)])]),t("div",xt,[l[13]||(l[13]=t("div",{class:"w-6 h-6 bg-green-500 text-white rounded-full flex items-center justify-center text-sm font-bold mt-0.5"},"✓",-1)),t("div",null,[t("h4",ut,e(o(s)("selfHost.learning")),1),t("p",pt,e(o(s)("selfHost.learningDesc")),1)])])])])]),t("div",ht,[t("h2",bt,e(o(s)("selfHost.needHelpTitle")),1),t("p",vt,e(o(s)("selfHost.needHelpDesc")),1),t("ul",yt,[t("li",null,"• "+e(o(s)("selfHost.openIssue")),1),t("li",null,"• "+e(o(s)("selfHost.checkReadme")),1),t("li",null,"• "+e(o(s)("selfHost.joinCommunity")),1)])])]),t("div",wt,[c(d,{to:"/",class:"inline-flex items-center px-6 py-3 bg-democratic-red text-white font-medium rounded-lg hover:bg-red-700 transition-colors duration-200"},{default:m(()=>[l[14]||(l[14]=t("svg",{xmlns:"http://www.w3.org/2000/svg",class:"w-5 h-5 mr-2",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M10 19l-7-7m0 0l7-7m-7 7h18"})],-1)),n(" "+e(o(s)("common.backToHome")),1)]),_:1})])])])])}}}),jt=_(Ht,[["__scopeId","data-v-ebc04dc5"]]);export{jt 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.