{"id":17008783,"url":"https://github.com/i-e-b/form8sn","last_synced_at":"2026-06-06T15:02:26.571Z","repository":{"id":65219368,"uuid":"367331460","full_name":"i-e-b/Form8sn","owner":"i-e-b","description":"Generate PDF based templates, and fill them in from data objects","archived":false,"fork":false,"pushed_at":"2024-06-24T15:53:07.000Z","size":6111,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-02T21:11:15.361Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/i-e-b.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":"2021-05-14T10:43:43.000Z","updated_at":"2024-06-24T15:53:13.000Z","dependencies_parsed_at":"2023-01-15T15:30:37.543Z","dependency_job_id":null,"html_url":"https://github.com/i-e-b/Form8sn","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/i-e-b%2FForm8sn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/i-e-b%2FForm8sn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/i-e-b%2FForm8sn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/i-e-b%2FForm8sn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/i-e-b","download_url":"https://codeload.github.com/i-e-b/Form8sn/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239907219,"owners_count":19716583,"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-10-14T05:29:15.494Z","updated_at":"2026-03-25T13:30:18.274Z","avatar_url":"https://github.com/i-e-b.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Form8sn\nGenerate PDF based templates, and fill them in from data objects\n\nThe general plan:\n-----------------\n\n1. Someone with a form does a Print to PDF with all the spaces blank\n2. They get a data structure (schema) from another app or API\n3. Both the PDF and the data are loaded into the **Form8sn UI**, and they:\n   - Place boxes on the PDF page surfaces\n   - Add rules to partition the data and repeat PDF pages (plus running totals and the like)\n4. This is exported to a command file embedded in a modified version of the PDF\n5. A programmer can then pass the command file and data to the **Form8sn SDK** to get back a finished PDF\n\nThe PDF generation phase should be as fast as possible. If we can, it should be a streaming process so we\ndon't need to load the whole PDF template or output into memory.\n\nComponents\n==========\n\n* **PDFSharp** - A modified version of the main project (so I can add or specialise bits)\n* **PortableGdi** - A minimal version of `System.Drawing` to support PDFSharp. Based on GNU Portable.Net base libraries.\n* **BasicImageFormFiller** - GUI app to take scanned paper forms (in JPEG) and\n  fill them in from arbitrary data, based on examples.\n* **TestApp** - Console app scratch space\n* **PdfSharp.Charting** - Currently unused.\n* **Form8snCore** - File formats and filtering to produce PDFs from project files\n* **WebFormFiller** - .Net MVC website and JS app for editing Form8sn projects\n\nTo-do:\n------\n\n* [ ] Write some documentation\n* [x] Ensure the core PDFsharp and Form8snCore don't use GDI+ **(important)**\n  * [x] Portable system.drawing\n  * [x] JPEG reading and writing ( `Portable.Drawing.Imaging.ImageFormats.JpegReader.Load` )\n  * [x] Font reading \u0026 metrics ( `PdfSharp.Drawing.XFontSource.GetOrCreateFromFile` )\n  * [x] Remove defunct platform specific calls in PDFsharp.\n* [x] Handle PDFs as input\n* [x] Decode PDF forms so we can use existing 'boxes'\n* [ ] Embed Form8sn instructions in PDF files and handle those? *(not important)*\n* [x] Web-based form editor?\n* [ ] Full suite of tests\n\nUseful pointers\n---------------\n\nTo add new prefixes, see `Form8snCore.DataExtraction.MappingActions.GetDataAtPath` and `Form8snCore.HelpersAndConverters.DataPickerBuilder`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fi-e-b%2Fform8sn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fi-e-b%2Fform8sn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fi-e-b%2Fform8sn/lists"}