{"id":49360374,"url":"https://github.com/kyletryon/crt-smart-display","last_synced_at":"2026-04-27T16:02:05.457Z","repository":{"id":315317223,"uuid":"1057267969","full_name":"KyleTryon/CRT-Smart-Display","owner":"KyleTryon","description":"A smart dashboard designed to be displayed on CRT tvs","archived":false,"fork":false,"pushed_at":"2025-09-24T03:09:14.000Z","size":521,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-23T01:53:57.574Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/KyleTryon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-15T13:54:05.000Z","updated_at":"2025-09-24T03:09:18.000Z","dependencies_parsed_at":"2025-09-22T07:00:29.669Z","dependency_job_id":null,"html_url":"https://github.com/KyleTryon/CRT-Smart-Display","commit_stats":null,"previous_names":["kyletryon/crt-smart-display"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/KyleTryon/CRT-Smart-Display","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KyleTryon%2FCRT-Smart-Display","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KyleTryon%2FCRT-Smart-Display/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KyleTryon%2FCRT-Smart-Display/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KyleTryon%2FCRT-Smart-Display/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KyleTryon","download_url":"https://codeload.github.com/KyleTryon/CRT-Smart-Display/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KyleTryon%2FCRT-Smart-Display/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32343571,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"online","status_checked_at":"2026-04-27T02:00:06.769Z","response_time":128,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-04-27T16:02:04.448Z","updated_at":"2026-04-27T16:02:05.450Z","avatar_url":"https://github.com/KyleTryon.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CRT Smart Display\n\nA retro-inspired digital display application that cycles through different full-screen modules with a CRT monitor aesthetic.\n\n## Features\n\n- **CRT Visual Effects**: Authentic CRT monitor appearance with scanlines, flicker, and green phosphor glow\n- **4:3 Aspect Ratio**: Maintains classic CRT display proportions\n- **Modular App System**: Easily extensible architecture for adding new display modules\n- **Built-in Apps**:\n  - Welcome Screen: Initial display with animated loading effect\n  - Digital Clock: Full-screen clock with date display\n  - ADS-B Tracker: Live aircraft tracking with custom Philadelphia map\n  - Weather Display: Current conditions and 5-hour forecast\n\n## Technology Stack\n\n- **Framework**: React 19 with TypeScript\n- **Build Tool**: Vite\n- **Styling**: Tailwind CSS v4\n- **Font**: VT323 (Google Fonts) for authentic terminal aesthetic\n- **Code Quality**: ESLint + Prettier configured\n- **Package Manager**: pnpm\n- **Data Sources**:\n  - ADS-B data via [adsb.fi](https://adsb.fi) OpenData API\n  - Weather data via [Open-Meteo](https://open-meteo.com) API\n\n## Installation\n\n### Local Development\n\n```bash\n# Install dependencies\npnpm install\n\n# Start development server\npnpm run dev\n\n# Build for production\npnpm run build\n\n# Preview production build\npnpm run preview\n```\n\n### Docker Deployment\n\nThe application includes a complete Docker setup for easy deployment:\n\n#### Quick Start with Docker Compose\n\n```bash\n# Build and run the application\ndocker-compose up -d\n\n# View logs\ndocker-compose logs -f\n\n# Stop the application\ndocker-compose down\n```\n\nThe application will be available at `http://localhost:3000`\n\n#### Manual Docker Build\n\n```bash\n# Build the Docker image\ndocker build -t crt-smart-display .\n\n# Run the container\ndocker run -d -p 3000:80 --name crt-smart-display crt-smart-display\n\n# View logs\ndocker logs -f crt-smart-display\n\n# Stop and remove container\ndocker stop crt-smart-display\ndocker rm crt-smart-display\n```\n\n#### Docker Features\n\n- **Multi-stage build**: Optimized for production with minimal image size\n- **Nginx server**: Serves the built application with proper caching and compression\n- **Health checks**: Built-in health monitoring\n- **API proxying**: Handles CORS and proxies external API calls (ADS-B data)\n- **Security headers**: Includes security best practices\n- **SPA routing**: Proper client-side routing support\n#### API Configuration\n\nThe application uses a proxy setup for external API calls (no API keys required):\n\n**Development (Vite dev server):**\n- ADS-B API calls go to `/api/adsb/*` and are proxied to `https://opendata.adsb.fi/api/v2/*`\n- Weather API calls go directly to Open-Meteo (handled by the `openmeteo` package)\n\n**Production (Docker/Nginx):**\n- ADS-B API calls go to `/api/adsb/*` and are proxied by nginx to `https://opendata.adsb.fi/api/v2/*`\n- Weather API calls go directly to Open-Meteo (no proxy needed)\n\nThis setup provides:\n- CORS handling for browser-based requests\n- Rate limiting protection\n- Consistent API endpoints across environments\n- User-Agent header management\n- No API keys or environment variables needed\n\n## Adding New Display Modules\n\n1. Create a new component in `src/apps/`\n2. Import it in `src/App.tsx`\n3. Add it to the `apps` array with a name\n\nExample:\n\n```typescript\n// In src/apps/MyNewApp.tsx\nimport React from 'react'\n\nconst MyNewApp: React.FC = () =\u003e {\n  return (\n    \u003cdiv className=\"flex items-center justify-center h-full\"\u003e\n      \u003ch1 className=\"text-6xl\"\u003eMy New Display\u003c/h1\u003e\n    \u003c/div\u003e\n  )\n}\n\nexport default MyNewApp\n\n// In src/App.tsx\nimport MyNewApp from './apps/MyNewApp'\n\nconst apps = [\n  { component: WelcomeApp, name: 'Welcome' },\n  { component: ClockApp, name: 'Clock' },\n  { component: MyNewApp, name: 'My Display' }, // Add here\n]\n```\n\n## Configuration\n\n- **App Cycle Time**: Currently set to 10 seconds. Modify in `src/App.tsx`\n- **CRT Effects**: Customize in `src/index.css` and `src/layouts/CrtLayout.tsx`\n- **Colors**: Adjust the green phosphor color scheme in Tailwind classes\n\n## Development\n\n```bash\n# Run linter\npnpm run lint\n\n# Format code with Prettier\npnpm prettier --write .\n\n# Type checking\npnpm tsc --noEmit\n```\n\n## Features\n\n### Keyboard Controls\n\n- **X**: Next app\n- **Z**: Previous app\n- **]**: Next CRT theme\n- **[**: Previous CRT theme\n\n### CRT Themes\n\n- Classic Green (default)\n- Classic Amber\n- Retro Cyan\n- Paper Terminal (white)\n- Alert Red\n- Neon Purple\n\n### Configuration\n\nEdit `src/config/config.json` to customize:\n\n- App cycling behavior (`enableCycling: true/false`)\n- Static app display (`staticApp: \"weather\"`)\n- Cycle timing (`appCycleTime: 10000` ms)\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkyletryon%2Fcrt-smart-display","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkyletryon%2Fcrt-smart-display","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkyletryon%2Fcrt-smart-display/lists"}