Something went wrong. Try again.
React blog kit backed by AT Protocol. Provides filtering UI, pagination, Bluesky comments/embeds, subscribe widget, and markdown rendering.
Something went wrong. Try again.
911 B · 21 lines
TypeScript
at main
12345678910111213141516171819202122// Server barrel — plain Node async utilities. Callable from any server// runtime: Next.js RSCs / route handlers, Hono routes, SvelteKit endpoints,// Express handlers. No framework directives.//// For React Server Components (async-rendering route helpers like// <BlogListPage>) import from `@blog/rsc` instead.//// `markdown-cache` is intentionally NOT re-exported here. Its// `loadMarkdownContent` does a `process.cwd()` fs read that bundlers// (Turbopack/webpack NFT) can't statically scope, so re-exporting it would// drag the whole consuming project into every server bundle that touches// this barrel. Import it directly from `@blog/markdown-cache` when needed.
export { getPublishedPosts, getPostsByCategories, getPaginatedPosts, getFeaturedPosts,} from "./server-post-filters";
export { generateBlogListStaticParams, generateBlogPostStaticParams } from "./routes/static-params";