Un blog SEO para Next.js sin CMS
Si tu sitio es Next.js probablemente no quieras acoplarle un CMS solo para tener un blog. Bora expone tus artículos publicados como un feed JSON con clave privada; lo consumes en un componente de servidor y lo muestras con el diseño que ya tiene tu sitio.
Qué necesitas
- A Next.js app — App Router or Pages Router
- One API key, which Bora generates for you
- About fifteen minutes
Cómo conectar Next.js
- 1Connect Bora and copy the generated snippet — it is a server component that fetches the feed.
- 2Drop it into app/blog/page.tsx and app/blog/[slug]/page.tsx.
- 3Set revalidate to whatever freshness you want; hourly is plenty for daily publishing.
- 4Deploy. New articles appear on their own from then on.
The feed is designed for ISR, not client fetching
The endpoints set cache headers meant to be consumed by a server component with revalidation, so your pages stay static and fast. Fetching from the browser would expose the key and cost you the static render — the snippet we generate does it on the server.
Qué hace Bora en Next.js
- JSON feed with full article HTML — compatible
- Per-article endpoint for detail pages — compatible
- Markdown endpoint if you render your own — compatible
- RSS and sitemap for the feed — compatible
- Writing files into your repository — no compatible