# Copilot Instructions for Streamyfin ## Project Overview Streamyfin is a cross-platform Jellyfin video streaming client built with Expo (React Native). It supports mobile (iOS/Android) and TV platforms, integrates with Jellyfin and Jellyseerr APIs, and provides seamless media streaming with offline capabilities and Chromecast support. ## Main Technologies - **Runtime**: Bun (JavaScript/TypeScript execution) - **Framework**: React Native (Expo) - **Language**: TypeScript (strict mode) - **State Management**: Jotai (global state) + React Query (server state) - **API SDK**: Jellyfin SDK (TypeScript) - **Navigation**: Expo Router (file-based routing) - **Code Quality**: BiomeJS (formatting/linting) - **Build Platform**: EAS (Expo Application Services) - **CI/CD**: GitHub Actions with Bun ## Package Management **CRITICAL: ALWAYS use `bun` for all package management operations** - **NEVER use `npm`, `yarn` or `npx` commands** - Use `bun install` instead of `npm install` or `yarn install` - Use `bun add ` instead of `npm install ` - Use `bun remove ` instead of `npm uninstall ` - Use `bun run