{"id":27162904,"url":"https://github.com/msadeqsirjani/digital-clock","last_synced_at":"2026-04-09T12:53:44.305Z","repository":{"id":286715090,"uuid":"962313272","full_name":"msadeqsirjani/digital-clock","owner":"msadeqsirjani","description":"A minimalist, responsive digital clock application built with React, TypeScript, and TailwindCSS. Features clean design, customizable display options, and cross-browser compatibility. Perfect for desktop and mobile viewing with dark/light mode support.","archived":false,"fork":false,"pushed_at":"2025-04-08T01:14:37.000Z","size":31,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-08T02:24:29.835Z","etag":null,"topics":["dark-mode","digital-clock","light-mode","minimalist-ui","react","responsive-design","tailwindcss","time-display","typescript","vite","web-application"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/msadeqsirjani.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}},"created_at":"2025-04-08T01:11:28.000Z","updated_at":"2025-04-08T01:14:40.000Z","dependencies_parsed_at":"2025-04-08T02:24:31.770Z","dependency_job_id":"f83f678d-3152-4c26-a54b-aa11a0ccf615","html_url":"https://github.com/msadeqsirjani/digital-clock","commit_stats":null,"previous_names":["msadeqsirjani/digital-clock"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msadeqsirjani%2Fdigital-clock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msadeqsirjani%2Fdigital-clock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msadeqsirjani%2Fdigital-clock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msadeqsirjani%2Fdigital-clock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/msadeqsirjani","download_url":"https://codeload.github.com/msadeqsirjani/digital-clock/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247957879,"owners_count":21024774,"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","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":["dark-mode","digital-clock","light-mode","minimalist-ui","react","responsive-design","tailwindcss","time-display","typescript","vite","web-application"],"created_at":"2025-04-09T01:34:23.203Z","updated_at":"2025-12-30T23:05:20.303Z","avatar_url":"https://github.com/msadeqsirjani.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Digital Clock\n\nA minimalist, responsive digital clock application built with React and TailwindCSS. Simple, clean, and functional.\n\n## Features\n\n- **Real-time Clock**: Updates every second with precise time\n- **Date Display**: Shows the current date in a readable format\n- **Dark/Light Mode**: Toggle between dark and light themes\n- **12/24 Hour Format**: Switch between 12-hour and 24-hour time formats\n- **Responsive Design**: Works on all devices and screen sizes\n- **Full Screen Background**: Fills the entire screen with the theme color\n- **Title Updates**: Browser tab title updates with the current time\n\n## Getting Started\n\n### Prerequisites\n\n- Node.js (v14 or higher)\n- npm (v6 or higher)\n\n### Quick Setup\n\n#### Using Setup Scripts\n\nFor Unix/Linux/macOS:\n```bash\n./scripts/setup.sh\n```\n\nFor Windows:\n```\nscripts\\setup.bat\n```\n\nThese scripts will check your environment, install dependencies, and offer to start the application for you.\n\n### Package Manager Scripts\n\nWe provide convenient scripts for common package operations:\n\nFor Unix/Linux/macOS:\n```bash\n./scripts/package-manager.sh [command]\n```\n\nFor Windows:\n```\nscripts\\package-manager.bat [command]\n```\n\nAvailable commands:\n- `install` - Install dependencies\n- `clean` - Clean build artifacts and caches\n- `update` - Update dependencies\n- `audit` - Run security audit\n- `start` - Start the development server\n- `build` - Build for production\n- `help` - Show help message\n\nFor example:\n```bash\n./scripts/package-manager.sh start\n```\n\n### Manual Installation\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/msadeqsirjani/digital-clock.git\n   cd digital-clock\n   ```\n\n2. Install dependencies:\n   ```bash\n   npm install\n   ```\n\n3. Start the development server:\n   ```bash\n   npm run dev\n   ```\n\n4. Open your browser and navigate to `http://localhost:5173`\n\n### Available npm Scripts\n\n- `npm run dev` - Start the development server\n- `npm run build` - Build for production\n- `npm run preview` - Preview the production build\n- `npm run start` - Start the development server and open in browser\n- `npm run setup` - Install dependencies\n- `npm run clean` - Clean build artifacts and cache\n- `npm run prepare` - Clean and reinstall dependencies\n- `npm run restart` - Clean, reinstall, and restart the development server\n\n### Building for Production\n\nTo create a production build:\n\n```bash\nnpm run build\n```\n\nThe built files will be in the `dist` directory.\n\n## Technologies Used\n\n- React \n- TypeScript\n- TailwindCSS\n- Vite\n- Lucide Icons\n\n## Usage\n\n- Click the sun/moon icon to toggle between dark and light modes\n- Click the \"12H\"/\"24H\" button to switch time formats\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsadeqsirjani%2Fdigital-clock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmsadeqsirjani%2Fdigital-clock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsadeqsirjani%2Fdigital-clock/lists"}