nuxthub

Configure database, KV, blob, and cache backends for Nuxt apps.

Updated Jun 22, 2024
One-click install
npx skills add https://github.com/Dyrean/dotfiles --skill nuxthub-dyrean
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nuxthub
Source: https://github.com/Dyrean/dotfiles/tree/main/opencode/.config/opencode/skills/nuxthub
Command: npx skills add https://github.com/Dyrean/dotfiles --skill nuxthub-dyrean

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

NuxtHub provides a unified backend stack that combines database, KV storage, blob storage, and caching for Nuxt applications, simplifying multi-cloud deployments and reducing integration boilerplate.

Core Features & Use Cases

  • Full-stack Nuxt framework with database, KV, blob, and cache. Multi-cloud support across Cloudflare, Vercel, Deno, Netlify.
  • Includes configuration, schema definitions, and migrations; supports hub:db, hub:kv, hub:blob module imports for server routes and data access.
  • Use case: quickly bootstrap a Nuxt app with persistent data, fast KV lookups, and media storage across providers.

Quick Start

Install NuxtHub in your project and configure hub in nuxt.config.ts to enable DB, KV, blob, and cache.

Frequently Asked Questions about nuxthub

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add a database and blob storage to a Nuxt app for multi-cloud deployment?

NuxtHub provides a unified backend stack combining database, KV, blob, and cache capabilities for Nuxt apps. It supports multi-cloud deployments across Cloudflare, Vercel, Netlify, and Deno Deploy, reducing integration boilerplate for persistent data and media storage.

How do I configure NuxtHub database migrations and schema definitions?

Configure NuxtHub by enabling the hub module in nuxt.config.ts, then define your database schema and run migrations using the included tooling. Access data in server routes through hub:db, hub:kv, and hub:blob module imports for persistent storage and fast lookups.

Does NuxtHub work with Cloudflare, Vercel, and Netlify for server routes?

Yes, NuxtHub supports multi-cloud deployments across Cloudflare, Vercel, Netlify, and Deno Deploy. You can use hub:db, hub:kv, and hub:blob module imports within server routes to handle data access and content routing across these platforms.

When do I need KV storage versus blob storage in a Nuxt backend?

Use KV storage for fast key-value lookups and blob storage for media files in your Nuxt backend. NuxtHub combines both capabilities alongside a database and cache, allowing you to bootstrap full-stack apps with diverse persistent data and media storage needs.

What is the best way to bootstrap a Nuxt app with persistent data and caching?

The best way to bootstrap a Nuxt app with persistent data and caching is using NuxtHub. It combines database, KV, blob, and cache capabilities, allowing you to quickly launch full-stack applications with reduced integration boilerplate across multiple cloud providers.