cardboard-app Svelte Themes

Cardboard App

Cardboard - Expandable cards UI built with Svelte, PocketBase, and TailwindCSS

Cardboard - Expandable Cards UI

A modern web application built with Svelte, PocketBase, and TailwindCSS featuring smooth expandable card animations.

šŸš€ Tech Stack

  • Frontend: SvelteKit with TypeScript
  • Backend: PocketBase (self-hosted)
  • Styling: TailwindCSS
  • Deployment: Kubernetes (kk0s homelab)
  • Domain: https://cardboard.07c.me

šŸ“ Project Structure

cardboard-app/
ā”œā”€ā”€ svelte/              # SvelteKit frontend
│   ā”œā”€ā”€ src/
│   │   ā”œā”€ā”€ routes/      # SvelteKit routes
│   │   ā”œā”€ā”€ lib/         # Shared components and utilities
│   │   └── app.html     # HTML template
│   ā”œā”€ā”€ static/          # Static assets
│   ā”œā”€ā”€ package.json     # Node.js dependencies
│   ā”œā”€ā”€ vite.config.js   # Vite configuration
│   └── tailwind.config.js # TailwindCSS configuration
ā”œā”€ā”€ pocketbase/          # PocketBase backend
│   ā”œā”€ā”€ migrations/      # Database migrations
│   └── pb_hooks/        # PocketBase hooks
└── README.md           # This file

šŸŽÆ Features

  • Expandable Cards: Smooth animations for expanding/collapsing cards
  • Responsive Design: Mobile-first design with TailwindCSS
  • Real-time Updates: PocketBase real-time subscriptions
  • Persistent Storage: All data stored in PocketBase
  • Auto-deployment: Git-based deployment with live reload

šŸ› ļø Local Development

# Frontend development
cd svelte
npm install
npm run dev

# Backend development
cd pocketbase
./pocketbase serve --dev

šŸ“¦ Deployment

This application is designed to run in the kk0s Kubernetes homelab. The deployment process:

  1. Code is pushed to this GitHub repository
  2. Kubernetes container automatically pulls and builds the app
  3. Svelte frontend is compiled and served by PocketBase
  4. SSL certificate and domain configuration handled by kk0s

🌐 Access

šŸ” Authentication

Uses the kk0s unified credential system:

  • Username: admin
  • Password: Configured in kk0s environment

Built with ā¤ļø for the kk0s Kubernetes homelab

Top categories

Loading Svelte Themes