{"id":14959476,"url":"https://github.com/streamlit/example-app-invoice-generator","last_synced_at":"2025-07-01T10:04:39.068Z","repository":{"id":74322165,"uuid":"475897546","full_name":"streamlit/example-app-invoice-generator","owner":"streamlit","description":null,"archived":false,"fork":false,"pushed_at":"2022-03-31T10:25:59.000Z","size":13,"stargazers_count":18,"open_issues_count":0,"forks_count":12,"subscribers_count":10,"default_branch":"main","last_synced_at":"2025-04-05T05:33:31.254Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/streamlit.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":"2022-03-30T13:43:49.000Z","updated_at":"2025-02-18T01:01:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"206be1bc-4fe5-4495-b68b-72dc13faa3f1","html_url":"https://github.com/streamlit/example-app-invoice-generator","commit_stats":{"total_commits":7,"total_committers":1,"mean_commits":7.0,"dds":0.0,"last_synced_commit":"67a605eea5db5c0f295b240b92d3783b0a507e4f"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/streamlit/example-app-invoice-generator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamlit%2Fexample-app-invoice-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamlit%2Fexample-app-invoice-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamlit%2Fexample-app-invoice-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamlit%2Fexample-app-invoice-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/streamlit","download_url":"https://codeload.github.com/streamlit/example-app-invoice-generator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamlit%2Fexample-app-invoice-generator/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262941542,"owners_count":23388148,"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":[],"created_at":"2024-09-24T13:19:48.400Z","updated_at":"2025-07-01T10:04:39.040Z","avatar_url":"https://github.com/streamlit.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 💰 Invoice Generator\n\nA Streamlit app to show how you can easily use Streamlit to generate invoices as PDFs.\n\n[![Streamlit App](https://static.streamlit.io/badges/streamlit_badge_black_white.svg)](https://share.streamlit.io/streamlit/example-app-invoice-generator/main)\n\n\u003ctable border=\"0\"\u003e\n    \u003ctr\u003e\n        \u003ctd\u003eApp screenshot\u003c/td\u003e\n        \u003ctd\u003eInvoice template\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd\u003e\u003cimg width=\"400\" alt=\"image\"\n                src=\"https://user-images.githubusercontent.com/7164864/160867685-b0992150-b194-4cf4-81af-62bbbf057dc3.png\"\u003e\n        \u003c/td\u003e\n        \u003ctd\u003e\u003cimg width=\"400\" alt=\"image\"\n                src=\"https://user-images.githubusercontent.com/7164864/160867815-a80fca43-7f1d-4f61-96ab-3cdf3eba4cfd.png\"\u003e\n        \u003c/td\u003e\n    \u003c/tr\u003e\n\u003c/table\u003e\n\n### How to run this demo\nThe demo has been deployed using Python 3.7. **We suggest creating a new virtual environment**, then running:\n\n```\ngit clone https://github.com/streamlit/example-app-invoice-generator.git\ncd example-app-invoice-generator\npip install -r requirements.txt\nstreamlit run streamlit_app.py\n```\n\n### About the app\n\n- Code is powered by \u003ca href=\"https://streamlit.io\"\u003e Streamlit\u003c/a\u003e 🎈 and deployed on [Streamlit Cloud](https://streamlit.io/cloud) ☁️\n- It is super compact: only 50 lines of code. Check it out in [`streamlit_app.py`](https://github.com/streamlit/example-app-invoice-generator/blob/main/streamlit_app.py)\n\n### About the template\n   \n- Template must be an HTML file with \u003ccode\u003e{{ my_variable }}\u003c/code\u003e variable placeholders as supported by [jinja](https://jinja.palletsprojects.com/en/3.1.x/). \n- Our example template here is [`invoice_template.html`](https://github.com/streamlit/example-app-invoice-generator/blob/main/invoice_template.html) and you can see placeholders e.g. [here](https://github.com/streamlit/example-app-invoice-generator/blob/main/invoice_template.html#L329).\n   \n🪄 Tip: if you're not an HTML expert (or if you're lazy, or both) just kick-off your template using Google Docs at \u003ca href=\"https://docs.new\"\u003edocs.new\u003c/a\u003e and then export it as HTML using \u003ckbd\u003eFile\u003c/kbd\u003e \u003e \u003ckbd\u003eDownload\u003c/kbd\u003e \u003e \u003ckbd\u003eWeb page (.html, zipped)\u003c/kbd\u003e. For example, this is our original \u003ca href=\"https://docs.google.com/document/d/1ekg49TXzQfolnEw-czBo7pDVmOTyAkr6EsKs-_h-kq0/edit\"\u003e template in Google Docs!\n\n### Questions? Comments?\n\nPlease ask in the [Streamlit community](https://discuss.streamlit.io).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstreamlit%2Fexample-app-invoice-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstreamlit%2Fexample-app-invoice-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstreamlit%2Fexample-app-invoice-generator/lists"}