{"id":51539687,"url":"https://github.com/swargaraj/react-invoice","last_synced_at":"2026-07-09T12:30:55.359Z","repository":{"id":368188686,"uuid":"1283204014","full_name":"swargaraj/react-invoice","owner":"swargaraj","description":"React library for building clean invoices","archived":false,"fork":false,"pushed_at":"2026-07-08T18:46:49.000Z","size":930,"stargazers_count":1,"open_issues_count":9,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-07-08T20:14:54.041Z","etag":null,"topics":["invoice","react","react-invoice","react-pdf","tailwindcss"],"latest_commit_sha":null,"homepage":"https://react-invoice.swrg.dev","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/swargaraj.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-06-28T16:58:06.000Z","updated_at":"2026-07-05T16:02:18.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/swargaraj/react-invoice","commit_stats":null,"previous_names":["swargaraj/react-invoice"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/swargaraj/react-invoice","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swargaraj%2Freact-invoice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swargaraj%2Freact-invoice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swargaraj%2Freact-invoice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swargaraj%2Freact-invoice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/swargaraj","download_url":"https://codeload.github.com/swargaraj/react-invoice/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swargaraj%2Freact-invoice/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35299762,"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-07-09T02:00:07.329Z","response_time":57,"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":["invoice","react","react-invoice","react-pdf","tailwindcss"],"created_at":"2026-07-09T12:30:54.761Z","updated_at":"2026-07-09T12:30:55.350Z","avatar_url":"https://github.com/swargaraj.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React Invoice\n\nA lightweight React library for building invoices that render to both HTML and PDF from the same component tree.\n\n## Why?\n\nGenerating invoices often requires maintaining two separate implementations: one for the web and another for PDF generation. This duplication increases maintenance costs and makes it easy for the two versions to drift apart.\n\nReact Invoice provides a small set of React components that work in both environments. Build your invoice once with React and Tailwind CSS, render it in the browser for previews, and generate identical PDF output when needed.\n\n## Packages\n\nThis repository is a monorepo containing the following packages:\n\n| Package                  | Description                                 |\n| ------------------------ | ------------------------------------------- |\n| `packages/react-invoice` | The React Invoice library published to npm. |\n| `apps/docs`              | Documentation website.                      |\n\n## Documentation\n\nThe complete documentation is available at:\n\n**https://react-invoice.swrg.dev**\n\n## Tech Stack\n\n- Vite+\n- React\n- TypeScript\n- `@react-pdf/renderer`\n- `react-pdf-tailwind`\n- TailwindCSS\n- tsdown\n\n## Development\n\nClone the repository and install dependencies:\n\n```bash\ngit clone https://github.com/swargaraj/react-invoice.git\ncd react-invoice\nvp install\n```\n\nStart the playground site:\n\n```bash\npnpm dev\n```\n\nBuild all packages:\n\n```bash\nvp build\n```\n\nRun format and type checking:\n\n```bash\nvp check\n```\n\nRun linting:\n\n```bash\nvp lint\n```\n\n## Contributing\n\nContributions are welcome.\n\nIf you'd like to contribute, feel free to open an issue to discuss bugs, feature requests, or proposed changes. Pull requests for improvements, documentation updates, and new features are appreciated.\n\nPlease ensure changes are well tested and keep the documentation up to date when modifying the library.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswargaraj%2Freact-invoice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswargaraj%2Freact-invoice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswargaraj%2Freact-invoice/lists"}