{"id":28729649,"url":"https://github.com/dalenguyen/angular-live-dashboard","last_synced_at":"2025-08-10T03:32:35.748Z","repository":{"id":273638020,"uuid":"920376872","full_name":"dalenguyen/angular-live-dashboard","owner":"dalenguyen","description":"An example of a live configuration widget dashboard","archived":false,"fork":false,"pushed_at":"2025-01-22T05:17:35.000Z","size":426,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-15T17:10:36.784Z","etag":null,"topics":["angular","dashboard"],"latest_commit_sha":null,"homepage":"https://dalenguyen.github.io/angular-live-dashboard/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dalenguyen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2025-01-22T03:25:25.000Z","updated_at":"2025-01-22T05:19:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"55253c8d-c491-4e24-860a-9ff6ec6c24b6","html_url":"https://github.com/dalenguyen/angular-live-dashboard","commit_stats":null,"previous_names":["dalenguyen/angular-live-dashboard"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dalenguyen/angular-live-dashboard","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dalenguyen%2Fangular-live-dashboard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dalenguyen%2Fangular-live-dashboard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dalenguyen%2Fangular-live-dashboard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dalenguyen%2Fangular-live-dashboard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dalenguyen","download_url":"https://codeload.github.com/dalenguyen/angular-live-dashboard/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dalenguyen%2Fangular-live-dashboard/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269671999,"owners_count":24457110,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-10T02:00:08.965Z","response_time":71,"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":["angular","dashboard"],"created_at":"2025-06-15T17:10:09.001Z","updated_at":"2025-08-10T03:32:35.736Z","avatar_url":"https://github.com/dalenguyen.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Angular Dashboard App\n\nA modern, customizable dashboard application built with Angular 19, featuring a widget-based architecture and real-time updates.\n\n## Features\n\n- 📊 Customizable widget-based dashboard\n- 🔄 Real-time updates with Angular Signals\n- 📱 Responsive design with Tailwind CSS\n- 💾 Persistent layout with localStorage\n- 🎯 Modern Angular practices (Signals, Dependency Injection)\n\n## Available Widgets\n\n- ⏰ Clock Widget: Displays current time with automatic updates\n- 🌤️ Weather Widget: Shows simulated weather conditions (can be connected to a real weather API)\n\n## Project Structure\n\n```\nsrc/\n├── app/\n│   ├── shared/\n│   │   ├── components/\n│   │   │   ├── base-widget.component.ts    # Base class for all widgets\n│   │   │   └── widget-host.component.ts    # Dynamic widget container\n│   │   ├── services/\n│   │   │   ├── dashboard-state.service.ts  # Dashboard state management\n│   │   │   └── widget-registry.service.ts  # Widget registration and management\n│   │   └── interfaces/\n│   │       └── widget.interface.ts         # Widget configuration interface\n│   ├── widgets/\n│   │   ├── clock/\n│   │   │   └── clock.widget.ts            # Clock widget implementation\n│   │   └── weather/\n│   │       └── weather.widget.ts          # Weather widget implementation\n│   └── dashboard/\n│       ├── dashboard.component.ts         # Main dashboard layout\n│       └── widget-dialog.component.ts     # Widget selection dialog\n```\n\n## Getting Started\n\n### Prerequisites\n\n- Node.js 18.13.0 or higher\n- npm or pnpm package manager\n\n### Installation\n\n1. Clone the repository:\n```bash\ngit clone https://github.com/yourusername/angular-live-dashboard.git\ncd angular-live-dashboard\n```\n\n2. Install dependencies:\n```bash\nnpm install\n# or\npnpm install\n```\n\n3. Start the development server:\n```bash\nnpm run start\n# or\npnpm start\n```\n\n4. Open your browser and navigate to `http://localhost:5173`\n\n## Adding New Widgets\n\n1. Create a new widget component that extends `BaseWidget`:\n```typescript\n@Component({\n  selector: 'app-my-widget',\n  imports: [CommonModule],\n  template: `\n    \u003cdiv class=\"h-full flex flex-col bg-white\"\u003e\n      \u003c!-- Widget content --\u003e\n    \u003c/div\u003e\n  `\n})\nexport class MyWidget extends BaseWidget {\n  // Widget implementation\n}\n```\n\n2. Register the widget in `widget-registry.service.ts`:\n```typescript\nimport { MyWidget } from './widgets/my-widget/my.widget';\n\n@Injectable({\n  providedIn: 'root'\n})\nexport class WidgetRegistryService {\n  private readonly widgets = new Map\u003cstring, Type\u003cBaseWidget\u003e\u003e([\n    ['Clock', ClockWidget],\n    ['Weather', WeatherWidget],\n    ['MyWidget', MyWidget], // Add your new widget here\n  ]);\n}\n```\n\n3. Add widget to the available options in `widget-dialog.component.ts`:\n```typescript\navailableWidgets = signal\u003cWidgetOption[]\u003e([\n  {\n    type: 'MyWidget',\n    title: 'My Widget',\n    description: 'Description of my widget',\n    icon: '🔧'\n  },\n  // ... other widgets\n]);\n```\n\n## Features in Development\n\n- [ ] Drag and drop widget positioning\n- [ ] Widget resizing\n- [ ] More widget types\n- [ ] Widget settings/configuration\n- [ ] Data persistence with backend integration\n- [ ] User authentication and personalized dashboards\n\n## Contributing\n\n1. Fork the repository\n2. Create your feature branch (`git checkout -b feature/amazing-feature`)\n3. Commit your changes (`git commit -m 'Add some amazing feature'`)\n4. Push to the branch (`git push origin feature/amazing-feature`)\n5. Open a Pull Request\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdalenguyen%2Fangular-live-dashboard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdalenguyen%2Fangular-live-dashboard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdalenguyen%2Fangular-live-dashboard/lists"}