ai_automation_suggester
This custom Home Assistant integration automatically scans your entities, detects new devices, and uses AI (via cloud and local APIs) to suggest tailored automations. It supports multiple AI providers
翻译准备中
尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证A "hugo-book" theme but build for Astro.
翻译准备中
取自仓库 README
正在加载完整 README。 以下为已保存的摘录。
A customizable, static reading theme for Astro, inspired by Hugo Book. Build a blog, knowledge base or technical notebook with a familiar three-column layout and room for interactive experiments.
Demo: yindongliang.com. This blog uses astro-book and is maintained separately from the theme documentation.查看完整 README ↗A customizable, static reading theme for Astro, inspired by Hugo Book. Build a blog, knowledge base or technical notebook with a familiar three-column layout and room for interactive experiments.
Getting started · Public API · Development and upgrades
Demo: yindongliang.com. This blog uses astro-book and is maintained separately from the theme documentation.
Documentation: tcitry.github.io/astro-book. The self-contained example covers navigation, Markdown/MDX, code, math, diagrams, components and working search. Pushes to main build and publish the documentation through GitHub Pages. The workflow checks the native origin before deploying; the documentation site has no custom domain.
The theme focuses on Hugo Book reading features and framework-neutral customization. Your site controls content loading, URLs, tags/categories, sorting, search scope, RSS/sitemaps, identity and deployment. Custom weekly, timeline, portfolio, links and demo pages belong to the consuming site, including their UI, data models and styles. No Starlight dependency or prescribed content directory is required.
Use Node.js 22.12 or newer; this repository is verified with Node.js 24.
git clone https://github.com/tcitry/astro-book.git
cd astro-book
npm ci
npm run dev
Open localhost:4322/astro-book/. The example covers Markdown, MDX, public components, layout slots and theme switching using synthetic content.
Install the public theme package in an Astro 7.3.1+ project:
npm install @tcitry/astro-book
Enable the integration in astro.config.mjs:
import { defineConfig } from 'astro/config';
import astroBook from '@tcitry/astro-book';
export default defineConfig({
site: 'https://example.org',
output: 'static',
trailingSlash: 'always',
integrations: [astroBook()],
});
Create src/pages/index.astro:
---
import BookLayout from '@tcitry/astro-book/components/BookLayout';
---
<BookLayout
site={{ title: 'My notebook', lang: 'en' }}
page={{ title: 'Welcome', url: '/', toc: false }}
navigation={[{ id: 'home', label: 'Home', href: '/', active: true }]}
seo={{ canonical: new URL('/', Astro.site).href }}
>
<article class="markdown" data-pagefind-body>
<h1>Welcome</h1>
<p>A static reading page, ready for your content.</p>
</article>
</BookLayout>
BookLayout loads the packaged CSS and browser features. astroBook() automatically generates this site's Pagefind index during astro build; no separate Pagefind installation or CLI command is needed. Use astro preview to test the generated search index. The search asset URL follows Astro's base automatically. Follow the complete setup guide for Markdown/MDX layouts, navigation and TOC, math and diagrams, search, SEO, Giscus, framework islands and customization.
See the styling contract and Hugo Book upstream record for customization and feature ports.
npm run build
npm run check
npm test
npm run verify:package
verify:package installs a packed artifact into an independent temporary Astro project, then checks its types, build, HTML, CSS, scripts, fonts and working search queries beneath the configured base path. That consumer has no Tailwind compiler and cannot scan this repository to complete its styles.
See architecture and public contracts, verification notes and versioning, upgrades and rollback. Publishing and deployment are separate maintainer actions.
MIT. Adapted Hugo Book code retains Alex Shpak's copyright and pinned-source attribution. See LICENSE and third-party notices.