{"id":31532566,"url":"https://github.com/sigmakib2/woo-invoice-dashboard","last_synced_at":"2026-04-09T12:04:06.597Z","repository":{"id":316917654,"uuid":"1065309763","full_name":"Sigmakib2/woo-invoice-dashboard","owner":"Sigmakib2","description":"Open-source WooCommerce admin dashboard with invoice generation, exports, and reporting — powered by React, Hono.js, and Supabase.","archived":false,"fork":false,"pushed_at":"2025-09-27T15:35:39.000Z","size":47,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-27T16:14:57.246Z","etag":null,"topics":["cloudflare-workers","honojs","pos","reactjs","rest-api","supabase","woocommerce","wordpress"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Sigmakib2.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-27T13:16:23.000Z","updated_at":"2025-09-27T15:51:42.000Z","dependencies_parsed_at":"2025-09-27T16:16:04.187Z","dependency_job_id":"8c06ed21-52cf-4187-8741-1568eb0e8753","html_url":"https://github.com/Sigmakib2/woo-invoice-dashboard","commit_stats":null,"previous_names":["sigmakib2/woo-invoice-dashboard"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/Sigmakib2/woo-invoice-dashboard","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sigmakib2%2Fwoo-invoice-dashboard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sigmakib2%2Fwoo-invoice-dashboard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sigmakib2%2Fwoo-invoice-dashboard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sigmakib2%2Fwoo-invoice-dashboard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sigmakib2","download_url":"https://codeload.github.com/Sigmakib2/woo-invoice-dashboard/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sigmakib2%2Fwoo-invoice-dashboard/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278262444,"owners_count":25957938,"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-10-04T02:00:05.491Z","response_time":63,"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":["cloudflare-workers","honojs","pos","reactjs","rest-api","supabase","woocommerce","wordpress"],"created_at":"2025-10-04T03:56:19.708Z","updated_at":"2025-10-04T03:56:24.564Z","avatar_url":"https://github.com/Sigmakib2.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# woo-invoice-dashboard\n\n**woo-invoice-dashboard** is an open-source admin suite for WooCommerce.\nIt helps shop owners and developers manage orders, generate invoices, export data, and view reports — all outside WordPress — with a modern React + Hono.js + Supabase stack.\n\n---\n\n## 🚀 Features\n\n* 📊 **Dashboard** – a clean React-based admin dashboard for orders, stats, and reporting\n* 🧾 **Invoices** – generate secure, shareable invoice links with revocation control\n* 🔍 **Search** – powerful filters and search across orders and customers\n* 📦 **Exports** – export orders, customers, and items in JSON or CSV\n* 🔄 **Sync** – stay up-to-date with WooCommerce via webhooks or manual sync\n* ⚡ **Modern stack** – built with React, Hono.js, and Supabase\n\n---\n\n## 🎯 Why this project?\n\nManaging WooCommerce orders inside WordPress can feel limited, and many plugins for invoices, reporting, or exports are **paid and closed-source**.\n\nThis project exists to:\n\n1. Provide a **free, open-source alternative** to WooCommerce admin/invoice plugins\n2. Show how to build a **decoupled dashboard** outside WordPress\n3. Let developers **customize and extend** WooCommerce workflows\n4. Serve as a **reference project** for Hono.js + Supabase integrations\n\n---\n\n## 🗂 Project structure\n\n```\nwoo-invoice-dashboard/\n├── apps/\n│   ├── dashboard/   # React admin dashboard\n│   ├── invoice/     # React public invoice site\n│   └── backend/     # Hono.js backend\n├── db/\n│   └── schema.sql   # Supabase/Postgres schema\n├── README.md\n├── LICENSE\n└── .gitignore\n```\n\n---\n\n## ⚡ Quick start\n\n### Prerequisites\n\n* Node.js 18+\n* Supabase project (or any Postgres DB)\n* WooCommerce store with REST API keys \u0026 a webhook secret\n\n### 1. Clone the repo\n\n```bash\ngit clone https://github.com/Sigmakib2/woo-invoice-dashboard.git\ncd woo-invoice-dashboard\n```\n\n### 2. Install dependencies\n\n```bash\ncd apps/dashboard \u0026\u0026 npm install\ncd ../invoice \u0026\u0026 npm install\ncd ../backend \u0026\u0026 npm install\n```\n\n### 3. Configure environment\n\nFirst, deploy the backend. Open the `wrangler.jsonc` file and fill in all required variables.\n\nTo set this up:\n\n1. Go to Supabase and **create a project**.\n2. Copy the DB schema from `./db/schema.sql` and paste it into the Supabase SQL editor to create your tables.\n3. Copy the **Service Role key** and **Project URL**, then add them to your config:\n\n```bash\n# backend/wrangler.jsonc\n\"SUPABASE_SERVICE_ROLE_KEY\": \"*******************.*******************\",\n\"WC_WEBHOOK_SECRET\": \"this_is_a_secret\",\n```\n\n4. In your WooCommerce site dashboard, go to **Settings → Advanced → REST API** and create a new key (read-only is fine for now).\n   Copy the **Consumer key** and **Consumer secret** and add them to your config:\n\n```bash\n\"WC_CONSUMER_KEY\": \"ck_********************************\",\n\"WC_CONSUMER_SECRET\": \"cs_********************************\",\n\"WC_WEBHOOK_SECRET\": \"this_is_a_secret\"\n```\n\n5. Next to the REST API settings, you’ll see **Webhook options**. Create webhooks for order create, update, and delete events.\n   You’ll need a webhook URL, so deploy the backend first. (See the deployment section below.)\n\n### 4. Run locally\n\n* **Backend (Hono + Cloudflare Workers):**\n\n```bash\ncd apps/backend\nnpm install\nnpm run dev\n```\n\nYou’ll get a localhost address — note it.\n\n* **Invoice site:**\n\n```bash\ncd apps/invoice\nnpm install\nnpm run dev\n```\n\nIn `./apps/invoice/src/App.jsx`, replace:\n\n```js\nconst baseUrl = 'https://example.workers.dev';\n```\n\nwith the backend localhost address you noted.\n\n* **Dashboard:**\n\n```bash\ncd apps/dashboard\nnpm install\n```\n\nIn `./apps/dashboard/src/App.jsx`, replace:\n\n```js\nconst baseUrl = \"https://example.workers.dev\";\n```\n\nwith the backend localhost address. Then run:\n\n```bash\nnpm run dev\n```\n\n---\n\n## 📦 Deployment\n\n* **Backend:** Cloudflare Workers (recommended)\n  From the backend folder:\n\n  ```bash\n  npm install\n  npm run build\n  npm run deploy\n  ```\n\n  Cloudflare will ask you to log in and will handle the deployment. Once complete, you’ll get a `.workers.dev` URL.\n\n* **Frontend:** Vercel / Netlify / Cloudflare Pages\n\n* **Database:** Supabase / Postgres\n\n\u003e **Note:** Update the frontend `baseUrl` values with your deployed backend `.workers.dev` address.\n\n---\n\n## 🛠 Contributing\n\nPRs and issues are welcome! Please open a discussion before proposing major feature changes.\n\n---\n\n## 📄 License\n\nThis project is licensed under the [MIT License](./LICENSE).\n\n---\n\n## 🌐 Links\n\n* [WooCommerce REST API docs](https://woocommerce.github.io/woocommerce-rest-api-docs/)\n* [Supabase docs](https://supabase.com/docs)\n* [Hono.js docs](https://hono.dev)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsigmakib2%2Fwoo-invoice-dashboard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsigmakib2%2Fwoo-invoice-dashboard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsigmakib2%2Fwoo-invoice-dashboard/lists"}