managarten/apps/inventar/CLAUDE.md
Till JS 22a73943e1 chore: complete ManaCore → Mana rename (docs, go modules, plists, images)
Final cleanup of references missed in previous rename commits:

- Dockerfiles: PUBLIC_MANA_CORE_AUTH_URL → PUBLIC_MANA_AUTH_URL
- Go modules: github.com/manacore/* → github.com/mana/* (7 go.mod files)
- launchd plists: com.manacore.* → com.mana.* (14 files renamed + content)
- Image assets: *_Manacore_AI_Credits* → *_Mana_AI_Credits* (11 files)
- .env.example files: ManaCore brand strings → Mana
- .prettierignore: stale apps/manacore/* paths → apps/mana/*
- Markdown docs (CLAUDE.md, /docs/*): mana-core-auth → mana-auth, etc.

Excluded from rename: .claude/, devlog/, manascore/ (historical content),
client testimonials, blueprints, npm package refs (@mana-core/*).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-07 12:26:10 +02:00

2.1 KiB

Inventar

Configurable inventory management app - track anything with custom schemas.

Web App Port: 5190

Project Overview

Inventar is a schema-less inventory management system built with SvelteKit. Users can create collections with custom field definitions, organize items by location and category, and view them in list/grid/table views.

Tech Stack

Layer Technology
Frontend SvelteKit 2, Svelte 5 (runes), Tailwind CSS 4
State Svelte 5 runes ($state, $derived) with localStorage persistence
Icons @mana/shared-icons (Phosphor)
PWA @vite-pwa/sveltekit + Workbox
i18n svelte-i18n (de, en)

Key Concepts

  • Collections: Groups of items with a shared schema (custom field definitions)
  • Templates: Predefined schemas for common item types (electronics, books, etc.)
  • Items: Individual inventory entries with custom field values
  • Locations: Hierarchical places (House > Room > Cabinet > Shelf)
  • Categories: Flexible categorization with hierarchy
  • Views: List, Grid, Table views with saved filters

Development

# From monorepo root
pnpm dev:inventar:web    # Start web app on port 5190

Project Structure

apps/inventar/
├── apps/
│   └── web/                      # SvelteKit web client
│       ├── src/
│       │   ├── routes/
│       │   │   ├── (auth)/       # Login flow
│       │   │   └── (app)/        # Authenticated app
│       │   │       ├── collections/
│       │   │       ├── items/
│       │   │       ├── locations/
│       │   │       └── categories/
│       │   └── lib/
│       │       ├── stores/       # Svelte 5 rune stores
│       │       ├── components/   # UI components
│       │       ├── i18n/         # Translations
│       │       └── data/         # Templates, defaults
│       └── static/
└── packages/
    └── shared/                   # Shared types & constants