{"id":50321123,"url":"https://github.com/iyehah/fatoore","last_synced_at":"2026-05-29T03:30:58.527Z","repository":{"id":351880877,"uuid":"1212846011","full_name":"iyehah/fatoore","owner":"iyehah","description":"web app creating and managing invoices with support for Mauritanian context (MRU, local payment methods such as Bankily, Seddad, Masrvi, BimBank ...","archived":false,"fork":false,"pushed_at":"2026-05-16T19:59:20.000Z","size":1757,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-16T20:25:29.552Z","etag":null,"topics":["img","invoices-generates","mauritania","payment-application","payments","pdf"],"latest_commit_sha":null,"homepage":"https://fatoore.vercel.app","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/iyehah.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":"2026-04-16T19:41:51.000Z","updated_at":"2026-05-16T19:59:25.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/iyehah/fatoore","commit_stats":null,"previous_names":["iyehah/-riminvoice","iyehah/fatoore"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/iyehah/fatoore","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iyehah%2Ffatoore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iyehah%2Ffatoore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iyehah%2Ffatoore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iyehah%2Ffatoore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iyehah","download_url":"https://codeload.github.com/iyehah/fatoore/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iyehah%2Ffatoore/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33635961,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-29T02:00:06.066Z","response_time":107,"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":["img","invoices-generates","mauritania","payment-application","payments","pdf"],"created_at":"2026-05-29T03:30:56.768Z","updated_at":"2026-05-29T03:30:58.497Z","avatar_url":"https://github.com/iyehah.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\u003cimg src=\"./public/logo.svg\" width=\"300\" alt=\"Fatoore Logo\" /\u003e\n\u003cp\u003e\n  \u003cimg src=\"https://img.shields.io/github/stars/iyehah/fatoore?style=flat-square\" /\u003e\n  \u003cimg src=\"https://img.shields.io/github/forks/iyehah/fatoore?style=flat-square\" /\u003e\n  \u003cimg src=\"https://img.shields.io/github/issues/iyehah/fatoore?style=flat-square\" /\u003e\n  \u003cimg src=\"https://img.shields.io/github/license/iyehah/fatoore?style=flat-square\" /\u003e\n\u003c/p\u003e\n\u003c/div\u003e\n\nCreate and manage professional invoices for sales, subscriptions, services, bookings, and installments through an intuitive dashboard, or generate high-quality PNG/PDF invoices via HTTP API for ERP, CRM, and automation systems. Fully customizable currency, branding, and payment methods.\n\n\u003e Fast, polished invoices for your business — in the browser or from your own system.\n\n\u003cdiv align=\"center\"\u003e\n  \u003ctable\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\"\u003e\n        \u003cimg src=\"./public/invoice-INV-260516-2929.png\" width=\"220\" /\u003e\u003cbr/\u003e\n        \u003csub\u003eInstallment • Orange • EN • Medium\u003c/sub\u003e\n      \u003c/td\u003e\n      \u003ctd align=\"center\"\u003e\n        \u003cimg src=\"./public/invoice-INV-260521-1172.png\" width=\"220\" /\u003e\u003cbr/\u003e\n        \u003csub\u003eSubscription • Green • EN • Medium\u003c/sub\u003e\n      \u003c/td\u003e\n      \u003ctd align=\"center\"\u003e\n        \u003cimg src=\"./public/invoice-INV-260521-8269.png\" width=\"220\" /\u003e\u003cbr/\u003e\n        \u003csub\u003eService • Default • AR • Small\u003c/sub\u003e\n      \u003c/td\u003e\n      \u003ctd align=\"center\"\u003e\n        \u003cimg src=\"./public/invoice-INV-260521-0244.png\" width=\"220\" /\u003e\u003cbr/\u003e\n        \u003csub\u003eSales • Blue • FR • Small\u003c/sub\u003e\n      \u003c/td\u003e\n    \u003c/tr\u003e\n  \u003c/table\u003e\n\u003c/div\u003e\n\n\n\n## How it fits your stack\n\n```mermaid\nflowchart LR\n  You[Your system or browser]\n  App[Fatoore web app]\n  Cap[Capture service]\n\n  You --\u003e|GET /api/invoice| App\n  App --\u003e|private| Cap\n  Cap --\u003e App\n  App --\u003e You\n```\n\n- **You** send invoice data as URL query parameters (or use the UI).\n- The **web app** validates data and renders the invoice layout.\n- A **capture service** (separate deployment) screenshots that layout and returns PNG/PDF.\n\nFull diagrams and setup: **[doc/architecture.md](./doc/architecture.md)**\n\n## Requirements\n\n- **Node.js** 20+\n- **Firebase** project (Authentication + Firestore) for the signed-in web UI\n- **Capture service** for API export (headless Chromium; see [integration guide](./doc/integration-guide.md))\n\n### Environment (web app)\n\n```env\nNEXT_PUBLIC_FIREBASE_API_KEY=…\nNEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=…\nNEXT_PUBLIC_FIREBASE_PROJECT_ID=…\nNEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=…\nNEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID=…\nNEXT_PUBLIC_FIREBASE_APP_ID=…\n\n# API export (when using capture service)\nINVOICE_API_BASE_URL=https://your-public-app-url\nRENDER_SERVICE_URL=https://your-capture-service-url\nRENDER_SERVICE_API_KEY=shared-secret-with-capture-service\n```\n\n## Quick start\n\n```bash\nnpm install\nnpm run dev\n```\n\nOpen [http://localhost:3000](http://localhost:3000) — sign in, add a business profile, create an invoice, preview and export.\n\n**API playground:** [/developers/invoice-api](http://localhost:3000/developers/invoice-api)\n\n## Documentation\n\n| Doc | Description |\n|-----|-------------|\n| [doc/README.md](./doc/README.md) | Documentation index |\n| [doc/api-reference.md](./doc/api-reference.md) | Endpoints + **full query parameter table** |\n| [doc/branding-and-layout.md](./doc/branding-and-layout.md) | Logo, labels, fonts, colors, sizes |\n| [doc/architecture.md](./doc/architecture.md) | System communication (diagrams) |\n| [doc/integration-guide.md](./doc/integration-guide.md) | Production setup \u0026 best practices |\n\n## Logo \u0026 labels (short)\n\n| Concern | API / UI |\n|---------|----------|\n| Logo | `businessLogo` URL + `showLogo=true` |\n| Label language | `lang=en` \\| `ar` \\| `fr` |\n| Brand color | `color=default` \\| preset \\| `#hex`, optional `applyBorders=true` |\n| Layout size | `size=small` \\| `medium` \\| `large` (aliases `s`, `m`, `l`, …) |\n\nDetails: [doc/branding-and-layout.md](./doc/branding-and-layout.md)\n\n## License\n\nSee repository license file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiyehah%2Ffatoore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiyehah%2Ffatoore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiyehah%2Ffatoore/lists"}