{"id":49311897,"url":"https://github.com/drpedapati/csharp-pdf-filler","last_synced_at":"2026-04-26T13:04:46.716Z","repository":{"id":343151600,"uuid":"1175942954","full_name":"drpedapati/csharp-pdf-filler","owner":"drpedapati","description":"Syncfusion-free C#/.NET CLI for inspecting, schema-exporting, filling, and flattening AcroForm PDFs.","archived":false,"fork":false,"pushed_at":"2026-03-09T05:10:29.000Z","size":67918,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-09T09:38:39.796Z","etag":null,"topics":["acroform","cli","csharp","dotnet","form-filling","pdf","pdf-forms","pdfbox"],"latest_commit_sha":null,"homepage":"","language":"C#","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/drpedapati.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":"SUPPORT.md","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-03-08T11:56:50.000Z","updated_at":"2026-03-09T05:10:32.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/drpedapati/csharp-pdf-filler","commit_stats":null,"previous_names":["drpedapati/csharp-pdf-filler"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/drpedapati/csharp-pdf-filler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drpedapati%2Fcsharp-pdf-filler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drpedapati%2Fcsharp-pdf-filler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drpedapati%2Fcsharp-pdf-filler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drpedapati%2Fcsharp-pdf-filler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/drpedapati","download_url":"https://codeload.github.com/drpedapati/csharp-pdf-filler/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drpedapati%2Fcsharp-pdf-filler/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32297940,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T09:34:17.070Z","status":"ssl_error","status_checked_at":"2026-04-26T09:34:00.993Z","response_time":129,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["acroform","cli","csharp","dotnet","form-filling","pdf","pdf-forms","pdfbox"],"created_at":"2026-04-26T13:04:41.678Z","updated_at":"2026-04-26T13:04:46.684Z","avatar_url":"https://github.com/drpedapati.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pdf-form-filler\n\n`pdf-form-filler` is a Syncfusion-free CLI for inspecting, schema-exporting, filling, and optionally flattening true AcroForm PDFs.\n\nThis project is intentionally narrow. It is built for real AcroForm workflows where you want JSON in, a filled PDF out, and a predictable command-line surface you can automate.\n\nWhat it does well:\n- inspect whether a PDF is actually a supported AcroForm\n- export a stable schema for the detected fields\n- fill text, checkbox, combo, list, and radio fields from JSON\n- keep output editable by default so a human can review it\n- flatten only when you are ready to lock the form down\n\nWhat it does not promise:\n- full XFA support in the normal product path\n- OCR\n- signature authoring\n- general PDF editing outside the form workflow\n\n## Install\n\n### Homebrew\n\n```bash\nbrew tap drpedapati/tools\nbrew install pdf-form-filler\n```\n\n### Build from source\n\n```bash\ndotnet build PdfFormFiller.slnx -c Release\ndotnet publish src/PdfFormFiller.Cli/PdfFormFiller.Cli.csproj \\\n  -c Release \\\n  -r osx-arm64 \\\n  --self-contained false \\\n  -p:PublishSingleFile=true \\\n  -o ./artifacts/publish/osx-arm64\n\n./artifacts/publish/osx-arm64/pdf-form-filler --help\n```\n\n### Local .NET tool package\n\n```bash\ndotnet pack src/PdfFormFiller.Cli/PdfFormFiller.Cli.csproj -c Release -o ./artifacts/packages\ndotnet tool install --tool-path ./.tools/pdf-form-filler \\\n  --add-source ./artifacts/packages \\\n  pdf-form-filler\n\n./.tools/pdf-form-filler/pdf-form-filler --help\n```\n\n## Quick Start\n\nIf you cloned this repo, you can try the tool right now against a public court form that is already checked in here.\n\nInspect the sample form:\n\n```bash\npdf-form-filler inspect \\\n  --pdf fixtures/exploratory-downloads/legal/ao399-waiver-of-service.pdf \\\n  --json\n```\n\nExpected shape:\n\n```json\n{\n  \"FormType\": \"acroform\",\n  \"IsXfaForm\": false,\n  \"IsSupportedAcroForm\": true,\n  \"CanFillValues\": true,\n  \"SupportedFillableFieldCount\": 13,\n  \"ValidationMessage\": \"PDF contains a supported AcroForm.\"\n}\n```\n\nFill it with the included sample values:\n\n```bash\npdf-form-filler fill \\\n  --pdf fixtures/exploratory-downloads/legal/ao399-waiver-of-service.pdf \\\n  --values docs/examples/ao399-values.json \\\n  --out /tmp/ao399-filled.pdf \\\n  --json\n```\n\nExpected shape:\n\n```json\n{\n  \"FormType\": \"acroform\",\n  \"Flattened\": false,\n  \"AppliedFields\": 9,\n  \"SkippedFields\": [],\n  \"UnusedInputKeys\": []\n}\n```\n\nCheck the filled output:\n\n```bash\npdf-form-filler inspect --pdf /tmp/ao399-filled.pdf --json\n```\n\nThere is a fuller walkthrough, with exact sample JSON and an XFA rejection example, in [docs/QUICKSTART.md](docs/QUICKSTART.md).\n\n## Common Commands\n\n```bash\npdf-form-filler inspect --pdf form.pdf --json\npdf-form-filler schema --pdf form.pdf\npdf-form-filler fill --pdf form.pdf --values values.json --out filled.pdf --json\npdf-form-filler fill --pdf form.pdf --values values.json --out final.pdf --flatten\n```\n\nValues JSON usually looks like this:\n\n```json\n{\n  \"FieldName\": \"text value\",\n  \"CheckboxField\": true,\n  \"RadioField\": \"OptionValue\",\n  \"ListField\": [\"A\", \"B\"]\n}\n```\n\nTwo practical notes:\n- For combo and list fields, use the exact values shown in `schema` output under `Choices`.\n- `--flatten` is off by default. Leave the PDF editable while a human is reviewing it.\n\n## Behavior You Should Expect\n\n- non-form PDFs are rejected\n- XFA forms are rejected by default\n- `--license-key` is accepted for backward CLI compatibility, but it is a no-op in the new implementation\n- `--experimental-xfa` exists only for comparison and visual-review workflows; it is not the normal production path\n\nIf you want the user-facing command guide, see [docs/CLI.md](docs/CLI.md).\nIf you want the strict compatibility surface, see [docs/COMPATIBILITY_CONTRACT.md](docs/COMPATIBILITY_CONTRACT.md).\n\n## Status\n\n- Runtime dependency on Syncfusion is gone.\n- The replacement is validated against the frozen payer compatibility corpus and known-good reference fills.\n- Live old-vs-new regression tests are available when `SYNCFUSION_LICENSE_KEY` is set for the archived reference implementation.\n- Homebrew install is live through `drpedapati/tools`.\n\n## Development\n\nCore commands:\n\n```bash\ndotnet build PdfFormFiller.slnx\ndotnet test PdfFormFiller.slnx\ndotnet test PdfFormFiller.slnx -c Release --no-build\n```\n\nOptional live equivalence coverage:\n\n```bash\ndotnet test PdfFormFiller.slnx --filter FullyQualifiedName~CliEquivalenceTests\n```\n\nThat path requires `SYNCFUSION_LICENSE_KEY`, either in the environment or in a repo-local `.env.local`.\n\n## Repository Layout\n\n- [src/PdfFormFiller.Cli](src/PdfFormFiller.Cli)\n  production CLI implementation\n- [tests/PdfFormFiller.Cli.Tests](tests/PdfFormFiller.Cli.Tests)\n  fixture-backed regression and equivalence tests\n- [fixtures/README.md](fixtures/README.md)\n  frozen corpus, reference fills, and exploratory public forms\n- [docs/README.md](docs/README.md)\n  quickstart, CLI guide, release guide, and compatibility references\n- [reference-src/](reference-src)\n  vendored reference material only, not runtime code\n- [notes/](notes)\n  experimental and historical notes outside the production contract\n\n## Sensitive Data\n\nDo not open public issues with real patient, member, claims, or other regulated PDFs.\nUse sanitized samples or public forms only.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrpedapati%2Fcsharp-pdf-filler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrpedapati%2Fcsharp-pdf-filler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrpedapati%2Fcsharp-pdf-filler/lists"}