{"id":21020166,"url":"https://github.com/jdennes/invoices","last_synced_at":"2025-05-15T07:33:55.355Z","repository":{"id":8665463,"uuid":"10321171","full_name":"jdennes/invoices","owner":"jdennes","description":":euro: Jekyll-based invoicing for me (and maybe you).","archived":false,"fork":false,"pushed_at":"2018-10-28T13:29:38.000Z","size":96,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-04-19T13:41:13.007Z","etag":null,"topics":["invoice","invoicing","jekyll","pdf","ruby"],"latest_commit_sha":null,"homepage":"","language":"CSS","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/jdennes.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}},"created_at":"2013-05-27T19:26:59.000Z","updated_at":"2021-08-09T16:49:01.000Z","dependencies_parsed_at":"2022-07-08T06:20:44.263Z","dependency_job_id":null,"html_url":"https://github.com/jdennes/invoices","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdennes%2Finvoices","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdennes%2Finvoices/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdennes%2Finvoices/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdennes%2Finvoices/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jdennes","download_url":"https://codeload.github.com/jdennes/invoices/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225335931,"owners_count":17458373,"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":["invoice","invoicing","jekyll","pdf","ruby"],"created_at":"2024-11-19T10:35:55.091Z","updated_at":"2024-11-19T10:35:55.555Z","avatar_url":"https://github.com/jdennes.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Invoices\n\nThis is a very quick Jekyll-based thing which allows me to do monthly invoicing by running `script/invoice`.\n\nTo use this yourself, fork and clone, then follow these instructions:\n\n1. Setup:\n\n  ```sh\n  $ script/setup\n  ```\n\n2. Create your own `_config.yml` file. This will contain sensitive information and is included in `.gitignore`, along with `_posts` and `pdfs`, where your invoices will exist.\n\n  ```sh\n  $ cp _config.yml.example _config.yml\n  ```\n\n  Edit your `_config.yml` file. Edit and add as many `invoice_line_items` as you like. The `invoice_currency`, `invoice_line_items`, and `invoice_payment_info` values are set for each invoice, so you can change them in future without old invoices being affected.\n\n3. Run the app:\n\n  ```sh\n  $ script/server\n  ```\n\n  That starts the app at [http://localhost:4000](http://localhost:4000). You shouldn't see any invoices there yet though.\n\n4. Generate an invoice:\n\n  Without any arguments, this creates you an invoice for the current month:\n\n  ```sh\n  $ script/invoice\n  \"Generated your monthly invoice.\"\n  \"Markdown file saved to: /Users/jdennes/projects/invoices/_posts/2015-01-31-invoice.markdown\"\n  \"PDF file saved to:      /Users/jdennes/projects/invoices/pdfs/2015-01-31-invoice.pdf\"\n  ```\n\n  You can also create an invoice for a specific date by passing the date as an argument to `script/invoice`:\n\n  ```sh\n  $ script/invoice 2018-08-20\n  \"Generated your monthly invoice.\"\n  \"Markdown file saved to: /Users/jdennes/projects/invoices/_posts/2018-08-20-invoice.markdown\"\n  \"PDF file saved to:      /Users/jdennes/projects/invoices/pdfs/2018-08-20-invoice.pdf\"\n  ```\n\n  If you visit [http://localhost:4000](http://localhost:4000) now, you'll see your generated invoice listed there. Click on the invoice to see it in full, including a link to the generated PDF file.\n\n  You'll find the PDF file of your invoice saved in the `pdfs` directory:\n\n  ```sh\n  $ open /Users/jdennes/projects/invoices/pdfs/2015-01-31-invoice.pdf\n  ```\n\nThat's it!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjdennes%2Finvoices","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjdennes%2Finvoices","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjdennes%2Finvoices/lists"}