npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

create-next-tauri

v1.0.6

Published

Starter para crear aplicaciones de escritorio con Tauri, Next.js, Tailwind y shadcn/ui

Readme

🧪 create-next-tauri

🚀 Crea aplicaciones de escritorio modernas con Tauri + Next.js 14 + Tailwind CSS + shadcn/ui con un solo comando
Perfecto para iniciar apps de escritorio livianas, seguras y rápidas utilizando tecnologías web.

Tauri Next.js Tailwind CSS shadcn/ui npm License

✨ Características

  • 🚀 Instalación con un solo comando - Comienza en segundos, no en horas
  • ⚙️ Configuración cero - Todo pre-configurado para empezar a desarrollar inmediatamente
  • 🔄 Desarrollo en tiempo real - Hot reloading para una experiencia de desarrollo fluida
  • 🌗 Modo oscuro - Sistema de temas claro/oscuro listo para usar
  • 🧩 Componentes reutilizables - Construido con shadcn/ui para una UI consistente
  • 📱 Responsivo - Diseñado para verse bien en cualquier tamaño de pantalla
  • 🛠️ TypeScript - Tipado completo para una experiencia de desarrollo robusta

📦 Stack Tecnológico

  • Next.js 14 – App Router, Server Components y optimización por defecto
  • 🦀 Tauri – Motor de apps de escritorio súper liviano y seguro
  • 💨 Tailwind CSS – Styling utility-first con control total
  • 🧱 shadcn/ui – Componentes hermosos y accesibles usando Radix UI
  • 🌗 Dark Mode – Toggle de tema claro/oscuro listo para usar
  • 🔄 Estado Global – Sistema de gestión de estado configurado y listo

🚀 Inicio Rápido

Creación de un nuevo proyecto

# Crea una nueva aplicación con un solo comando
npx create-next-tauri mi-app

# Navega al directorio del proyecto
cd mi-app

# Inicia el servidor de desarrollo
npm run tauri dev

¡Eso es todo! Tu nueva aplicación Tauri + Next.js estará funcionando en segundos.

🧰 Requisitos Previos

Antes de usar create-next-tauri, asegúrate de tener instalado:

📋 Estructura del Proyecto

mi-app/
├── src/                  # Código fuente de Tauri (Rust)
│   ├── main.rs           # Punto de entrada de Rust
│   └── ...
├── src-tauri/            # Configuración de Tauri
│   ├── tauri.conf.json   # Configuración principal de Tauri
│   └── ...
├── app/                  # Componentes de Next.js
│   ├── page.tsx          # Página principal
│   ├── layout.tsx        # Layout principal
│   └── ...
├── components/           # Componentes React reutilizables
│   ├── ui/               # Componentes de interfaz de usuario (shadcn/ui)
│   └── ...
├── lib/                  # Utilidades y helpers
├── styles/               # Estilos globales
└── public/               # Archivos estáticos

🛠️ Scripts Disponibles

  • npm run tauri dev - Inicia el servidor de desarrollo de Next.js y Tauri
  • npm run tauri build - Compila la aplicación para producción
  • npm run dev - Inicia solo el servidor de desarrollo de Next.js
  • npm run build - Compila solo la parte web de la aplicación
  • npm run lint - Ejecuta el linter para verificar la calidad del código

⚙️ Personalización

Configuración de Tauri

Puedes personalizar la configuración de Tauri editando el archivo src-tauri/tauri.conf.json:

{
  "build": {
    "beforeBuildCommand": "npm run build",
    "beforeDevCommand": "npm run dev",
    "devPath": "http://localhost:3000",
    "distDir": "../out"
  },
  "package": {
    "productName": "Mi Aplicación",
    "version": "0.1.0"
  },
  // ... más configuraciones
}

Componentes UI

Este starter utiliza shadcn/ui, que proporciona componentes hermosos y personalizables. Puedes añadir más componentes con:

npx shadcn-ui@latest add button
npx shadcn-ui@latest add card
# etc.

📚 Ejemplos Incluidos

El starter incluye ejemplos de:

  • Implementación de tema claro/oscuro
  • Comunicación entre Rust y JavaScript
  • Uso de componentes shadcn/ui
  • Layouts responsivos con Tailwind CSS

🤝 Contribuir

¡Las contribuciones son bienvenidas! Si tienes alguna sugerencia, problema o mejora:

  1. Haz fork del repositorio
  2. Crea una rama para tu feature (git checkout -b feature/amazing-feature)
  3. Haz commit de tus cambios (git commit -m 'feat: add amazing feature')
  4. Push a la rama (git push origin feature/amazing-feature)
  5. Abre un Pull Request

📄 Licencia

Distribuido bajo la licencia MIT. Ver LICENSE para más información.

👏 Agradecimientos