
Security News
CVE Volume Surges Past 48,000 in 2025 as WordPress Plugin Ecosystem Drives Growth
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.
abstractless
Advanced tools
A headless component designed for creating customized Post-Abstract-AI in Vue.
基于 TianliGPT,参考 Post-Abstract-AI。
$ pnpm i abstractless
<script lang="ts" setup>
import AbstractLess from "abstractless";
const abstractProps = { /* 一些配置 */ };
</script>
<template>
<AbstractLess v-bind="abstractProps" v-slot="{ error, pending, summary, fetchAbstract }">
<!-- 自定义视图结构 -->
</AbstractLess>
</template>
import { useAbstract } from "abstractless";
const abstractOptions = { /* 一些配置 */ };
const { error, pending, summary, fetchAbstract } = useAbstract(abstractOptions);
你也可以直接使用包里封装好的简易组件:
<script lang="ts" setup>
import { AbstractMore } from "abstractless";
const abstractProps = { /* 一些配置 */ };
</script>
<template>
<AbstractMore v-bind="abstractProps"/>
</template>
向 TianliGPT 发送请求,返回摘要。
export declare function useAbstract(options?: UseAbstractOptions): {
error: Ref<Error>,
pending: Ref<boolean>,
summary: Ref<string>,
fetchAbstract: () => void
}
target
Type: MaybeRefOrGetter<HTMLElement | string>
Default: null
文章容器元素或其 CSS 选择器。
content
Type: MaybeRefOrGetter<string>
Default: null
文章内容,优先于 target 属性生效。
waitFor
Type: MaybeRefOrGetter<boolean>
Default: true
当 defer 属性不为 true 时,将在组件挂载后等待此属性为 Truthy 值时延迟发送请求。
defer
Type: boolean
Default: false
如果为 true,则不会在组件挂载完毕后立即发送请求。
timeout
Type: number
Default: 20000
请求超时的时长。
wordLimit
Type: number
Default: 1000
文章提交的字数限制。
tianliKey
Type: number
Required
TianliGPT 的请求密钥。
使用打字特效。
export declare function useTyping(text: MaybeRefOrGetter<string>, options?: UseTypingOptions): {
isTyping: Ref<boolean>,
typedText: Ref<string>,
run: () => void,
stop: () => void
}
speed
Type: number
Default: 40
每秒输出的字数。
punctuation
Type: Regexp
Default: /[,.!?:;,。、!?:;]/
判断是否为标点的正则表达式。
punctuationSpeedMultiplier
Type: number
Default: 6
当最后一个输出的字符被判断为标点时,输出下一个字符的延时倍率。
FAQs
A headless component designed for creating customized Post-Abstract-AI in Vue.
We found that abstractless demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.