PageSourceSearch

https://sekaiai.github.io/assets/index.md.CmeURrQO.lean.js

js sekaiai.github.io collected 2026-10-03 09:55:37 UTC 6,677 bytes, 1 lines download raw bytes

1import{_ as h,p as i,v as f,x as y,c as d,j as t,n as s,t as c,a as k,ae as b,o as m}from"./chunks/framework.COohA0HS.js";const g="_hero_1b8kp_8",_="_heroTitle_1b8kp_14",w="_body_1b8kp_19",v="_hitokoto_1b8kp_29",I="_from_who_1b8kp_41",$="_more_1b8kp_52",T="_loading_1b8kp_71",P="_spin_1b8kp_1",A="_homeContent_1b8kp_75",C="_contentIntro_1b8kp_83",S="_featureGrid_1b8kp_84",K="_eyebrow_1b8kp_93",N="_sectionTitle_1b8kp_102",V="_summary_1b8kp_111",B="_description_1b8kp_118",G="_featureCard_1b8kp_133",H="_cardKicker_1b8kp_150",M="_siteFooter_1b8kp_174",j={hero:g,heroTitle:_,body:w,hitokoto:v,from_who:I,more:$,loading:T,spin:P,homeContent:A,contentIntro:C,featureGrid:S,eyebrow:K,sectionTitle:N,summary:V,description:B,featureCard:G,cardKicker:H,siteFooter:M},W=JSON.parse('{"title":"雪阳哦","titleTemplate":"雪阳哦 - 一言随机句子接口与个人项目","description":"雪阳哦的个人项目主页,提供免费一言随机句子接口 API、随机动漫台词、文学短句、原创句子获取服务,以及个人工具项目文档。","frontmatter":{"layout":"home","title":"雪阳哦","titleTemplate":"雪阳哦 - 一言随机句子接口与个人项目","description":"雪阳哦的个人项目主页,提供免费一言随机句子接口 API、随机动漫台词、文学短句、原创句子获取服务,以及个人工具项目文档。","head":[["meta",{"name":"keywords","content":"雪阳哦,一言 API,随机句子接口,Hitokoto,动漫台词,文学短句,免费 API,个人项目"}],["meta",{"property":"og:title","content":"雪阳哦 - 一言随机句子接口与个人项目"}],["meta",{"property":"og:description","content":"免费一言随机句子接口 API,随机返回动漫台词、文学短句、原创句子等内容,也收录雪阳哦的个人工具项目文档。"}],["meta",{"property":"og:url","content":"https://sekaiai.github.io/"}],["meta",{"name":"twitter:card","content":"summary"}],["meta",{"name":"twitter:title","content":"雪阳哦 - 一言随机句子接口与个人项目"}],["meta",{"name":"twitter:description","content":"免费一言随机句子接口 API,随机返回动漫台词、文学短句、原创句子,也整理个人项目文档。"}],["link",{"rel":"canonical","href":"https://sekaiai.github.io/"}],["script",{"id":"structured-data","type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"WebSite\\",\\"name\\":\\"雪阳哦\\",\\"url\\":\\"https://sekaiai.github.io\\",\\"description\\":\\"雪阳哦的个人项目主页,提供免费一言随机句子接口 API、随机动漫台词、文学短句、原创句子获取服务,以及个人工具项目文档。\\",\\"inLanguage\\":\\"zh-CN\\",\\"publisher\\":{\\"@type\\":\\"Person\\",\\"name\\":\\"雪阳哦\\",\\"url\\":\\"https://sekaiai.github.io\\",\\"sameAs\\":[\\"https://github.com/sekaiai\\"]},\\"mainEntity\\":{\\"@type\\":\\"WebAPI\\",\\"name\\":\\"免费一言随机句子接口 API\\",\\"url\\":\\"https://hi.logacg.com\\",\\"description\\":\\"随机返回动漫台词、漫画对白、文学短句、原创句子等内容的免费句子接口。\\"}}"]]},"headers":[],"relativePath":"index.md","filePath":"index.md"}'),z={name:"index.md"},F=Object.assign(z,{setup(D){const n=i(!1),l=i("一路走一路失去,也一路拥有。"),p=i("");let a;function u(){a=setTimeout(r,30*1e3)}async function r(){if(n.value)return;n.value=!0,a&&clearTimeout(a);const e=await fetch("https://hi.logacg.com").then(o=>o.json());if(e&&e.hitokoto){let o="";e.from_who&&(o+=`—— ${e.from_who}`),e.from&&e.from!=="原创"&&(o+=`「${e.from}」`),p.value=o,l.value=e.hitokoto}u(),n.value=!1}return f(()=>{r(),document.body.classList.add("home-index-page"),document.body.style.backgroundImage="url('./73575222_p0.webp')"}),y(()=>{clearTimeout(a),document.body.classList.remove("home-index-page"),document.body.style.backgroundImage="none"}),(e,o)=>(m(),d("div",null,[t("section",{class:s(e.$style.hero)},[t("div",{class:s(e.$style.body)},[t("h1",{class:s(e.$style.heroTitle)},"雪阳哦",2),t("div",{class:s([e.$style.hitokoto])},c(l.value),3),t("div",{class:s([e.$style.from_who])},[k(c(p.value)+" ",1),t("button",{class:s([e.$style.more]),onClick:r,title:"再来一句","aria-label":"再来一句"},[(m(),d("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024",class:s([n.value?e.$style.loading:""])},o[0]||(o[0]=[t("path",{fill:"currentColor",d:"M784.512 230.272v-50.56a32 32 0 1 1 64 0v149.056a32 32 0 0 1-32 32H667.52a32 32 0 1 1 0-64h92.992A320 320 0 1 0 524.8 833.152a320 320 0 0 0 320-320h64a384 384 0 0 1-384 384 384 384 0 0 1-384-384 384 384 0 0 1 643.712-282.88z"}
1,null,-1)]),2))],2)],2)],2)],2),t("section",{class:s(e.$style.homeContent),"aria-labelledby":"home-content-title"},[t("div",{class:s(e.$style.contentIntro)},[t("p",{class:s(e.$style.eyebrow)},"Hitokoto API / Personal Works",2),t("div",{id:"home-content-title",class:s(e.$style.sectionTitle)},"雪阳哦",2),t("p",{class:s(e.$style.summary)},"免费一言随机句子接口 API 与个人项目文档",2),t("p",{class:s(e.$style.description)}," 这里是雪阳哦的个人项目主页。主要维护一个可以直接调用的随机句子接口, 用来获取动漫台词、漫画对白、文学短句、原创句子和来自网络的小段子。 ",2)],2),t("div",{class:s(e.$style.featureGrid)},[t("a",{class:s(e.$style.featureCard),href:"/guide/hitokoto"},[t("span",{class:s(e.$style.cardKicker)},"API",2),o[1]||(o[1]=t("strong",null,"一言随机句子接口",-1)),o[2]||(o[2]=t("span",null,"查看免费一言 API 的请求参数、分类说明、返回格式和调用示例。",-1))],2),t("a",{class:s(e.$style.featureCard),href:"https://hi.logacg.com",rel:"noopener noreferrer",target:"_blank"},[t("span",{class:s(e.$style.cardKicker)},"Live",2),o[3]||(o[3]=t("strong",null,"接口在线预览",-1)),o[4]||(o[4]=t("span",null,"打开接口地址,直接获取一条随机动漫台词或短句。",-1))],2),t("a",{class:s(e.$style.featureCard),href:"/guide/zip-manage"},[t("span",{class:s(e.$style.cardKicker)},"Tool",2),o[5]||(o[5]=t("strong",null,"漫画图片压缩优化",-1)),o[6]||(o[6]=t("span",null,"批量压缩漫画图片,减少体积,让手机阅读更顺滑。",-1))],2),t("a",{class:s(e.$style.featureCard),href:"/guide/reminder"},[t("span",{class:s(e.$style.cardKicker)},"Mini App",2),o[7]||(o[7]=t("strong",null,"提醒事项小程序",-1)),o[8]||(o[8]=t("span",null,"支持农历生日、纪念日和周期事项提醒的小程序说明。",-1))],2)],2)],2),t("footer",{class:s(e.$style.siteFooter)},o[9]||(o[9]=[b("",9)]),2)]))}}),L={$style:j},O=h(F,[["__cssModules",L]]);export{W as __pageData,O 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.