{"id":30342750,"url":"https://github.com/fwextensions/hours-of-operation","last_synced_at":"2026-02-09T07:07:56.225Z","repository":{"id":310120414,"uuid":"1030048925","full_name":"fwextensions/hours-of-operation","owner":"fwextensions","description":null,"archived":false,"fork":false,"pushed_at":"2025-08-15T20:49:24.000Z","size":25,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-15T22:42:42.011Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://hours-of-operation.vercel.app","language":"HTML","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/fwextensions.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}},"created_at":"2025-08-01T02:29:43.000Z","updated_at":"2025-08-15T20:49:27.000Z","dependencies_parsed_at":"2025-08-15T22:42:44.075Z","dependency_job_id":"7d74c1f1-aa0c-4417-aa26-fe7ab7218bd3","html_url":"https://github.com/fwextensions/hours-of-operation","commit_stats":null,"previous_names":["fwextensions/hours-of-operation"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/fwextensions/hours-of-operation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fwextensions%2Fhours-of-operation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fwextensions%2Fhours-of-operation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fwextensions%2Fhours-of-operation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fwextensions%2Fhours-of-operation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fwextensions","download_url":"https://codeload.github.com/fwextensions/hours-of-operation/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fwextensions%2Fhours-of-operation/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270982135,"owners_count":24679442,"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-18T02:00:08.743Z","response_time":89,"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":"2025-08-18T10:41:59.958Z","updated_at":"2026-02-09T07:07:51.203Z","avatar_url":"https://github.com/fwextensions.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Business Hours Parser - Next.js App\n\nA Next.js application that converts natural language business hours descriptions into structured JSON format using OpenAI's API.\n\n## Setup\n\n1. Install dependencies:\n   ```bash\n   npm install\n   ```\n\n2. Set up your OpenAI API key:\n   - Copy `.env.local` and add your OpenAI API key:\n   ```\n   OPENAI_API_KEY=your_actual_openai_api_key_here\n   ```\n\n3. Run the development server:\n   ```bash\n   npm run dev\n   ```\n\n4. Open [http://localhost:3000](http://localhost:3000) in your browser.\n\n## Features\n\n- ✅ Secure server-side API calls (API key not exposed to client)\n- ✅ Natural language processing of business hours\n- ✅ Structured JSON output\n- ✅ Demo mode for testing without API key\n- ✅ Clean, responsive UI\n- ✅ Error handling and validation\n\n## Usage\n\n1. Enter a natural language description of business hours (e.g., \"we're open tuesdays and thursdays 9-5, with an hour closed for lunch at 12\")\n2. Click \"Parse Hours with AI\" to get structured JSON output\n3. Use \"Try Demo Mode\" to see example output without using the API\n\n## API\n\nThe app includes a Next.js API route at `/api/parse-hours` that:\n- Accepts POST requests with `hoursText` in the body\n- Returns structured JSON with business hours\n- Handles OpenAI API communication securely on the server side\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffwextensions%2Fhours-of-operation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffwextensions%2Fhours-of-operation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffwextensions%2Fhours-of-operation/lists"}